virocore icon indicating copy to clipboard operation
virocore copied to clipboard

Can't load GLB files

Open federico-camonapp opened this issue 5 years ago • 2 comments

Environment

Please provide the following information about your environment:

  1. OS: Mac
  2. Version: 2.17
  3. Device(s): Samsung Galaxy S8

Description

Some GLB models load as expected. However, some others don't. I've double checked them here and here, and they all seem correct. Based on the logs, I can see the following errors:

  1. Failed to parse glTF manifest (for model-a.zip)
  2. Attempted to parse an unknown geometry attribute: TEXCOORD_1 (for model-b.zip)

If it helps, I'm generating the GLB models using Khronos glTF Blender I/O v1.1.45.

Thanks!

federico-camonapp avatar Mar 03 '20 19:03 federico-camonapp

Hey @federico-camonapp, unfortunately it looks like the GLTF Loader in Viro currently supports one texcoord per geometry as shown here.

dthian avatar Mar 04 '20 05:03 dthian

Ok! Thanks @dthian for that quick reply, I guess nothing to do for now (maybe updating to the latest version of TinyGLTF in the future?).

federico-camonapp avatar Mar 05 '20 14:03 federico-camonapp