Search Issue Tracker
Active
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
- EditorGUILayout.PropertyField foldout icon inside Vertical Layout Group has an incorrect indent when used with OnInspectorGUI()
- [Android] [iOS] "NullReferenceException: Object reference not set to an instance of an object" throws when entering the Play Mode/opening the application
- The Player freezes on load when building Web platform
- Animator "Conditions" tab breaks when the only Parameter is deleted and another one is created
- "Shader error in 'Universal Render Pipeline/Lit': maximum ps_5_0 sampler register index (16) exceeded" error thrown after a build is completed when the "LOD Cross Fade" parameter is enabled
Add comment