Question: are unifi switches layer 3?
Answer: UniFi switches are mostly layer 2 only, meaning they can handle VLANs, but cannot act as a router. The only UniFi switches with L3 capability are the 2nd generation Pro models, which support static routing. All other UniFi switches will need a USG, UDM, UXG or some other router or firewall for L3 connectivity.