Search Issue Tracker
Fixed
Fixed in 2023.2.7f1, 2023.3.0b3
Votes
0
Found in
2023.2.4f1
2023.3.0a18
Issue ID
UUM-58299
Regression
Yes
Crash on TryToRegisterMonoScriptToHashMap when importing a specific .unitypackage
Reproduction steps:
1. Create a new project
2. Import the attached .unitypackage “ReproPackage”
Expected result: The package is imported
Actual result: The Editor crashes
Reproducible with: 2023.2.0a14, 2023.2.4f1, 2023.3.0a18
Not reproducible with: 2021.3.33f1, 2022.3.15f1, 2023.2.0a13
Reproducible on: macOS 14.1.1 (M1 Max), Windows 10
Not reproducible on: No other environment tested
First few lines of stack trace:
#0 0x000001052cdd84 in TryToRegisterMonoScriptToHashMap(core::hash_map<MonoScriptKey, PPtr<MonoScript>, core::hash<MonoScriptKey>, std::__1::equal_to<MonoScriptKey>>&, MonoScript*)
#1 0x000001052cdd0c in MonoScriptManager::UpdateMonoScriptHashMap()
#2 0x000001066f4e90 in ScriptingInitializer::FinalizeReload()
#3 0x0000010673a8cc in RefreshInternalV2(AssetDatabase::UpdateAssetOptions, ScanFilter const&, InternalRefreshFlagsV2)
#4 0x0000010671d5f4 in StopAssetImportingV2Internal(AssetDatabase::UpdateAssetOptions, InternalRefreshFlagsV2, ScanFilter const*, char const*)
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (fix version 2023.3.0b3):
Editor crash if a compilation error happened during import from code altering compilation assets during activate
Resolution Note (fix version 2023.2.7f1):
Editor crash if a compilation error happened during import from code altering compilation assets during activate