Scene became corrupted after renaming another imported scene file

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Hralok

I have a scene 1 on which another imported scene 2 is located. I renamed scene 2 file via godot, after which scene 1 closed, and no longer opens. Writes that the scene file “scene name 1” is invalid or corrupted, and writes to the console output scene/resources/packed_scene.cpp:88 - Condition “nc == 0” is true. Returning: nullptr. I have absolutely no idea what to do with it, renaming scene 2 back didn’t help, manually deleting mentions of scene 2 from the scene 1 file didn’t help. What the fuck is this and what should I do about that?

:bust_in_silhouette: Reply From: Venex2004

Try correcting the scene name in your folder directory . You can use your notepad or any external editor to make changes.

:bust_in_silhouette: Reply From: Hralok

So, I found out that this problem is solved by restarting the godot editor. You can change the name of the scene, and even though another scene will stop opening, after restarting the editor everything will work correctly.