Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Tatanan on May 06, 2015, 01:38:39 PM

Title: Atlas sprites positions problem when sharing atlases
Post by: Tatanan on May 06, 2015, 01:38:39 PM
We are 2 on our team and share files throught Git.
I have edited an atlases and share it to my partner and positions are not maintained.
The atlas is correct (the images) but when selecting an sprite it shows a different sprite.

Which can be the problem?

I am using Windows and him Mac, but I guess this is not related.

If you need a screenshot or more information, please tell me.
Title: Re: Atlas sprites positions problem when sharing atlases
Post by: BeShifty on May 06, 2015, 01:41:38 PM
Make sure to run File/Save Project after rebaking your atlas before sending it, and send both the texture and prefab (and material if you changed PMA setting).
Title: Re: Atlas sprites positions problem when sharing atlases
Post by: ArenMook on May 07, 2015, 09:19:30 PM
You also need to make sure that you have visible meta-files, or git versioning wont work with Unity.
Title: Re: Atlas sprites positions problem when sharing atlases
Post by: Tatanan on May 08, 2015, 06:17:44 AM
BeShifty, you're right, but I already did that.

ArenMook, I didn't know that, so you have basically saved my life.
Title: Re: Atlas sprites positions problem when sharing atlases
Post by: Tatanan on May 08, 2015, 06:25:13 AM
ArenMook, I know how to make a single file to be shown (visible).
Is there any way to tell windows to automatically make visible every .meta file in windows 8?
I promise I have searched it on Google but I can't find it.
Title: Re: Atlas sprites positions problem when sharing atlases
Post by: Tatanan on May 08, 2015, 06:29:02 AM
Oh, by the way, I know how to make every hidden file visible and one single hidden file visible.
The doubt is about making ALL the .meta files but ONLY the .meta files visible.
Title: Re: Atlas sprites positions problem when sharing atlases
Post by: ArenMook on May 09, 2015, 04:17:49 AM
All my meta files are always visible. I don't think Unity hides them... I think you are misunderstanding me.

Edit -> Project Settings -> Editor, under Version Control choose "Visible Meta Files".
Title: Re: Atlas sprites positions problem when sharing atlases
Post by: Tatanan on May 12, 2015, 03:29:15 AM
Well, Unity was indeed hiding the meta files.
I did understand you.
Your "Edit -> Project Settings -> Editor, under Version Control choose "Visible Meta Files"" was perfect. I didn't know that option. I was trying the show the files throught Windows options or one by one, but know it's perfect.

Thank you.