Search Issue Tracker

Fixed

Fixed in 2022.3.20f1, 2023.2.13f1, 2023.3.0b7

Votes

0

Found in

2022.3.17f1

2023.2.6f1

2023.3.0b3

Issue ID

UUM-60383

Regression

No

Crash on RenderImageFilters when exiting Play Mode

--

-

Reproduction steps:
1. Open the attached “repro-project“
2. Open the “Assets/Scenes/Streets.unity“ scene
3. Enter Play Mode
4. Exit Play Mode
5. Observe the crash

Reproducible with: 2022.3.17f1, 2023.2.6f1, 2023.3.0b3
Could not test with: 2021.3.34f1 (could not downgrade the project)

Reproduced on: Windows 10
Not reproducible on: No other environment tested

Notes:
1. The issue does not reproduce consistently. If it does not occur after the first attempt, repeat steps 3-5
2. Clicking around the Scene View and the Editor increases the chances for the crash to occur
3. The following error is logged before the crash:
“[d3d11] attempting to ReadPixels outside of RenderTexture bounds! Reading (0, 0, 1693, 1069) from (206, 116)
Recursive initialization of the renderloop context. This will leak a lot of memory.“

First few lines of the stack trace:
0x00007FFAEFFEB7C7 (Unity) RenderImageFilters
0x00007FFAF220BE4D (Unity) Camera::RenderEditorCamera
0x00007FFAF220D2DE (Unity) Camera::RenderEditorCamera
0x00007FFAEFBDCE20 (Unity) Handles_CUSTOM_Internal_DrawCameraWithGrid
0x000001B6A058CDCE (Mono JIT Code) (wrapper managed-to-native) UnityEditor.Handles:Internal_DrawCameraWithGrid_Injected (intptr,UnityEditor.DrawCameraMode,UnityEditor.DrawGridParameters&,bool,bool)

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.