A:Answer The Nikon D5300 DSLR camera is fully compatible with Nikon AF-S lenses but requires an update to Firmware Version 1.01 for Nikon AF-P VR lenses to be fully compatible. This update adds an Optical VR option to the Nikon D5300 shooting menu when the AF-P lens is attached so that Vibration Reduction can be enabled or disabled as needed. Both of these lens types use technology that makes them well-matched contenders but the all new AF-P lens has an edge, as not only does it autofocus fast, but it is much quieter than the Nikon AF-S lenses, making it ideal for creating videos.