Search Issue Tracker
Fixed
Fixed in 6000.1.3f1, 6000.2.0b1
Votes
0
Found in
2022.3.59f1
6000.0.40f1
6000.1.0b8
6000.2.0a5
7000.0.0a26
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
- Particle System Renderer icon is missing in Animation window > Add Property context menu
- [Android] Legacy, TMP and UI Toolkit Input Field language toggle to some non-latin alphabet languages does not work with external keyboard
- Crash on keywords::LocalKeywordState::operator when calling ShaderUtil.GetPasskeywords with ShaderType.RayTracing set as the third parameter
- Inconsistent “Remove property” behavior when removing child properties in Animator window
- Scene View Camera overlay preview goes out of Scene View bounds when the Scene View is resized vertically
Add comment