Yes, shadows work fine with pbr materials. …In the same way as for standard materials. Shadows are produced by punctual lighting. Probably, your lighting setup is wrong (light falloff, etc). Light falloff is computed differently for pbr materials. Your setup for standard materials probably has no light attenuation. That is why you see shadows in legacy model. Try to increase the intensity of punctual lights.