Search Issue Tracker
Fixed in 13.1.5
Votes
0
Found in [Package]
14.0.1
Issue ID
1401864
Regression
No
[URP] NullReferenceException sometimes is thrown on domain reload due to _ScreenSpaceShadowmapTexture unset to global
How to reproduce:
1. Open a new URP project
2. Upgrade the project to a version supporting URP 13.1.5
Expected result: No error is thrown, the "_ScreenSpaceShadowmapTexture" RTHandle is set to global in the ScreenSpaceShadows script file
Actual result: Sometimes, "NullReferenceException: Object reference not set to an instance of an object". "_ScreenSpaceShadowmapTexture" RTHandle isn't set to global
Reproducible with: 7.7.1 (2019.4.36f1), 10.8.1 (2020.3.31f1), 12.1.6 (2021.2.16f1), 13.1.5 (2022.1.0b8), 14.0.1 (2022.2.0a8)
Not reproducible with: 13.1.5 (2022.1.0b9), 13.1.7 (2022.1.0b12)
Note: The script file is located in the "/Library/PackageCache/com.unity.render-pipelines.universal@13.1.5/Runtime/RendererFeatures/" directory
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (fix version 13.1.5):
Fixed in 13.1.5 (2022.1.0b9)