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
- UI Builder can't set a background image to a sprite from a multi-sprite spritesheet in the Resources folder
- Light2D freeform does not render the internal part when rendered in certain shapes
- Using AddCopyPass causes an incorrect merging of passes.
- Negative Enum value is not pasted correctly when copying from another array
- Silent Crash when generating Lightmap UVs for a model with a large object scale
Add comment