ReactVision / viro

ViroReact: The AR and VR library for React Native 📳💙💛🤍💚
MIT License
1.31k stars 149 forks source link

Crash when render 3d object GLB #130

Open duyta7598 opened 2 years ago

duyta7598 commented 2 years ago

Requirements:

Please go through this checklist before opening a new issue

Environment

Please provide the following information about your environment:

  1. Development OS: Mac
  2. Device OS & Version: Android 12
  3. Version: ViroReact: 2.22.0 and React Native version 0.63.4
  4. Device(s): Pixel 4

Description

Viro React made crash when render GLB file, It only happen in some of GLB file. And when I check logcat in Android Studio, it show this error Failed to create an anchored node at position [0.0, 0.0, 0.0]

This is some off my code

Remove ViroNode doesn't seem to help, I believe it only happen with some off my glb 3d object Can any one help me with this?

randomtoni commented 1 year ago

are you using typescript ? if so, you need to add the extension files that are not common to the compiler

robertjcolley commented 5 months ago

Can you provide the GLB 3D object you're using? And does https://viro-community.readme.io/docs/assets#supported-assets help with your issue?