File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
com.unity.render-pipelines.high-definition
Runtime/RenderPipeline/XR Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -532,6 +532,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
532532- Fixed culling of planar reflection probes that change position (case 1218651)
533533- Fixed null reference when processing lightprobe (case 1235285)
534534- Fix issue causing wrong planar reflection rendering when more than one camera is present.
535+ - Fix black screen in XR when HDRP package is present but not used.
535536
536537### Changed
537538- Color buffer pyramid is not allocated anymore if neither refraction nor distortion are enabled
Original file line number Diff line number Diff line change @@ -73,6 +73,8 @@ internal XRSystem(RenderPipelineResources.ShaderResources shaders)
7373 [ RuntimeInitializeOnLoadMethod ( RuntimeInitializeLoadType . BeforeSplashScreen ) ]
7474 internal static void XRSystemInit ( )
7575 {
76+ if ( GraphicsSettings . currentRenderPipeline == null )
77+ return ;
7678
7779 #if UNITY_2020_2_OR_NEWER
7880 SubsystemManager . GetSubsystems ( displayList ) ;
You can’t perform that action at this time.
0 commit comments