I'm unable to reproduce this in dev. Here's what I did:
Created a new folder in my project.
Dragged some .png files to it from Finder.
Created an .atlas file in the folder and added the .png files to it.
Added a Sprite to a Game Object in my main.collection that referenced the .atlas file.
Moved the folder containing the .atlas and .png files in the Asset Brower panel.
I repeated step 5 several times, and every time the references to the .atlas and the .png files were updated to the new location. I did not manage to cause the error.
I have been having lots of issues when moving folders in general in defold. Maybe it has to do with things being in collection proxies? But I got an error moving my images folder and moving my folder with collections and scripts. All of these folders do have multiple subfolders too.
I'm still not able to reproduce this using the suggested folder structure inside the same project and editor revision. There must be an earlier step we're missing. I've added some asserts in a PR that might help us track down the cause.
I'm unable to reproduce this in
dev
. Here's what I did:.png
files to it from Finder..atlas
file in the folder and added the.png
files to it.main.collection
that referenced the.atlas
file..atlas
and.png
files in the Asset Brower panel.I repeated step 5 several times, and every time the references to the
.atlas
and the.png
files were updated to the new location. I did not manage to cause the error.Am I missing a step?
I have been having lots of issues when moving folders in general in defold. Maybe it has to do with things being in collection proxies? But I got an error moving my images folder and moving my folder with collections and scripts. All of these folders do have multiple subfolders too.
My folder structure:
Steps:
I'm still not able to reproduce this using the suggested folder structure inside the same project and editor revision. There must be an earlier step we're missing. I've added some asserts in a PR that might help us track down the cause.
Asserts have been merged. Let's close this for now, and create a new issue if any of the asserts trigger.