2D Toolkit Forum

2D Toolkit => Support => Topic started by: cs3d on July 06, 2012, 01:56:38 am

Title: Unity freezes in commit
Post by: cs3d on July 06, 2012, 01:56:38 am
Hi all !
Today I bought the 2Dtoolkit  . I m on windows 7  64bits, Unity 3.5.3f3.
Hardware : core i7 6gb ram, video card nvidia gforce 300m

I imported the tool to my project  and drag some textures to collection editor to test de tool .
Then when I commit   all Unity freezes  the I have to kill unity in task manager of windows .

Can you help me please ?
Thank you !
Title: Re: Unity freezes in commit
Post by: unikronsoftware on July 06, 2012, 08:04:37 am
Hi,

1. How many textures are you dragging in and how big are they?

2. Have you tried simply re-committing the demo collections? Does that work?
Title: Re: Unity freezes in commit
Post by: cs3d on July 06, 2012, 01:23:20 pm
Hi !
Yesterday I imported in a empty project .  The tool work with 4 textures that I m using in my game , but when I imported in my game project the same textures  freezes Unity when I click commit.

I dont remember the size of the texures now. One doubt is ,  the size of texture used for the 2DToolkit is the original size of the texture or the size that I modified  in texture configuration  in Unity ?

I can only  do more tests this weekend  then I can post more detail about the problem to you.
Thank you !
Title: Re: Unity freezes in commit
Post by: unikronsoftware on July 06, 2012, 08:06:46 pm
It will use the full texture size. 2D Toolkit will override the value, which is necessary when importing large textures...
Title: Re: Unity freezes in commit
Post by: cs3d on July 09, 2012, 06:50:16 pm
Ok!
  The problem was the texture size . The original size was very big then I was reducing  unsing the unity inspector .    So 2DTK dont use theses altered values freezing unity when trying to use the very large texures.

Now I resized these textures and is working well .
Thank you !