An animation is named myModel|myAnimation in PlayCanvas, which contains the invalid | char, that is not supported in Windows filenames. This breaks the downloaded builds:
Do I understand correctly that it was Blender that ended up naming a file with the | character and not PlayCanvas? Maybe I can look into it on the Blender side to attempt to avoid running into this in projects.
My post was mainly aimed at the idea that the naming convention myModel|myAnimation was something that the PlayCanvas asset loader assigns, and that it might be better picking something else for that. If that’s not the case, than the issue you posted is still a handy feature to pursue.
I’m not familiar with Blender but I’m under the impression it’s from the naming convention in Blender rather than PlayCanvas otherwise I would have expected more reports of this issue.
Sorry for the trouble @JangoH. We don’t do a good job of sanitizing filenames in our asset pipeline. This is definitely something we should address and will do so under the ticket that @yaustar linked.
We just faced the same issue as I’m working on Mac, but a colleague who uses Windows was unable to pull the repo due to that pipe in the file name.
So just wanted to bump this thread - I know its not really your fault that the pipe ended up in the filename in the first place, but if you could just add a regex that searches and replaces those problematic chars that would be a really appreciated helper function