Search Issue Tracker
Won't Fix
Votes
1
Found in
2022.3.7f1
Issue ID
UUM-47587
Regression
No
Crash on TypeTreeQueries::ReadStringFromBuffer when trying to recompile with an unassigned script in the Inspector window
Reproduction steps:
1. Open the attached project “CrashRepro“
2. Open any script
3. Open Level builder window if it is not open (Window > Search > New Window)
4. Click on “Assets/ISI Lab/LBS/Presets/Layers/Exterior Layer.asset“
5. Click “Set as Exterior“ button in the hierarchy window
6. Click “Add“ button in the Level Builder window
7. Add a line to the opened scripts and save it
8. Focus the Editor to recompile the scipts
Expected result: Scripts recompile
Actual result: Editor crashes
Reproducible with: 2022.3.7f1
Couldn’t test with: 2021.3.28f1, “error CS0246: The type or namespace name 'IntegerField' could not be found (are you missing a using directive or an assembly reference?)“, 2023.1.9f1, 2023.2.0b5 - Project window is broken (“Cannot initialize non-default texture with negative or zero width.“)
Reproducible on: Windows 11
Not reproducible on: No other environment tested
First few lines of stack trace:
{noformat}0x00007FF6B6861650 (Unity) TypeTreeQueries::ReadStringFromBuffer
0x00007FF6B685C4EB (Unity) TypeTreeQueries::GetFullTypeNameFromReferencedType
0x00007FF6B778566E (Unity) TypeTreeQueries::WalkReferenceRegistryInstances<SerializedManagedReferencesIndex>
0x00007FF6B778C70B (Unity) SerializedManagedReferencesIndex::GetReferencePositionFromOffsetInsideRegistry
0x00007FF6B77A869B (Unity) SerializedObject::GetEnumValues
0x00007FF6B77B2BD3 (Unity) SerializedProperty::IsEnum{noformat}
Comments (1)
-
Sprawl
Feb 14, 2024 16:37
Having this issue when selecting a prefab in Project View.
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
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
- Editor crashes on D3D12GetInterface when repeatedly enabling and disabling 256 text components
- Flickering bright white dots in the Scene when the Android Platform is selected and DX11 Graphics API is used with Iris(R) Xe Graphics GPU
- Inconsistent capitalization and misaligned text in multiple query blocks in Search window
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
Resolution Note:
Thank you for reporting a bug to Unity.
We have reviewed the issue carefully, and in this case, the team is unable to prioritize fixing this bug. There are a number of reasons we make this decision, including the impact and severity of the issue across our user and customer base, and the possibility that future plans may solve the problem in a different way, or that a workaround for the bug may be available.
Today we will be closing this case. Thank you again for taking the time to report this issue, and please let us know if there is anything else that changes the impact or severity of this issue.