Game crashes without any output message

Godot Version

4.2

Question

I am getting an error, I am not sure if it is my fault or not. The game crashes without any output message, only running godot trougth the terminal I get this.

No, it is my own project, when I hit play in the godot editor it runs fine but after some time playing it just crashes without any output message in the console.

I tried running godot througth the console with --verbose option and this is the message I get there. I am not sure if this is a bug of mine or from godot source as this seems an unhandled exeption from the node.cpp source.

Yes, but it’s not a get_viewport from my code, it’s from the source: