playcanvas / playcanvas/editor
API returns different casing than editor
Open
@kpal81xd is already working on this.
Since May 5, 2026.
area: rest api
bug
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 215
- Avg merge
- 1d 29m
- Merged PRs (30d)
- 30
Description
In project 2374920 branch 366aa017-9cdf-4aab-89b3-0dfa08a5599e the names returned for assets are inconsistent.
Example:
- When calling the API to list assets, we see:
"284587271": "assets/files/Units/Player/3D/walk.glb" - The assets in the published download have the file as:
/assets/284587271/1/walk.glb - But in the editor we see:
And when doing dynamic asset loading, the name and path we fetch from the asset is "Units/Player/3D/Walk.glb". This inconsistent casing causes the assets to fail to load.
We expect the files returned in the published download to be a case-sensitive match with the API and the editor.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.