Multiple folders with the same name

I wanted to ask whether it’s a bug, or a feature, that multiple folders can have the same name.

Steps to reproduce:

  1. Create a folder → a folder “New Folder” is created.
  2. Right-click in code editor and “Rename”
  3. Change the name to any name, for example “HelloWorld”
  4. Repeat steps 1. to 3.
  5. 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.

1 Like

It’s a feature. Assets have unique ids and therefore can have the same name