Search Issue Tracker
Fixed in 2023.2.0b17
Fixed in 2023.2.X, 2023.3.X, 2023.3.0a12
Votes
0
Found in
2023.1.17f1
2023.2.0b14
2023.3.0a10
Issue ID
UUM-53663
Regression
Yes
Crash on Material::GetShader when the cache is pointing to an invalid material after domain reload
The text cache cleanup was tied to the GFXDevice cleanup, executing every domain reload. This behavior was modified at some point, resulting in the GFXDevice cleanup no longer being called automatically. Despite this change, the text cache still requires cleanup. Failure to do so leads to invalid material references post-domain reload.
Reproducible with: 2023.1.17f1, 2023.2.0b14, 2023.3.0a10
Not reproducible with: 2021.3.31f1, 2022.3.11f1
Reproduced on: Windows 10 (by reporters), Windows 11 (by reporters), macOS 13.5.2 (M1) (by reporters)
Not reproducible on: No other environment tested
Note: Users have reported this issue manifesting when performing various steps
First few lines of the stack trace:
0x00007FFC0396116C (Unity) PPtr<Shader>::operator Shader * __ptr64
0x00007FFC03E3E40D (Unity) Material::GetShader
0x00007FFC0474F9FD (Unity) GUIStyle::RenderText
0x00007FFC0474C1F4 (Unity) GUIStyle::DrawContent
0x00007FFC034CE970 (Unity) GUIStyle_CUSTOM_Internal_DrawContent_Injected
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
- Spring Joint shows only one anchor gizmo in Scene view when "Auto Configure Connected Anchor" is enabled
- Crash on _platform_memmove after entering large value in Graphics settings Preloaded Shaders field
- Disproportionally large impact on CPU frame time when writing to a rendering entity's LocalToWorld
- "Constant Force" Component numeric fields drift out of view while entering a really big value in the Inspector
- Scene view camera speed pop-up appears empty or cut off when Scene view is very narrow
Resolution Note (fix version 2023.3):
Fixes a memory corruption occurring with IMGUI Text.