Search Issue Tracker
Active
Under Consideration for 2021.3.X
Votes
0
Found in
2021.3.40f1
Issue ID
UUM-75125
Regression
No
[2021.3 only] Crash on Transform_CUSTOM_set_localScale_Injected when opening a Prefab that contains a script calling set_LocalScale during serialization
Reproduction steps:
1. Open the attached “ReproProj” project
2. Open the “Assets/Game/Prefabs/House.prefab“ Prefab
Expected result: The Prefab Mode is opened
Actual result: The Editor crashes
Reproducible with: 2021.3.40f1, 2022.1.24f1
Not reproducible with: 2022.2.0a1, 2022.3.37f1, 6000.0.10f1
Reproducible on: Windows 10, macOS 14.5 (M1 Max)
Not reproducible on: No other environment tested
First few lines of the stack trace:
#0 0x00000100c69e2c in Transform::SetLocalScale(Vector3f const&)
#1 0x000001002f5000 in Transform_CUSTOM_set_localScale_Injected(ScriptingBackendNativeObjectPtrOpaque*, Vector3f const&)
#2 0x0000035d29b360 in (wrapper managed-to-native) UnityEngine.Transform:set_localScale_Injected (UnityEngine.Transform,UnityEngine.Vector3&) [{0x3405878f0} + 0x78] (0x35d29b2e8 0x35d29b3d0) [0x16b802a80 - Unity Child Domain]
#3 0x0000035d29b28c in UnityEngine.Transform:set_localScale (UnityEngine.Vector3) [{0x3405877e0} + 0x24] (0x35d29b268 0x35d29b298) [0x16b802a80 - Unity Child Domain]
#4 0x0000035d299e90 in HouseDimensions:SetDimensions ()
#5 0x0000035d299bdc in HouseDimensions:OnAfterDeserialize ()
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Compute Shader property not set error when entering play mode with path tracing and PBR sky
- "WebGL Publish" detects WebGL module and allows building when it is installed without restarting the project
- Editor is non-responsive and flickers when multiple Water System instances are enabled
- Texture2D.PackTextures causes mips 7-9 to turn pink when packed textures are of ASTC 4x4 compression
- "OnApplicationQuit" is called when "Application.wantsToQuit" returns false
Add comment