Getting error while changing Scene

Hey I am changing scene using

image

calling
image

getting an error of memory

after consoling

thanks in advance

Hi @Hassan_Amjad1!

Unless you know exactly how the above code works, I suggest to use the code below to change your scene. Maybe this will solve the problem as well.

this.app.scenes.changeScene('Some Scene Name');

tried this one as well still facing same issue