"result is undefined" error message

So I keep getting this error message when I try to play the game, normally it points to what exactly is the problem. This could mean anything so I’m confused. It occurs right at the moment it switches to a new scene and only when I test it after I compiled the game.

Does anyone have any clue what this could mean?

Are you dividing by a variable at some point? It could be that that variable is set to 0 so the sum is impossible. This is a random guess; without seeing code it would be hard to say more…