Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2020.3.X, 2021.1.X
Votes
0
Found in
2020.2.0a21
2020.3.1f1
2021.1
2021.2
Issue ID
1326188
Regression
Yes
[Gizmos] Crash in mac editor when WheelCollider has parent rigidbody with zero scale (crash when changing prefab scale to zero)
Reproduction steps:
1. Open the user's attached project
2. Select "Bike" prefab in the scene "NeonCity"
3. Set its scale's x value to 0
Expected result: Scale's x value is changed to 0
Actual result: Editor crashes
Reproducible with: 2020.2.0a21, 2020.3.4f1, 2021.1.2f1, 2021.2.0a12
Not reproducible with: 2018.4.34f1, 2019.4.24f1, 2020.2.0a20
Stack trace:
#0 0x007fff206732c4 in _platform_memmove$VARIANT$Haswell
#1 0x0000010bf1fdb1 in AddPrimitivesImpl(GfxPrimitiveType, int, unsigned char const*, GizmoRenderMode)
#2 0x0000010bf14ce1 in DrawWireDisk(Vector3f const&, Vector3f const&, float)
#3 0x0000010ca4435d in DrawPrimitiveColliderGizmo(Object&, int, void*, Texture2D*, RectT<float>)
#4 0x0000010bf1c918 in GizmoManager::DrawActiveGizmos(dynamic_array<GizmoManager::ActiveGizmo, 0ul>&)
#5 0x0000010bf1cd5d in GizmoManager::DrawGizmos(GizmoSubset)
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
- Crash on block_locate_free when rendering a specific scene
- A submenu disappears on MacOS when the MenuItem method argument "isVariableFunction" is set to "false" and priority argument is set to "-1"
- The Sprite Library Editor window has an incorrect order of Sprites when the Sprites are reordered and the order saved
- Tilemap Tiles do not get lit up unless the Light Range is greater than the distance between the position of the Tile before the transformation and the Light Source when the Tile is transformed with Tilemap.SetTransformMatrix method
- The Editor and "Reloading Domain" windows are frozen when entering Play Mode
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a16
Resolution Note (fix version 2021.1):
Fixed with 2021.1.7f1
Resolution Note (fix version 2020.3):
Fixed in 2020.3.8f1