-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scene file became corrupted/invalid. #80324
Comments
The scene seems to be missing dependencies. |
Or cyclic dependencies. See #74253 (comment), try to replace |
This has been happening consistently to me recently. v4.2.dev.custom_build [ 6916349 ]. Logs:
I don't know if it's a coincidence, but one of two scenes were alternatingly being invalid/corrupt. They were |
Similar behaviour in 4.2.rc1 - I have 'Restore Scenes on Load' selected in the Editor Settings. Opening the editor often reports one or more of the previously open scenes as corrupt/invalid and refuses to reopen them from the FileSystem dock. Running diffs of the .tscn files with their latest git commits shows no changes. As @carllacan reported, running the game in the editor is unaffected. In my case after running the game once I can open and edit the .tscn files again, so this is a great workaround. |
I checked again if any of the scene opening fixes would resolve this issue and no, the scene still can't be opened. However if you remove only the shader, you get this instead: Looks like some bug specific to shaders. EDIT: |
Godot version
v4.1.1.stable.official [bd6af8e]
System information
Godot v4.1.1.stable - Manjaro Linux #1 SMP PREEMPT Tue Jul 25 07:09:46 UTC 2023 - Vulkan (Forward+) - dedicated AMD Radeon RX 550 / 550 Series (RADV POLARIS12) () - AMD Ryzen 5 3600 6-Core Processor (12 Threads)
Issue description
I was working on a game and all of a sudden I started getting a warning about a certain scene file being corrupted/invalid. As far as I remember I had recently done any changes on that file. When running the game the scene continues to be successfully instantiated, but I can't open it to edit because the aforementioned error message pops up.
Steps to reproduce
Unknown.
Minimal reproduction project
As GitHub does not allow me to attach .tscn files I attach the scene file with a .txt extension: base_ship.txt
The text was updated successfully, but these errors were encountered: