Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: AngryGerman on August 19, 2014, 08:40:19 PM

Title: ScrollView's dynamic entries are reversed on mobile device
Post by: AngryGerman on August 19, 2014, 08:40:19 PM
I ran into a strange issue (twice now) where I populate a scrollview with dynamic entries at runtime. It all looks good in the editor but once I run the game on a mobile device, the entries are reversed in order.

Just to test I reversed the list before I populate the grid (scrollview) and again the entries are in reverse order on the mobile device.

I use dynamic entries for scrollviews all over our game but only ran into the reversing issue twice thus far. Any ideas what I might be missing here?

Just FYI: "sorted" is not checked on the grid

thx
Title: Re: ScrollView's dynamic entries are reversed on mobile device
Post by: ArenMook on August 20, 2014, 03:19:18 PM
You can't rely on the order of objects in the hierarchy unless you sort them by enabling sorting in the UIGrid.

Different platforms = different order. It's a known issue in Unity.