Search Issue Tracker
Fixed
Fixed in 6000.2.0a6
Votes
0
Found in
6000.0.36f1
6000.1.0b3
6000.2.0a1
Issue ID
UUM-95549
Regression
No
Crash on TypeTreeIterator::Children() when renaming a corrupted asset while Asset Serialization is set to Mixed
Reproduction steps:
1. Open the attached project ("UpdatedRepro")
2. Go to Project Settings -> Editor
3. Make sure that Asset Serialization Mode is set to "Mixed"
4. In the project Assets, select the "a123" Asset
5. If the Editor doesn't crash after step 4, "rename the asset to "a123a"
6. If the Editor still doesn't crash, rename the asset to "a123aa"
Expected result: The Asset gets renamed
Actual result: The Editor crashes
Reproducible with: 2022.2.0a5, 2023.1.0a5, 6000.0.36f1, 6000.1.0b4, 6000.2.0a1
Not reproducible with: 2022.3.57f1
Couldn't test with: 2022.2.0a4 (Unrelated crash on project open), 2023.1.0a1, 2023.1.0a4
Reproducible on: Windows 10 (User), macOS 15.1.1 (Intel)
Not reproducible on: No other environment tested
Stacktrace:
#0 0x00000102f220c8 in TypeTreeIterator::Children() const
#1 0x00000102f5bced in TypeTreeQueries::HasManagedReferences(TypeTree const&)
#2 0x00000104129cd0 in ResizeArrayGeneric(TypeTreeIterator const&, core::vector<unsigned char, core::allocator<unsigned char, 0ul>>&, int, int, bool, SerializedManagedReferencesIndex, TypeTree const)
#3 0x00000104129bb3 in SetStringValue(TypeTreeIterator const&, core::vector<unsigned char, core::allocator<unsigned char, 0ul>>&, int, core::basic_string<char, core::StringStorageDefault<char>> const&, SerializedManagedReferencesIndex, TypeTree const)
#4 0x000001045d896f in PatchNameInBinaryObjectData(core::basic_string_ref<char>, SerializedFile::ObjectData&)
Note:
Using the "UpdatedRepro" project, the issue reproduces all the way down to 2023.1.0a5. It also freezes on 2023.1.0a1-a4 when trying to rename the asset
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
- [Linux] Screen.SetResolution immediately applies windowed resolution when switching from Fullscreen to Windowed mode
- Lighting window allows non-cube map texture for Environment Reflections, throwing invalid texture type (2D) error
- Console warning “MismatchingRepositoryProjectMessage” when creating a new Unity Version Control workspace
- [Ubuntu] VFX Graph Enum Value menu stretches across screen when entered long Enum Value
- Unclear warning message in Rendering Debugger about the Play mode Debugger Overlay
Resolution Note (fix version 6000.2.0a6):
Fixed in 6000.2.0a6