Hello,
I have a zip file containing 1 file : Level_0__Tiles.png
func _ready() -> void:
assert(ProjectSettings.load_resource_pack("user://png2.zip"))
print(load("res://Level_0__Tiles.png"))
print(load("user://Level_0__Tiles.png"))
print(load("import/Level_0__Tiles.png"))
print(load("Level_0__Tiles.png"))
This code prints the following:
[Object:null]
[Object:null]
[Object:null]
[Object:null]
What am I doing wrong? How am I supposed to access the files loaded? There's no documentation about it and I tried everything I could find on forums.