Search Issue Tracker
Active
Under Consideration for 2022.3.X, 6000.0.X, 6000.1.X, 6000.2.X
Votes
0
Found in
2022.3.59f1
6000.0.40f1
6000.1.0b8
6000.2.0a5
Issue ID
UUM-98161
Regression
No
Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
How to reproduce:
1. Open the attached “IN-94094.zip” project
2. Open the “SampleScene”
3. In the Hierarchy window, select the “Reflection Probe” GameObject
4. From the Inspector window, click on Bake in the Reflection Probe component
5. Enter Play Mode
6. Exit Play Mode
7. Observe the crash
Reproducible in: 2022.3.59f1 (see note), 6000.0.40f1, 6000.1.0b8, 6000.2.0a5
Reproducible on: Windows 11
Not reproducible on: No other environments tested
First few lines of stakctrace:
{noformat}0x00007FFDDA4D62AF (Unity) PPtr<Shader>::operator Shader * __ptr64
0x00007FFDDAA8DDAD (Unity) Material::SetKeyword
0x00007FFDDA8725BF (Unity) RenderingCommandBuffer::ExecuteCommandBufferWithState
0x00007FFDDA86EF3A (Unity) RenderingCommandBuffer::ExecuteCommandBuffer
0x00007FFDDA8F212C (Unity) ScriptableRenderContext::ExecuteScriptableRenderLoop
0x00007FFDD9F00C64 (Unity) ScriptableRenderContext_CUSTOM_Submit_Internal{noformat}
Notes:
- In 2022.3.59f1, instead of crashing the Console is spammed with InvalidOperationException and ArgumentNullException errors (memory leak)
- The crash may reproduce after steps 4, 5 or 6 as it is a bit inconsistent
- Reimporting “OutlineRenderPass.cs” stops errors from appearing
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Tooltip messages should be presented in human language not in code strings
- [Linux] Editor doesn’t auto reload when an Asset is imported or a Script is changed
- MouseDownEvent is triggered when changing from Scene view to Game view
- "GlobalObjectIdentifierToObjectSlow" returns Null when retrieving "GlobalObjectId" from GameObject inside a Prefab
- Shader is invisible in the Build when using BiRP on Meta Quest 2
Add comment