Search Issue Tracker

Fixed

Fixed in 2022.2.0a10

Votes

0

Found in

2020.3.39f1

2021.3.9f1

2022.1.16f1

2022.2.0a9

Issue ID

UUM-15273

Regression

No

Editor crashes when setting UniversalRenderPipelineAsset.cascadeBorder via code

--

-

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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.