viro
viro copied to clipboard
Viro3DObject crashes when load some glTF models
Requirements:
Please go through this checklist before opening a new issue
- [x] Review the documentation
- [x] Search for existing issues in: viromedia/viro & ViroCommunity/viro
- [x] Use the latest ViroReact release
Environment
Please provide the following information about your environment:
- Development OS: Ubuntu 22.04.1 LTS
- Device OS & Version: Android OS version 11
- Version: ViroReact version ^2.20.2 and React Native 0.69.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