Search Issue Tracker
Active
Votes
1
Found in
6000.0.60f1
6000.2.8f1
6000.3.0b7
6000.4.0a3
Issue ID
UUM-122547
Regression
No
Editor crash on "PPtr<Shader>::operator Shader*() const" when checking in changes with a very long comment in Unity Version Control window
Steps to reproduce:
- Create a new Unity project using the Universal 3D template
- Open Unity Version Control window (Window > Version Control > Unity Version Control)
- Create a new workspace
- Enter a very long comment in Pending changes and press "Check in"
- Keep changing tabs between Pending changes and Changesets
Actual results: Editor crashes
Expected results: There is a limit of characters in the comment or simply the Editor does not crash
Reproducible with versions: 6000.0.60f1, 6000.2.8f1, 6000.3.0b7, 6000.4.0a3
Tested on (OS): MacOS Silicon Sequoia 15.6.1
Notes:
- Sometimes need to click on the Project Browser and create any new file and switch back to Unity Version Control window
- The crash is consistent and can be reproduce 100% of the time
Few lines of stacktrace:
#0 0x000001010b60a4 in PPtr<Shader>::operator Shader() const
#1 0x000001016f8074 in Material::GetShader()
#2 0x00000101db65b0 in GUIStyle::RenderText(RectT<float> const&, ColorRGBAf, TextRendering::TextCoreGeneratorGroup, Vector2f) const
#3 0x00000101db77f0 in GUIStyle::DrawContent(RectT<float> const&, ScriptingObjectPtr, bool, bool, bool, bool, bool, bool, Vector2f, Vector2f, ColorRGBAf const&, ColorRGBAf const&, ColorRGBAf, float, float, float, float, bool, bool)
#4 0x00000100e8b7b8 in GUIStyle_CUSTOM_Internal_DrawContent(void, RectT<float> const&, ScriptingBackendNativeObjectPtrOpaque*, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, Vector2f const&, Vector2f const&, ColorRGBAf const&, ColorRGBAf const&, ColorRGBAf const&, float, float, float, float, unsigned char, unsigned char)
#5 0x00000394fa3084 in (wrapper managed-to-native) UnityEngine.GUIStyle:Internal_DrawContent_Injected (intptr,UnityEngine.Rect&,UnityEngine.GUIContent,bool,bool,bool,bool,bool,bool,UnityEngine.Vector2&,UnityEngine.Vector2&,UnityEngine.Color&,UnityEngine.Color&,UnityEngine.Color&,single,single,single,single,bool,bool) [\{0x390417da8} + 0x12c] (0x394fa2f58 0x394fa30dc) [0x13fe02a80 - Unity Child Domain]
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Baking ReferencedPrefabAuthoring!” errors are thrown when creating or deleting unrelated GameObjects in a SubScene that references prefabs
- Cannot scroll down to see all UI Builder Inspector items after content is resized
- Crash on SceneTracker::SetObjectDirty when entering Play mode on a project with specific Assets
- UI Toolkit's TextInput element does not inherit layout parameters from the TextField element when TextField.multiline is true
- The TileMap grid in the Tile Palette is not visible when Screen Space Ambient Occlusion is enabled
Add comment