viromedia / virocore

ViroCore cross-platform AR/VR renderer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't load GLB files

federico-camonapp opened this issue · comments

commented

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!

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

commented

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?).