ReactVision / viro

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

Viro3DSceneNavigator Issue #214

Open SubinNewage opened 1 year ago

SubinNewage commented 1 year ago

Requirements:

Please go through this checklist before opening a new issue

Environment

Development OS: MacOs Ventura 13.2.1 Version: ViroReact version: 2.23.0 and React Native version 0.69.11

Description

Viro3DSceneNavigator with a ViroScene to render Viro360Image is not working.

Reproducible Demo

              const MyScene = ()=>{
                      return(
                           <ViroScene>
                                <Viro360Image source={require('./src/myImage.jpeg')} />
                          </ViroScene>
                        )
               }
                   return(
                        <Viro3DSceneNavigator initialScene={{scene:MyScene}} />
                         )

Screenshot 2023-06-12 at 5 34 07 PM

TypeError: undefined is not an object (evaluating 'delete this.sceneNavigator.viroAppProps.rootTag')

Any help would be much appreciated it!