Search Issue Tracker
Won't Fix
Unknown (hidden) 2021.3.X, 2022.2.X, 2023.1.X
Votes
0
Found in
2021.3.6f1
2022.2.0b1
2023.1.0a1
Issue ID
UUM-1550
Regression
Yes
[Rendering Debugger] Crash on ScriptableBatchRenderer::GenerateBuiltInCBuffer when switching Material Override to Albedo
Reproduction steps:
1. Create a new URP project
2. Open Window -> Analysis -> Rendering Debugger and change 'Material Override' to Albedo and then back to None
3. Open Edit -> Project Settings -> Player and change Graphics API to OpenGLCore
4. Restart the Editor
5. Repeat step 2
6. Open Edit -> Project Settings -> Player and change Graphics API back to Metal
7. Restart the Editor
8. Repeat step 2
Expected result: Material Override is changed
Actual result: The Editor crashes
Reproducible with: 13.0.0 (2022.1.0a12), 13.1.0 (2022.1.0a15)
Not reproducible with: 12.1.1 (2021.2.3f1)
Couldn't test with: 7.7.1 (2019.4.32f1), 10.7.0 (2020.3.23f1), 11.0.0 (2021.1.28f1) (No Rendering Debugger)
Note:
Reportedly, 'Null object is dereferenced in ScriptableBatchRenderer.cpp:1754 - "gpuProg" is null.' is thrown before the crash
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
- The Scrollbar becomes unusable when adding Elements to the List
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
Resolution Note:
Duplicate of https://fogbugz.unity3d.com/f/cases/1374226
Fixed by https://ono.unity3d.com/unity/unity/pull-request/136225/_/graphics/metal/fix-shader-bool-to-float-assignment in 2022.1.0a16