To enable URP compatibility, select the pipeline settings URPPipeline
Add the define symbol “UNITY_URP” in the Player Settings and press apply
Open one of the existing sample scenes with the URP suffix.
In your scenes, use the existing PreRenderedCamURP when setting up your cameras.
If you have your own URP pipeline and want to use realtime lighting, make sure you enable CastShadows for AdditionalLights