Godot Version
4.2.2
Question
hello! i’m having trouble using multiple .pcks while using the web-export option
when running my project with the native debugger, i’m able to load a scene from a separate .pck file
however… when running off of a web export, the separate .pck seems to be unable to load! the console log only prints “UHG” over and over again
the reason i’d like to use multiple pcks is so that i can load a smaller file first that contains a custom loading animation to be played while the second .pck is downloaded
the code currently in the parent scene is the following:
func _ready():
open()
func open():
success = ProjectSettings.load_resource_pack("res://098.pck")
open2()
func open2():
if success:
var imported_scene = load("res://anim.tscn")
add_child(imported_scene.instantiate())
print("yay")
else:
print("UHG")
success = ProjectSettings.load_resource_pack("res://098.pck")
await get_tree().create_timer(1.0).timeout
open2()
i’ve made sure to have the other .pck held in the web export as well, so i’m not sure what’s going wrong…