Search Issue Tracker
Fixed
Fixed in 2021.3.19f1, 2022.2.7f1, 2023.1.0b1
Votes
1
Found in
2021.3.13f1
2022.1.23f1
2022.2.0b16
2023.1.0a20
Issue ID
UUM-19898
Regression
Yes
Unity Editor crashes on ScriptableBatchRenderer::ApplyShaderPass after editing shaders and entering Play Mode
How to reproduce:
# Open the user attached “shaderlodbug2.zip”
# In the Assets > Shaders folder edit the N1, N2, U1, U2 shaders to make them recompile
# Enter Play Mode
# Click the High, Medium and Low buttons
# Observe the crash
Reproducible with: 2021.3.11f1, 2021.3.13f1, 2022.1.23f1, 2022.2.0b16, 2023.1.0a20
Not reproducible: 2020.3.42f1, 2021.3.10f1
Reproduced on: Windows 10 (Intel)
First lines of stack trace:
0x00007ff735253faa (Unity) ScriptableBatchRenderer::ApplyShaderPass
0x00007ff73526bb69 (Unity) ScriptableRenderLoopDrawSRPBatcher
0x00007ff73526be65 (Unity) ScriptableRenderLoopJob
0x00007ff735573303 (Unity) GfxDevice::ExecuteAsync
0x00007ff73581359c (Unity) GfxDeviceClient::ExecuteAsync
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
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
Resolution Note (fix version 2023.1.0b1):
SRP batcher was not handling UsePass and Fallback correctly in the Editor which could cause both Editor crashes and broken rendering.
Root cause found and fixed.