Search Issue Tracker
Fixed
Fixed in 2022.3.46f1, 6000.0.19f1, 7000.0.0a1
Votes
0
Found in
2022.3.44f1
6000.0.18f1
Issue ID
UUM-78922
Regression
Yes
Crash on CullingResults_CUSTOM_ComputeDirectionalShadowMatricesAndCullingPrimitives_Injected when disabling the "Directional Light" GameObject
Reproduction steps:
1. Open the attached “repro-project“
2. Open the “Assets/Scene/Scene2.unity“ scene
3. In the Hierarchy window find and select the “Directional Light“ GameObject
4. In the Inspector window disable it
5. Observe the crash
Reproducible with: 2022.2.0a16, 2022.3.44f1, 6000.0.18f1
Not reproducible with: 2021.3.43f1, 2022.2.0a15
Reproduced on: Windows 10, Windows 11 (by reporter)
Not reproducible on: No other environment tested
First few lines of the stack trace:
0x00007ff73f7957c3 (Unity) CullingResults_CUSTOM_ComputeDirectionalShadowMatricesAndCullingPrimitives_Injected
0x00000171abc23619 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Rendering.CullingResults:ComputeDirectionalShadowMatricesAndCullingPrimitives_Injected (intptr,int,int,int,UnityEngine.Vector3&,int,single,UnityEngine.Matrix4x4&,UnityEngine.Matrix4x4&,UnityEngine.Rendering.ShadowSplitData&)
0x00000171abc234fb (Mono JIT Code) UnityEngine.Rendering.CullingResults:ComputeDirectionalShadowMatricesAndCullingPrimitives (intptr,int,int,int,UnityEngine.Vector3,int,single,UnityEngine.Matrix4x4&,UnityEngine.Matrix4x4&,UnityEngine.Rendering.ShadowSplitData&)
0x00000171abc2344b (Mono JIT Code) UnityEngine.Rendering.CullingResults:ComputeDirectionalShadowMatricesAndCullingPrimitives (int,int,int,UnityEngine.Vector3,int,single,UnityEngine.Matrix4x4&,UnityEngine.Matrix4x4&,UnityEngine.Rendering.ShadowSplitData&)
0x00000171abc22c23 (Mono JIT Code) Shadows:RenderDirectionalShadows (int,int,int) (at C:/Users/agnietemargeviciute/Documents/UnityProjects/IN-82897_SRP/Assets/Script/Shadows.cs:149)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on RaiseException when creating a multiplayer room while toggling UI
- Performance Markers “Add Column” dropdown has a lot of empty space when opened
- Console Warning -- KeyboardIconAtlas sprite Input Outline goes beyond the boundary of the Sprite rect.
- Reflection Probe “Probe Scene Editing Mode:” text is barely visible
- [HDRP] Game view doesn’t refresh after changing Camera Background Type until mouse moves over it
Add comment