2D Toolkit Forum

2D Toolkit => Support => Topic started by: Mikael1987 on June 20, 2013, 08:54:17 pm

Title: All textures dissappear after upgrading to 2.0[SOLVED]
Post by: Mikael1987 on June 20, 2013, 08:54:17 pm
Before:
(http://img5.imageshack.us/img5/6351/5c7n.png) (http://imageshack.us/photo/my-images/5/5c7n.png/)

Uploaded with ImageShack.us (http://imageshack.us)
After:
(http://img22.imageshack.us/img22/1289/0p.png) (http://imageshack.us/photo/my-images/22/0p.png/)

Uploaded with ImageShack.us (http://imageshack.us)

So whats happening? :(,the only errors or warning I get in the console are about the flip.x and flip.y functions.

EDIT: I did the integrity checker(success) and followed all the steps(new scene,umcompress,restart etc)
Title: Re: All textures dissappear after upgrading to 2.0
Post by: unikronsoftware on June 20, 2013, 09:32:03 pm
What happens when you press play?
Are there any hidden error messages in the log? Have any been scrolled away?
Title: Re: All textures dissappear after upgrading to 2.0
Post by: Mikael1987 on June 20, 2013, 10:04:14 pm
Im an absolute and utter tard lol..I didn't even try to fix the flip error and pressing play before asking for help,it actually took me more time to take screenshots and ask here than fixing it,and yes you are right,after fixing it and pressing play everything appearead and stayed in screen. Thanks for the fast reply!(sorry for asking before trying to fix it,too tired today,I guess I just wanted a fast solution without thinking,wont happen again! )
Title: Re: All textures dissappear after upgrading to 2.0[SOLVED]
Post by: unikronsoftware on June 20, 2013, 10:13:17 pm
Glad its fixed :)
Title: Re: All textures dissappear after upgrading to 2.0[SOLVED]
Post by: xhidnoda on June 22, 2013, 06:02:50 pm
Hi!
the problem continue for me...

Title: Re: All textures dissappear after upgrading to 2.0[SOLVED]
Post by: unikronsoftware on June 22, 2013, 07:31:07 pm
This is a completely different problem. What errors do you have in the console window, if any? What is the pink object? Looks like the shader is not working on it.
Title: Re: All textures dissappear after upgrading to 2.0[SOLVED]
Post by: xhidnoda on June 22, 2013, 07:52:30 pm
nop...no error log appear.
see the Tk 2d Sprite (script)? that is the problem.
Title: Re: All textures dissappear after upgrading to 2.0[SOLVED]
Post by: unikronsoftware on June 22, 2013, 08:29:31 pm
Did you run the integrity checker before updating as described here?
http://unikronsoftware.com/2dtoolkit/doc/2.00/migration_guide.html

It looks like the metadata on your project could be broken. Importing it has probably fixed the metadata, and now you will have to fix it up again.
Title: Re: All textures dissappear after upgrading to 2.0[SOLVED]
Post by: xhidnoda on June 22, 2013, 09:36:17 pm
Cant import 2D toolkit! o dont not why!!! apper error!
Title: Re: All textures dissappear after upgrading to 2.0[SOLVED]
Post by: unikronsoftware on June 22, 2013, 09:55:10 pm
What error?
Title: Re: All textures dissappear after upgrading to 2.0[SOLVED]
Post by: xhidnoda on June 22, 2013, 10:03:58 pm
Unity crash...totally
Now for the god of me, i start a new project, and just copy the code.....so the problem here is when update 2D toolkit 1.9 to 2.0
Thanks!
Title: Re: All textures dissappear after upgrading to 2.0[SOLVED]
Post by: unikronsoftware on June 22, 2013, 10:19:49 pm
Don't "just copy the code"... Always import unitypackages. If you copy code from one project to another you'll end up with broken references, and you won't be able to update again....

Also turn on meta files.
http://docs.unity3d.com/Documentation/Manual/ExternalVersionControlSystemSupport.html