Downloaded samples, added project to unity hub, opened it up in 2019.4.1f1 LTS, opened a scene, got this error. This does happen in all scenes.
NullReferenceException: Object reference not set to an instance of an object
UnityEngine.Rendering.HighDefinition.StaticLightingSky.UpdateCurrentStaticLightingSky () (at Library/PackageCache/com.unity.render-pipelines.high-definition@7.3.1/Runtime/Sky/StaticLightingSky.cs:127)
UnityEngine.Rendering.HighDefinition.StaticLightingSky.OnEnable () (at Library/PackageCache/com.unity.render-pipelines.high-definition@7.3.1/Runtime/Sky/StaticLightingSky.cs:184)
I went digging into StaticLightingSky.cs and found this on line 126/127
var defaultVolume = HDRenderPipeline.GetOrCreateDefaultVolume();
defaultVolume.sharedProfile.TryGet(skyType, out SkySettings defaultSky);
It seems defaultVolume.sharedProfile is null.
Downloaded samples, added project to unity hub, opened it up in 2019.4.1f1 LTS, opened a scene, got this error. This does happen in all scenes.
I went digging into StaticLightingSky.cs and found this on line 126/127
It seems defaultVolume.sharedProfile is null.