I wanted to ask whether it’s a bug, or a feature, that multiple folders can have the same name.
Steps to reproduce:
- Create a folder → a folder “New Folder” is created.
- Right-click in code editor and “Rename”
- Change the name to any name, for example “HelloWorld”
- Repeat steps 1. to 3.
- Two folders named “HelloWorld” exist in the editor, each with a separate asset id.
We noticed this while using playcanvas-sync which created a duplicate due to a bug (mentioned here where it created duplicate folders and files when pushAll
was used.