GLTFExporter: Empty materials:[] array breaks in Oculus Home

Description of the problem

well, i tried to convert a animated model to add to my Oculus Home to a glb file, since it has something that blocks the home, it gives me back a corrupted copy/unanimated copy.

Fix please?

Three.js version
  • Dev
  • r101
Browser
  • All of them
  • Chrome
  • Firefox
  • Internet Explorer
OS
  • All of them
  • Windows
  • macOS
  • Linux
  • Android
  • iOS
Hardware Requirements (graphics card, VR Device, …)

Author: Fantashit

1 thought on “GLTFExporter: Empty materials:[] array breaks in Oculus Home

  1. Ok, I’ll put a 3rd item on this list then:

    • GLTFExporter: Support spec/gloss PBR materials (#15351)
    • Would like animations on models imported in the editor included on scene export (#11642)
    • GLTFExporter materials/meshes/lights/… array output should be omitted if empty.

    Reopening until we address that 3rd item.

Comments are closed.