Search Issue Tracker
Fixed
Fixed in 2021.3.35f1, 2022.3.20f1, 2023.2.5f1, 2023.3.0a13, 7000.0.0a1
Votes
0
Found in
2022.3.5f1
Issue ID
UUM-44179
Regression
Yes
[Linux] Crash on PreviewTextureManager::IntegrateLoadedPreviewToMainThread when assigning a material to Mesh Renderer
Reproduction steps:
1. Open the attached “CrashRepro” project
2. Open the “Assets/Scenes/MainScene.unity“ scene
3. In the Hierarchy view, select the “Shaft“ GameObject
4. In the Inspector, in the Mesh Renderer Component, make the list empty, if it isn’t
5. Add a Material to the Mesh Renderer Component, but don’t assign anything to it
6. Enter the Play Mode
7. Click the added “Element 0” material, so that you can assign a material to it
Expected result: Material assign window shows up
Actual result: Unity Editor crashes
Reproducible with: 2022.2.0b10, 2022.3.7f1
Not reproducible with: 2021.3.29f1, 2022.2.0b9, 2023.1.6f1, 2023.2.0b2
Reproducible on: Ubuntu 23.04, Ubuntu 22.04.2
Not reproducible on: Windows 10 Pro 22H2
First lines of the stack trace:
#0 0x0055a8f763a20c in burst_signal_handler(int, siginfo_t*, void*)
#1 0x007f16d6442520 in __sigaction
#2 0x0055a8f8fd6350 in core::hash_map<PreviewTextureManager::PreviewKey, PreviewTextureManager::PreviewImage, PreviewTextureManager::PreviewKeyHasher, std::equal_to<PreviewTextureManager::PreviewKey> >::operator[](PreviewTextureManager::PreviewKey const&)
#3 0x0055a8f8fd6c0d in PreviewTextureManager::IntegrateLoadedPreviewToMainThread()
#4 0x0055a8f8fd6808 in PreviewTextureManager::GetPreview(PreviewTextureManager::PreviewKey)
#5 0x0055a8f8fd69c9 in PreviewTextureManager::GetPreview(int)
#6 0x0055a8f70b8474 in AssetPreview_CUSTOM_GetAssetPreview(int, int)
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
- Tile Palette Edit mode turns off in Play Mode
- The Editor crashes when Generating Font Atlas in the Font Asset Creator with “9999999999” padding and 256x256 Atlas Resolution
- [iOS] An “ArgumentNullException” error is thrown when GetIntroductoryPriceDictionary() method is called
- Memory leak warnings are constantly thrown when Generating Font Atlas in Font Asset Creator with 4096x8192 Atlas Resolution
- “Glyph rendering has been aborted due to sampling point size” Log is printed and Font Atlas is not generated when Atlas Resolution is 8192x8192, and the Render Mode is SDF
Resolution Note (fix version 2023.3.0a13):
Prevent crash in PreviewTextureManager when changing materials while play-mode is active.