Closed EiTaNBaRiBoA closed 5 days ago
As the error message says:
Make sure resources have been imported by opening the project in the editor at least once.
When the editor imports resources, it writes them to the .godot/
folder. If you remove this folder, you have to open the editor once (or run it with --import
from the command line starting with Godot 4.3) to reimport resources. Otherwise, running the project directly won't work.
I tested the MRP project and the problem is really just in opening the editor without the .godot
folder. The autoloads objects are completely created even if they are not @tool
scripts at the editor start and since the imported files are not present in the .godot
folder, they fail to load. I fixed this problem in the PR #92667. I tested the MRP with the code of this PR and I have no error message at startup and everything seems fine.
Stacktrace of the error while starting the editor:
Tested versions
System information
Windows 11
Issue description
When importing wav files and assigning them to export var AudioStreamWAV in script that runs in autoload will cause an error when opening the project without .godot
Steps to reproduce
@export var clockTickingsfx: AudioStreamWAV @export var clockCompleteSfx: AudioStreamWAV @export var sfxAudioStream: AudioStreamPlayer