0 votes

When i try to open my Boss2.tscn i get an error saying

scene\resources\sceneformattext.cpp:838 - res://Scene/Boss2.tscn:1 - Parse Error:
Failed loading resource: res://Scene/Boss2.tscn

i dont know if i can recover it or it is corrupted
can someone help

asked May 15 in Engine by Newby (121 points)

can you share that file?

how do i do that

You can upload it somewhere maybe.

If a tscn fails to load, that means it's either corrupted, OR, most likely, one of the things inside failed to load in the first place. Is this the only error you get? (check in the system console)

You can also open it in a text editor (scenes are just text files) and see if you notice anything wrong. If you don't understand what's there, you can still try to compare it to another scene file that you know is working properly (preferably of a similar scene) and see if you notice anything different that maybe shouldn't be.

You can freely edit the file and save it and try to load it in Godot again. Just make sure you can undo your changes if it still doesn't solve the problem (best thing is to make a backup copy of the original file).

Perhaps you changed the location of some resource or other dependency from that scene (a shader, a script, a texture, etc), and now the scene can't access it when trying to open.

If that's the case, then you can easily fix any file paths that point to the wrong place by editing the scene in a text editor.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.