Author Topic: Scale of 0 is invalid! Zero cannot be divided by, which causes problems. Use a s  (Read 2873 times)

mindlube

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 46
    • View Profile
This new exception is very helpful, but your scene Example 6 triggers this because of how the checkmark is setup.

Scale of 0 is invalid! Zero cannot be divided by, which causes problems. Use a small value instead, such as 0.01
(0.0, 0.0, 0.0)
UnityEngine.Debug:LogError(Object, Object)
UIPanel:UpdateTransforms() (at Assets/NGUI/Scripts/UI/UIPanel.cs:746)
UIPanel:LateUpdate() (at Assets/NGUI/Scripts/UI/UIPanel.cs:957)

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
See, finding issues even in my own older UIs. :)