2
\$\begingroup\$

I'm trying to use the new Sprite Packer tool, but it doesn't work if I put the imagens inside Resouces folder, but inside any other folder it works.

is it a bug?

\$\endgroup\$

1 Answer 1

5
\$\begingroup\$

All files in the Resources folder exist in your built application (regardless of if they are used). This allows you to load them as needed with Resources.Load.

I believe Unity made the decision to prevent files in Resources being built into sprite-sheets because there would be two copies of the same sprite in the built app (which is wasteful).

This answer on the Unity forums uses the same explanation:

http://forum.unity3d.com/threads/248349-Unity-4-5-Sprite-Packer-does-not-pack-images-inside-Resources-folder

\$\endgroup\$
0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .