0 votes

My last build can not load game resources. I don't know what the problem was with everything was good before.

https://imgur.com/a/O3LOz

in Engine by (14 points)

Looks like your Curbstone.gd has problems loading, but I can't tell more, the log isn't full (stuff happened above in the console but it's scrolled down). Could you provide the log from the beginning?

The problem is that I didn't change anything in this script and it used to work correctly before

I don't even load scripts that are in the autorun, although in the editor everything works

https://imgur.com/a/wCAkj

FULL LOG

ERROR: ImageLoader::load_image: Error opening file: res://assets/sprites/Furniture/Curbstone_empty.png
   At: core\io\image_loader.cpp:53
ERROR: Failed loading image: res://assets/sprites/Furniture/Curbstone_empty.png
   At: scene\io\resource_format_image.cpp:116
ERROR: Failed loading resource: res://assets/sprites/Furniture/Curbstone_empty.png
   At: core\io\resource_loader.cpp:210
SCRIPT ERROR: GDScript::load_byte_code: Parse Error: Can't preload resource at path: res://assets/sprites/Furniture/Curbstone_empty.png
          At: res://assets/scripts/Furniture/Curbstone.gdc:17
ERROR: GDScript::load_byte_code: Method/Function Failed, returning: ERR_PARSE_ERROR
   At: modules\gdscript\gd_script.cpp:682
ERROR: ResourceFormatLoaderGDScript::load: Condition ' err != OK ' is true. returned: RES()
   At: modules\gdscript\gd_script.cpp:1757
ERROR: Failed loading resource: res://assets/scripts/Furniture/Curbstone.gd
   At: core\io\resource_loader.cpp:210
ERROR: Can't load dependency: res://assets/scripts/Furniture/Curbstone.gd
   At: core\io\resource_format_binary.cpp:717
ERROR: ResourceFormatLoader::load: Condition ' err != OK ' is true. returned: RES()
   At: core\io\resource_loader.cpp:137
ERROR: Failed loading resource: res://assets/prefs/Furniture/Curbstone.tscn
   At: core\io\resource_loader.cpp:210
ERROR: Can't load dependency: res://assets/prefs/Furniture/Curbstone.tscn
   At: core\io\resource_format_binary.cpp:717
ERROR: ResourceFormatLoader::load: Condition ' err != OK ' is true. returned: RES()
   At: core\io\resource_loader.cpp:137
ERROR: Failed loading resource: res://assets/scenes/Houses/Shelter.tscn
   At: core\io\resource_loader.cpp:210
SCRIPT ERROR: GDScript::load_byte_code: Parse Error: Can't preload resource at path: res://assets/scenes/Houses/Shelter.tscn
          At: res://assets/scripts/global.gdc:7
ERROR: GDScript::load_byte_code: Method/Function Failed, returning: ERR_PARSE_ERROR
   At: modules\gdscript\gd_script.cpp:682
ERROR: ResourceFormatLoaderGDScript::load: Condition ' err != OK ' is true. returned: RES()
   At: modules\gdscript\gd_script.cpp:1757
ERROR: Failed loading resource: res://assets/scripts/global.gd
   At: core\io\resource_loader.cpp:210
ERROR: Can't autoload: res://assets/scripts/global.gd
   At: main\main.cpp:1361

Which version of the engine are you using?
Which options did you set to export your game?

Hang on... are you using Google Drive? Because I bet your data.pck has been corrupted somehow...

I solved this problem. The whole problem is that build located in a google drive. Thank you for help.

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 Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.