3

My game has 1000+ frames and format of sprites is Crunch because of too many sprites in this project.

when I want to switch it from windows to android it takes me almost 1 day to switch (actually I don't permit it to switch completely) but switching to windows is not that much, maybe just 15 minuets.

Just I want to know is it sensible or not ? and if it doesn't, is there any solution ?

ATHellboy
  • 704
  • 3
  • 15
  • 30
  • They really need to put a warning, and say this will take a LONG LONG time, are you sure? Perhaps you wish to export a package and do it from a fresh project which will be quicker? ETC. Im sitting now for 19 hrs waiting, from one mouse click! – 68060 Sep 11 '17 at 19:37

2 Answers2

1

I have my projects in a version control system (like SVN or Git) and have a checkout per build platform.

In your case you would check them out into two folders:

  • YourGame_Windows
  • YourGame_Android

Your synchronize both folders by commiting and updating with your version control system.

JeanLuc
  • 4,783
  • 1
  • 33
  • 47
  • I used something near this solution but for a first time, It takes me too much time for importing sprites. I want to know is it normal ? – ATHellboy Jan 29 '16 at 17:48
  • yes it is normal. compressing textures takes a lot of time, because they are compressed in expensive ways so that the GPU can read it very fast without decompressing it fully. – JeanLuc Feb 01 '16 at 10:13
0

There are few solutions. Here I will point only 4 of them

  1. (IMHO the best option) Fast Platform Switch plugin

  2. Writing your own importing assets scripts (http://docs.unity3d.com/ScriptReference/AssetPostprocessor.html).

  3. You can boost speed of importing with switching off compresion of textures/images (Compress Assets on Import in Preferences):

enter image description here

  1. You can boost speed by making sprite packer be enabled only when you make build, or disbale it:

enter image description here

Jerry Switalski
  • 2,690
  • 1
  • 18
  • 36
  • Actually for a first point I have a solution so I don't need to use that plugin, and my main question is about first time switching so it doesn't help me anymore.I don't understand second point if it is possible give me more information about it.The forth one is just for sprite sheet so it doesn't related to my question. – ATHellboy Jan 29 '16 at 17:42
  • The third one is good for switching but when I want to build the game It starts to compress the sprites so nothing change. – ATHellboy Jan 29 '16 at 17:46