Search Issue Tracker
Fixed
Fixed in 2021.3.46f1, 2022.3.52f1, 6000.0.23f1, 7000.0.0a7
Votes
0
Found in
6000.0.6f1
Issue ID
UUM-73968
Regression
Yes
Crash on SerializedProperty_CUSTOM_SetStringValueInternal when setting SerializedProperty string value
Reproduction steps:
1. Open the attached project "CrashRepro"
2. Click on “Assets/IgnoreThis/V2_Test/TestScript1.asset“ to make it visible in the Inspector window
3. Open the “WINDOW“ window (Window > NAME > Script Editor)
4. Change “Text 2“, “Text 1“, and “Text 3“ values to “asd“ (can be anything)
5. If it doesn't crash repeat step 4 a few times
Expected result: “Text 2“, “Text 1“, and “Text 3“ values are changed
Actual result: Editor crashes
Reproducible with: 2022.3.13f1, 2022.3.31f1, 2023.1.0a18, 6000.0.6f1
Not reproducible with: 2021.3.39f1, 2022.3.6f1, 2023.1.0a17
Couldn’t test with: 2022.3.7f1-2022.3.12f1 (Missing default layout error when opening project)
Reproducible on: Windows 10
Not reproducible on: macOS Sonoma 14.5
Note: step 4 seems to crash more consistently when appending text instead of changing it
First few lines of stack trace:
{noformat}
0x00007FFA6254CA9C (Unity) SerializedProperty_CUSTOM_SetStringValueInternal
0x00000275CA4F0DD8 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.SerializedProperty:SetStringValueInternal_Injected (intptr,UnityEngine.Bindings.ManagedSpanWrapper&)
0x00000275CA4F0BEB (Mono JIT Code) UnityEditor.SerializedProperty:SetStringValueInternal (string)
0x00000275CA4F08B3 (Mono JIT Code) UnityEditor.SerializedProperty:set_stringValue (string){noformat}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Sprite Shape Corners and Edges are invisible when a closed Sprite Shape is used
- Script icon Gizmos cause lag/performance issues in Scene view even when the Scene Camera is not pointed at Gizmos
- Visual artifacts when the normal map is using mipmap and Bilinear filtering or Point filtering in URP Lit shader
- Crash on MonoBehaviour::VirtualRedirectTransfer when closing Editor after removing HDPR and importing Water Samples before
- Scene from a specific project is stuck loading in the Web Player with the "Uncaught (in promise) TypeError" error thrown in the browser console
Add comment