Skip to main content
Known Participant
Dec 27, 2022 6:28 AM UTC
Question

An VR 360 Project : Cannot read properties of null (reading 'executeListener') !

When switching the scene in the VR 360 project, this error will occur !

 

 

This topic is closed to new replies. Start a new post to keep the conversation going.

10 replies

kglad
Community Expert
Community Expert
Dec 27, 2022 1:04 PM UTC

addenda to @JoãoCésar17023019 

 

if you are using code to change scenes (and i think you must), it should look like

 

anWebgl.gotoScene("your scene name");

Translate
arvin0Author
Known Participant
Dec 28, 2022 12:48 AM UTC
anWebgl.nextScene();

anWebgl.prevScene();

Use these two lines of code to switch scenes

 

Demo:index (jingge.com)

 

 

 

Click this button, click several times back and forth, and after a few scenes, it will report this error

Translate
kglad
Community Expert
Community Expert
Dec 28, 2022 12:54 AM UTC

what code are you using that's causing an error?

Translate
JoãoCésar17023019
Community Expert
Community Expert
Dec 27, 2022 12:42 PM UTC

Hi.

 

Are you using some code to switch scenes or you just leave it playing?

 

Regards,

JC

Translate
arvin0Author
Known Participant
Dec 28, 2022 12:45 AM UTC
anWebgl.nextScene();

anWebgl.prevScene();

Use these two lines of code to switch scenes

 

Demo:index (jingge.com)

 

Click this button, click several times back and forth, and after a few scenes, it will report this error

Translate