Hi! Aren.
I updated NGUI 2.3.4 today.
But some unexpected errors occurred when synchronize.
** This worked well until NGUI 2.3.3c.
1. The following error added in 2.3.4
"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)"
- When scale was 0, the error above occurred.
- And especially, checkbox animation(NGUI is involving) is displaying error because it is scaling checkmark sprite from 0 to 1.
It can be reproduced in example Tutorial X - Video.unity
If you highly recommend not to set scale to 0, it might be better to update or remove checkbox animation. ^*^
2. In many cases mPanel is set to null, and finally occurred NullReferenceException.
in OnFill() in UISprite.cs, colF.a *= mPanel.alpha; occurred error because mPanel is null.
I made prefab for checkbox, and add it in runtime, but in that time such error occurred. (works well in 2.3.3c)
Would you help me how to fix it?
Thank you,
Adam.