This has been an ongoing PlayCanvas bug for a while and today we were able to reliably recreate it. When uploading certain .glb files to a project, they will fail while being processed. The editor will then show a red circle next to the asset. No errors will be shown in the console.
After the build has been published, there will be 403 (Forbidden), Access Denied errors when clients try to load this asset. There have been numerous other PlayCanvas posts where the authors simply deleted and reuploaded the .glb as a workaround. Iām hoping this example helps the PlayCanvas team track down and fix the root cause of the issue.
I downloaded the linked glb file to my desktop, and imported it to a new project without any problems. Is the problem with uploading it to this specific project only?
We were only able to recreate this error reliably using the example project. The error seems related to the diff between the two .glbs.
As a workaround we can of course delete the projectās existing .glb and upload the new one, but this isnāt always practical because many assets may need to be relinked.
It looks like we generate invalid material json when converting a GLB with material containing IOR == 0. Iām busy fixing this on our backend, but note that it looks like the engine doesnāt handle the special case of IOR == 0 correctly at render time. Weāll investigate this separately.
Thanks for providing a repro. Our template merging code is failing due to the root node name changing between the old template and the new (in this case the old root node name āfemaleā becomes āSceneRootā).
The code in question is pretty deep inside unfamiliar code on our backend, so Iām not sure how quickly we could address this issue.
Hopefully you can mitigate some of the pain with this extra context though.