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
- [Quest] Pitch Shifter causes audio degradation on Quest 2 devices when sped up
- "GUI Error: Invalid GUILayout" and "NullReferenceException" are thrown when adding Scenes to "Scenes in Baking Set" in Adaptive Probe Volumes
- Inspector window not updating when switching GameObjects in Play Mode while having a VR headset connected
- "UnityException: GetName can only be called from the main thread." erors are thrown when the Shortcuts window is opened and entering Play Mode with a shortcut
- [Android] Light2D visuals stacking over frames when using RenderGraph
Add comment