ReactVision/viro

Viro3DObject crashes when load some glTF models

Opened this issue · 0 comments

Requirements:

Please go through this checklist before opening a new issue

Environment

Please provide the following information about your environment:

  1. Development OS: Ubuntu 22.04.1 LTS
  2. Device OS & Version: Android OS version 11
  3. Version: ViroReact version ^2.20.2 and React Native 0.69.4
  4. Device(s): Samsung Galaxy S10+

Description

App crashes when load some specific 3D Objects and view in AR Scene.

<Viro3DObject
              source={{ uri: "https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Models/master/2.0/BrainStem/glTF/BrainStem.gltf" }}
              position={[0, 0, 0]}
              // animation={{name: "animation_0", run: true, loop: true}}
              scale={[.2, .2, .2]}
              type="GLTF"
            lightReceivingBitMask={3}
            shadowCastingBitMask={2}
            transformBehaviors={['billboardY']}
                       />

My app crashed when load this Brain Stem model. But works well if replaced by this Cesium Man model

Reproducible Demo

Code to reproduce https://github.com/thangld322/starter-kit