Community
Forma Developer Forum
Welcome to Autodesk Forma Developer Forum. Share your knowledge, ask questions, and explore popular Forma API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

File Explorer example files for upload

1 REPLY 1
SOLVED
Reply
Message 1 of 2
trevor_scullion
243 Views, 1 Reply

File Explorer example files for upload

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'. 
Labels (2)
1 REPLY 1
Message 2 of 2

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


Technology Administrators