Search Issue Tracker

Fixed in 2021.2.X

Fixed in 2020.3.X, 2021.1.X



Found in





Issue ID




[Gizmos] Crash in mac editor when WheelCollider has parent rigidbody with zero scale (crash when changing prefab scale to zero)

Scene/Game View


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)

  1. Response avatar

    Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0a16

  2. Response avatar

    Resolution Note (fix version 2021.1):

    Fixed with 2021.1.7f1

  3. Response avatar

    Resolution Note (fix version 2020.3):

    Fixed in 2020.3.8f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.