Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Isamson on October 22, 2013, 03:23:56 PM

Title: UISprite Dimension Set to 1,1 After Updgrade
Post by: Isamson on October 22, 2013, 03:23:56 PM
Hi, I've just upgraded my project to NGUI 3.0.2.

I have followed the video for the upgrade and everything went smoothly except that all my UISprites have a 1x1 dimension. I wonder what I did anything wrong and if there is a fix for this?

Any help?
Title: Re: UISprite Dimension Set to 1,1 After Updgrade
Post by: ArenMook on October 22, 2013, 07:33:21 PM
Transform scale should get set to (1, 1, 1), but Width and Height should be set to some higher value instead. For example if transform was 300, 200, 1, then you will end up with 1, 1, 1 for transform, 300 for width, and 200 for height.

Make sure to enable all your widgets at least once so that the upgrade process takes place. Disabled game objects and non-instantiated prefabs do not get updated. Just follow the upgrade video.
Title: Re: UISprite Dimension Set to 1,1 After Updgrade
Post by: Isamson on October 23, 2013, 09:34:01 AM
Thanks for the feedback. It seems that I did the update with the scene opened which corrupted the whole ui. All the sprites are good now.