Skip to content
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

Godot 4 - error opening a tscn file #50934

Closed
Akira1San opened this issue Jul 27, 2021 · 7 comments
Closed

Godot 4 - error opening a tscn file #50934

Akira1San opened this issue Jul 27, 2021 · 7 comments

Comments

@Akira1San
Copy link

Godot version

v4.0.dev.calinou [e6a544c]

System information

Win 10 64, AMD RX 480

Issue description

When i try to open scene file after the auto reimport of file i get an alert message: scene file appears to be corrupt invalid.

Failed loading resource: res://sci-fi-hangar-door.lmbake. Make sure resources have been imported by opening the project in the editor at least once.
scene/resources/resource_format_text.cpp:170 - res://sci-fi-hangar-door.tscn:114 - Parse Error: [ext_resource] referenced non-loaded resource at: res://sci-fi-hangar-door.lmbake
scene/resources/resource_format_text.cpp:269 - res://sci-fi-hangar-door.tscn:114 - Parse Error: [ext_resource] referenced non-loaded resource at: res://sci-fi-hangar-door.lmbake
servers/rendering/renderer_rd/renderer_storage_rd.cpp:1547 - Condition "!material" is true.
Failed loading resource: res://sci-fi-hangar-door.tscn. Make sure resources have been imported by opening the project in the editor at least once.
editor/editor_data.cpp:539 - Index p_idx = 1 is out of bounds (edited_scene.size() = 1).
``

Steps to reproduce

Just double click on the tscn file.

Minimal reproduction project

No response

@Calinou
Copy link
Member

Calinou commented Jul 27, 2021

@Akira1San Please upload a minimal reproduction project to make this easier to troubleshoot.

@Calinou Calinou added this to the 4.0 milestone Jul 27, 2021
@Akira1San
Copy link
Author

@Blackiris
Copy link
Contributor

Blackiris commented Aug 9, 2021

On the latest 4.0 version (9d9161c), just delete the hidden folder .godot to force resource reloading. For me it just works after that. This was due to a recent binary loading change (more info here #51042).

@Akira1San
Copy link
Author

Thx, it works now.

@SimoneStarace
Copy link

On the latest 4.0 version (9d9161c), just delete the hidden folder .godot to force resource reloading. For me it just works after that. This was due to a recent binary loading change (more info here #51042).

I tried to do the same with my project, which I have linked on this issue #77007 (comment), but it didn't solved my problem.

I'm using Godot stable version 4.1.1

@SnowriterMYX
Copy link

I also encountered the same problem

@SimoneStarace
Copy link

I also encountered the same problem

In my case, I have solved the problem by doing this #77007 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants