Changing scene Uncaught TypeError: Cannot set properties of undefined (setting 'text')

can someone help u to solve this,

it happen when i enter the game over scene

Hi @jshndr and welcome,

Most likely your code is trying to access an entity that no longer exists. Maybe it was part of the previous scene that was removed.

Are you removing all of your event handlers when changing a scene?

Check this manual page on best practices when changing scenes: Loading Scenes | Learn PlayCanvas

1 Like

https://playcanvas.com/editor/scene/1606037

here my project it happen when i try again