Search Issue Tracker
Fixed
Fixed in 6000.0.63f1, 6000.3.0b11, 6000.4.0a5, 6000.5.0a1
Votes
0
Found in
6000.0.57f1
6000.2.4f1
6000.3.0b2
6000.4.0a1
6000.5.0a1
Issue ID
UUM-117563
Regression
No
Crash on PPtr<Shader>::operator Shader*() const when Calling Resources.UnloadUnusedAssets() in a specific project
How to reproduce:
1. Open the attached “CrashRepro“ project
2. Open the “Scriptable Sheets” window (Window>Scriptable Sheets)
3. Select “Alpha Merge“ in the Shader list (or any other Shader)
4. In the Inspector, press “Open in Shader Editor“
5. Close the “Shader Editor” window by pressing the “x“ button at the top left of the window (top right if Windows)
Reproducible with: 6000.0.57f1, 6000.2.4f1, 6000.3.0b2
Reproducible on: macOS 15.6.1 Sequoia (Intel), Windows 10 (by user)
Not reproducible on: No other environment tested
Note: if commenting out line 1057 in the “Assets/AmplifyShaderEditor/Plugins/Editor/Menu/AmplifyShaderEditorWindow.cs“ Script, the issue no longer reproduces
First few lines of the stack trace:
0x00007FFBA65575DF (Unity) PPtr<Shader>::operator Shader * __ptr64
0x00007FFBA6B09FAD (Unity) Material::GetShader
0x00007FFBA728F2CD (Unity) GUIStyle::RenderText
0x00007FFBA728BBE5 (Unity) GUIStyle::DrawContent
0x00007FFBA60F07E1 (Unity) GUIStyle_CUSTOM_Internal_DrawContent
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader Compiler IPC Exception and Editor Crash on AMD 9000-X3D CPU series
- Editor crashes in TextLib::FindIntersectingLink when hovering UITK Labels with <link> tags rendered via ATG
- Crash on mono_log_write_logfile when more than one copy of bee_backend is running
- NativeList<T>.ParallelWriter.AddNoResize() causes memory corruption when used in a [BurstCompile] IJobParallelFor on Web builds
- Realtime reflection probe changes light strength when removing light sources using URP WebGL
Resolution Note (fix version 6000.5.0a1):
Fixed null material pointer crash in IMGUI
Resolution Note (fix version 6000.4.0a5):
Fixed null material pointer crash in IMGUI
Resolution Note (fix version 6000.3.0b11):
Fixed null material pointer crash in IMGUI
Resolution Note (fix version 6000.0.63f1):
Fixed null material pointer crash in IMGUI