File Explorer example files for upload

File Explorer example files for upload

trevor_scullion
Observer Observer
379 Views
1 Reply
Message 1 of 2

File Explorer example files for upload

trevor_scullion
Observer
Observer

I had some issues with the Forma API code example "file explorer" and the uploads not working with my project. The readme file recommended getting test files from https://kenney.nl/assets/city-kit-suburban  but those files cause errors and never upload. Uploading any of those files to the gLTF validator on   shows the errors. I've tried other GLB files (that validate fine) and the file explorer demo works fine so I'm up and running on what I was trying to do. 

 
Just an FYI for any devs out there trying that example and hitting a 'wall'. 
0 Likes
Accepted solutions (1)
380 Views
1 Reply
Reply (1)
Message 2 of 2

md_amjad_hossain
Autodesk
Autodesk
Accepted solution

Hei:

Thanks for reaching us. We have added a stricter validation for uploading `GLB` file. Thats the reason the upload is failing. Also according to the https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#glb-file-format-specification.

The root node cant referenced by any other node. Thats the actual reason its failing. Maybe you can try with this example https://kenney.nl/assets/platformer-kit. 




Md Amjad Hossain
Software Development Engineer