0 votes

I am using Godot 3.2 on Windows using Mono.

Whenever I try to do GD.Load("res://scenes//ui//Pause.tscn") or something like that, I get the following error:

ERROR: Cannot open file 'res://scenes//ui//Pause.tscn'.
   At: scene/resources/resource_format_text.cpp:1228
ERROR: Failed loading resource: res://scenes//ui//Pause.tscn.
   At: core/io/resource_loader.cpp:278
ERROR: Error loading resource: 'res://scenes//ui//Pause.tscn'.
   At: core/bind/core_bind.cpp:76

And that happens with whatever scene I try to load. I even exported it to a zip file to check whether all the files are being exported. And yes, all the files seem to be exported. The .exe or .apk also seem to have areasonable file size. I also checked for casing, but that's not an issue as well.

I tried to export both to Android and Windows, but neither of them worked.
This issue started to appear just recently as I was still able to export my project yesterday.

I would really apreciate any suggestions. Thanks in advance! :)

asked Jul 1 in Engine by CrazyGamesMC (14 points)

I have the same issue.

2 Answers

0 votes

You are using the path "res://scenes//ui//Pause.tscn".
I don't know if, with Mono, Godot uses different path conventions but try using "res://scenes/ui/Pause.tscn".

answered Jul 11 by cgeadas (94 points)
0 votes

In my case, I found that the scenes / sprites were not included in the project. I had to open the solution in Visual studio and include all the required folders/resources in the project, after that export started working much better (except for the steam dlls)

answered 3 days ago by msdogra (14 points)
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.