0 votes

I am using Godot 3.2 on Windows using mono.

Whenever I try to do something like the following GD.Load("res://scenes//ui//Pause.tscn") in an exported game, I'll get 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

That happens only after exporting. When running from the Godot editor, the error won't appear. I tried to export both to Windows and Android, but neither worked. It only seems to be an issue recently as exports worked just fine two days ago, but I just can't figure out, what might have went wrong.

I already checked for casing, but that never seems to be wrong. I also exported the game to a .zip file to look for missing files and all the files are existant.

I really appreciate any help, thanks in advance :)

asked Jul 1 in Engine by CrazyGamesMC (14 points)

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.