Hello,
I’ve completed my game and ready to publish it. My publishers (big publishers) are waiting the build to publish the game worldwide but i can’t finalize the build due to sprite packer crash.
I have over 8000 sprites in my project, full rect, divided in almost 50 tags and imported as advanced sprite and configured to obtain compressed atlas: DXT5 for PC/MAC and PVRTC RGBA 4 bits best for both iOS and Android, no mipmap, 0 extrude.
The project was made in unity 4.6.x, First i tried to pack sprites on a macbook pro, editor crashed.
Then i ported all the 16Gbytes project on PC (32 Gbytes ram) and also crashed.
In the editor.log it says to have a memory problem in Texture2D.cpp at line 411
I tried all woraround found in the forum, such as deleting Library folder, atlascache folder. But always same problems.
I’ve also submitted a couple of crash reports (but didn’t upload the project because of its size)
So i dediced to migrate the project to unity 5.2.1p2, if i click to pack inside editor unity crashes also. Sometims it does build, but it did not pack all the tags. In sprite packer i can only see half of the tags i created.
Looking at editor.log i’ve also seen that it shows all tags being processed but it also says:
Cannot load Atlas During Build/Enter Game. Missing File ?
UnityEditor.Sprites.Packer:RebuildAtlasCacheIfNeeded(BuildTarget, Boolean, Execution)
UnityEditor.Sprites.Packer:RebuildAtlasCacheIfNeeded(BuildTarget, Boolean) (at C:\buildslave\unity\build\artifacts\generated\common\editor\SpritePackerBindings.gen.cs:74)
UnityEditor.Sprites.PackerWindow:smile:oToolbarGUI() (at C:\buildslave\unity\build\Editor\Mono\Sprites\SpritePackerWindow.cs:133)
UnityEditor.Sprites.PackerWindow:OnGUI() (at C:\buildslave\unity\build\Editor\Mono\Sprites\SpritePackerWindow.cs:264)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[ ], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[ ], CultureInfo) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
System.Reflection.MethodBase:Invoke(Object, Object[ ]) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.HostView:Invoke(String, Object) (at C:\buildslave\unity\build\Editor\Mono\HostView.cs:187)
UnityEditor.HostView:Invoke(String) (at C:\buildslave\unity\build\Editor\Mono\HostView.cs:180)
UnityEditor.DockArea:OnGUI() (at C:\buildslave\unity\build\Editor\Mono\GUI\DockArea.cs:336)
[C:/buildslave/unity/build/Runtime/Graphics/SpriteFrame.cpp line 442]
(Filename: /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs Line: 222)
Please if anyone could help.