Open
Description
@doranteseduardo : Thanks for your effort to make thins nice component.
However, I have the following problem.
Environment
Please provide the following information about your environment:
-
Development OS: Mac
-
Device OS & Version: What Android OS 10, android
-
Version: ViroReact version:
"@viro-community/react-viro": "^2.20.2",
and React Native version:
"react-native": "0.65.1" -
Device(s): Samsung
Description
When I use any ViroARCamera in the scene the app crashes on android!
my code>
<ViroARScene onTrackingUpdated={onInitialized}>
<ViroAmbientLight color={"#aaaaaa"} />
<ViroSpotLight innerAngle={5} outerAngle={90} direction={[0,-1,-.2]}
position={[0, 3, 1]} color="#ffffff" castsShadow={true} />
<ViroARCamera>
<Viro3DObject
source={require('./models/rodeh.obj')}
resources={[require('./models/rodeh_material.mtl')]}
scale={[0.02, 0.02, 0.02]}
//position={[-1, -2, -1]}
position={[0, 0, 0]} // <- try changing these values
type="OBJ" />
</ViroARCamera>
</ViroARScene>