Cannot load Atlas During Build/Enter Game. Missing File ?

I added some new sprites, gave them all the same packing tag and when i run the build or click on the “pack” button in sprite packer, i get this error

"
Cannot load Atlas During Build/Enter Game. Missing File ?
"

the sprite packer doesn’t seem to be working… or am i doing something wrong? please help if anyone has seen this issue.

I moved the folder containing the sprites out of the /Resources folder and now it packs fine.

Seems like the textures can not be inside the Resources folder? is this a bug?

Assets/Resources

Resources folder is ignored by sprite packer by design.

The resources folder is considered to be the “manual option” for users to do manually what they want with their assets. Everything in there will be loaded in the build and Unity keeps its hands off.

Recommended way to use assets is to keep them outside of the resources folder and refer to them directly (and not with string path) so Unity can automagically clean unused assets from your build and pack sprites into tighter atlases etc.

Lot of good discussion about this in this old thread: Unity 4.5 Sprite Packer does not pack images inside Resources folder - Unity Engine - Unity Discussions

I am getting the same error. What exactly does the error mean? I have no sprites in the resources folder at all.

I seem to get this error when I change compression on something? I have the AppIcon in the Assets folder (top level) and its import settings are Texture 16bits. If I change the compression to TrueColor, I get 16 of these errors. Any idea? I didn’t even know the Texture compression was packed. Everything else in my project has Import Settings set to Sprite TrueColor

Any ideas?

I’m getting a LOT of these errors all of a sudden as well. I have no sprites in the Resources folder. Any idea what could be causing this? When I build, I get 702 of them.

@omgdave @tonycoculuzzi . Mind tell us what version of Unity are you guys using that cause the errors? I afraid it might be bugged if it never happen before but happen now. It would be really helpful if you guys can report the issue.

Edit: Replied to the wrong thread!

Sorry, I replied to the wrong thread with that above comment. I’ve removed it.

I’m using 5.1.2f1 though, and I’m not sure what exactly is causing the problem to happen.

I’m on 5.1.2f1 as well and also suddenly see a slew of these errors all of a sudden. I also don’t have any textures in the Resources folder.

I’m seeing this in 5.1.2p3, (my first version of unity 5.1) - was there ever a root cause of this error message?

If you guys could send a bug report with a project that can reproduce these errors, that would be great to help us solve this issue!

I have that bug as well in Unity 5.1.2f1 and I don’t have any “Resources/” folder at all (in “Assets/” one).

I keep getting the same errors too. I submitted a report with my project and mentioned this thread and also you, ChuanXin, asking said bug report.

I’ve just experienced this bug, has anyone found an answer? I have no sprites in Resources. My partner can build out just fine.

I uploaded a bug report for another issue, but the project in that bug report will reproduce this bug as well. See bug 726479. If you build the project to PC, you’ll see these errors in the console.

We believe this bug has been fixed in Patch 5.1.3p3

Please try downloading from Download Archive Please do let us know if you need more info.

I installed 5.1.3p3 and I never had this issue until now. Now I do have it, and it occurs occasionally :confused:

Edit: This happens if I change targeted platform after taking a build for another platform. I.E. I took an x64 build for Win, then changed target platform to Mac universal, and I got the error.

1 Like

TanselAltinel, Please submit a bug with a test project that reproduces the issue. That will be helpful to fix this case.

I updated editor to 5.2.1p2 and this error started to show up each time I hit play.
I hit play, sprite packing starts, it finishes with this error or editor crashes. This is really frustrating :frowning:

Project file is bigger than a GB so I could not add it.

(Case 733460)