resource save dont save scene after export

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Ktotoetoia

hi, after i export game,resource_saver dont saving scene
my code:

packed_scene.pack(get_tree().get_current_scene())"res://scenes/level_chooser.tscn", packed_scene)

packed_scene.pack(get_tree().get_current_scene())"res://saves/scene_saves/"+ level_name, packed_scene)

in engine it works

:bust_in_silhouette: Reply From: Inces

“res” folder is only there during creation process. You should create new directory in real folder every user will have on every CPU. Most typically User/Appdata is used for this

thank you!!! can i make a folder in “user”?

Ktotoetoia | 2022-02-19 17:57

You can make folder wherever You want. It is just good convention to make it in User/Appdata/projectname, this is where Your game will propably be installed on all devices after export

Inces | 2022-02-20 12:06