- Edited
As title says, project runs perfectly on the editor, but on some Windows machines it crashes with the following errors:
SCRIPT ERROR: Parse Error: Could not parse global class "AudioLibrary" from "res://Resources/Audio/AudioLibrary.gd".
at: GDScript::reload (res://Scripts/audio_manager.gd:3)
ERROR: Failed to load script "res://Scripts/audio_manager.gd" with error "Parse error".
at: load (modules/gdscript/gdscript.cpp:2936)
ERROR: Failed to instantiate an autoload, script 'res://Scripts/audio_manager.gd' does not inherit from 'Node'.
at: (main/main.cpp:3678)
ERROR: No loader found for resource: res://Assets/UI/Placeholders/arrow.png (expected type: Texture2D)
at: (core/io/resource_loader.cpp:291)
ERROR: Can't load dependency: res://Assets/UI/Placeholders/arrow.png.
at: (core/io/resource_format_binary.cpp:461)
ERROR: Error when trying to parse Variant.
at: (core/io/resource_format_binary.cpp:505)
ERROR: Error when trying to parse Variant.
at: (core/io/resource_format_binary.cpp:492)
ERROR: Failed loading resource: res://.godot/exported/133200997/export-448438bbbc2f0233dc2cbe4bdd65f474-Waypoint.scn. Make sure resources have been imported by opening the project in the editor at least once.
at: (core/io/resource_loader.cpp:283)
SCRIPT ERROR: Parse Error: Could not resolve external class member "audio_library".
at: GDScript::reload (res://Scripts/Boat.gd:127)
SCRIPT ERROR: Parse Error: Could not parse global class "Projectile" from "res://Scenes/Base/projectile_base.gd".
at: GDScript::reload (res://Scripts/Boat.gd:375)
ERROR: Failed to load script "res://Scripts/Boat.gd" with error "Parse error".
at: load (modules/gdscript/gdscript.cpp:2936)
SCRIPT ERROR: Parse Error: Could not resolve super class "Projectile".
at: GDScript::reload (res://Scripts/harpoon_spear.gd:1)
ERROR: Failed to load script "res://Scripts/harpoon_spear.gd" with error "Parse error".
at: load (modules/gdscript/gdscript.cpp:2936)
SCRIPT ERROR: Parse Error: Could not resolve external class member "audio_library".
at: GDScript::reload (res://Scripts/UI/SteeringUI.gd:78)
ERROR: Failed to load script "res://Scenes/Game/atmosphere_manager.gd" with error "Parse error".
at: load (modules/gdscript/gdscript.cpp:2936)
SCRIPT ERROR: Parse Error: Could not resolve external class member "audio_library".
at: GDScript::reload (res://Scenes/Game/cutscene.gd:12)
ERROR: Failed to load script "res://Scenes/Game/cutscene.gd" with error "Parse error".
at: load (modules/gdscript/gdscript.cpp:2936)
SCRIPT ERROR: Parse Error: Could not resolve external class member "audio_library".
at: GDScript::reload (res://Scripts/NPC/bossman_fish.gd:29)
ERROR: Failed to load script "res://Scripts/NPC/bossman_fish.gd" with error "Parse error".
at: load (modules/gdscript/gdscript.cpp:2936)
SCRIPT ERROR: Parse Error: Could not resolve super class "StateMachine".
at: GDScript::reload (res://Scripts/NPC/behavior_bossman_fish.gd:1)
ERROR: Failed to load script "res://Scripts/NPC/behavior_bossman_fish.gd" with error "Parse error".
at: load (modules/gdscript/gdscript.cpp:2936)
SCRIPT ERROR: Invalid access to property or key 'got_hit' on a base object of type 'RigidBody2D'.
at: _ready (res://Scripts/Camera.gd:17)
SCRIPT ERROR: Invalid access to property or key 'propagate_thirst' on a base object of type 'RigidBody2D'.
at: _ready (res://Scripts/Scenes/main.gd:39)
Seems to me like almost everything involving signals, super classes or resources are bugging out. Anyone had similar issues?
To make it clear, AudioLibrary is the following resource:
extends Resource
class_name AudioLibrary
# Engine Audio
@export var audio_engine_zero_gear : AudioStream
@export var audio_engine_first_gear : AudioStream
@export var audio_engine_second_gear : AudioStream
@export var audio_engine_third_gear : AudioStream
# Harpoon
@export var audio_harpoon_shot : AudioStream
@export var audio_harpoon_stab : AudioStream
# Sonar
@export var audio_sonar : AudioStream
# Boat Audio
@export var boat_horn : AudioStream
@export var wood_break_1 : AudioStream
@export var wood_break_2 : AudioStream
@export var bucket_spill : AudioStream
@export var bucket_fill : AudioStream
@export var engine_unclog : AudioStream
@export var engine_clog : AudioStream
@export var boat_cord_pull: AudioStream
@export var boat_cord_pull_success: AudioStream
# Fish Audio
@export var fish_lunge : AudioStream
@export var fish_swim_cycle : AudioStream
@export var fish_death_moan : AudioStream
# Lamb Blehs
@export var lamb_bleh_1 : AudioStream
@export var lamb_bleh_2 : AudioStream
@export var lamb_bleh_3 : AudioStream
# Other SFX
@export var unveil_from_bag : AudioStream
@export var fish_found : AudioStream
# Music
@export var peixe : AudioStream
@export var ground_line : AudioStream
@export var roofs : AudioStream