Hi everyone,
I've just updated from 3.5.x to 3.7.83, so a big leap for me.
I'm having this issue with the paths on the atlas txt file and the paths that the binary is looking for.
If I pack the atlas with the "Flatten paths" option checked, every image in the resulting atlas txt file looks like this:
armL_lifting_punch_trail
rotate: false
xy: 616, 579
size: 412, 450
orig: 412, 450
offset: 0, 0
index: -1
But if I uncheck the "Flatten paths" option, the same image on the atlas txt file look like this:
/Users/MyUserName/MyProjectName/graphics/spine/characters/CharacterName/./images/armL_lifting_punch_trail
rotate: false
xy: 616, 579
size: 412, 450
orig: 412, 450
offset: 0, 0
index: -1
I don't recall v3.5.x adding the whole local route to the txt file. That wouldn't be a problem as I can use the "Flatten paths" option, but the problem is that this option also trims the subfolder names for images inside subfolders when I use skins or just have a small hierarchy for clarity purposes.
The Unity runtimes (I'm using binaries as export method) are throwing errors when they find subfolder names inside the binary and not inside the txt atlas file.
Example:
The runtimes find this route inside the binary "particle/fireBall001" but fail to find the same inside the atlas, because it's just named "fireBall001" (the subfolder name was trimmed away)
How can I fix that?
Thanks!