Copyright © 2026 Unity Technologies
2022.2 release is out and we will offset support for tech stream 2022.1.
This issue is not a high user pain or regression. We will not backport the issue resolution to 2021. If you feel like this is a blocking issue for you project, please be welcome to add additional information so we can re-triage the issue and re-evaluate it's priority for a backport.
To reproduce:
1. Open the project “test_15862”
2. Enter Play mode
3. Click the button 'Set Cascade Border to 10'
4. Observe crash
Reproducible with: 2020.3.39f1, 2021.3.9f1, 2022.1.16f1, 2022.2.0a9
Not reproducible with: 2022.2.0a10, 2022.2.0b8, 2023.1.0a10
Reproduced on: macOS Monterey 12.5.1 (Intel), Windows 10
Note: It throws StackOverflowException instead of crashing on Windows
First few lines of the stack trace:
at UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset.set_cascadeBorder (single) [0x00001] in /Users/karolis.janusonis/Downloads/Test/Library/PackageCache/com.unity.render-pipelines.universal@12.1.7/Runtime/Data/UniversalRenderPipelineAsset.cs:870
<...>
at SetShadowCascadeBorder.SetCascadeBorder (single) [0x00001] in /Users/karolis.janusonis/Downloads/Test/Assets/Scripts/SetShadowCascadeBorder.cs:8
at UnityEngine.Events.InvokableCall{{1<single>.Invoke (single) [0x00010] in /Users/bokken/buildslave/unity/build/Runtime/Export/UnityEvent/UnityEvent.cs:219 at UnityEngine.Events.CachedInvokableCall}}1<single>.Invoke (object[]) [0x00001] in /Users/bokken/buildslave/unity/build/Runtime/Export/UnityEvent/UnityEvent.cs:357
at UnityEngine.Events.UnityEvent.Invoke () [0x00074] in /Users/bokken/buildslave/unity/build/Runtime/Export/UnityEvent/UnityEvent/UnityEvent_0.cs:70
Issues you vote on will appear here