Parse Error problem

Godot Version

4.6

Question

Hello, wise ones! I have this problem that has ruined my project. Do you know what is causing it?

ERROR: scene/resources/resource_format_text.cpp:292 - Parse Error: Parse error. [Resource file res://Levels/level_2.tscn:483]
ERROR: Failed loading resource: res://Levels/level_2.tscn.


Hi there wanderer! The error seems to hint at the text scene (level_2.tscn) being corrupted.

If you are using version control, like git, you could revert to a previous state of the file – if you didn’t change too many things.

Here is the doc page about the TSCN file format, maybe that can help you debug.

Otherwise it would be helpful to see the current content of the tscn file.

Kind regards :four_leaf_clover:

Thanks for responding! It seems that the problem was that I was using the same base script for the levels, and that was creating a kind of feedback loop that Godot didn’t like very much… I created a new project and recovered the information I had by modifying that. Now I only use one level and instantiate the corresponding enemy. I don’t know if I explained myself well. Thanks again for responding, your answer led me to the problem! Cheers!

1 Like