extends SceneTree func _init() -> void: # Force the importer to build the cache by loading the resource with an explicit type hint. var stream = ResourceLoader.load_threaded_request("res://audio/sound_coin.ogg", "AudioStreamOggVorbis") print("threaded_request returned:", stream != null) # Now try a normal load var loaded = ResourceLoader.load("res://audio/sound_coin.ogg") print("load returned:", loaded != null) if loaded != null: print("class:", loaded.get_class()) quit()