playcanvas / playcanvas/editor

API returns different casing than editor

Open
#2,015 2 comments 0 reactions 1 assignee View on GitHub

@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:
Image

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.