Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | uvokin33 | |
Old Version | Published before Godot 3 was released. |
My last build can not load game resources. I don’t know what the problem was with everything was good before.
Imgur: The magic of the Internet
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?
Zylann | 2017-11-21 18:54
The problem is that I didn’t change anything in this script and it used to work correctly before
uvokin33 | 2017-11-24 11:39
I don’t even load scripts that are in the autorun, although in the editor everything works
Imgur: The magic of the Internet
#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
uvokin33 | 2017-11-24 11:48
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…
Zylann | 2017-11-24 20:09
I solved this problem. The whole problem is that build located in a google drive. Thank you for help.
uvokin33 | 2017-11-25 11:35