Godot 4.2.1 not exporting dependencies

Godot Version



I have recently been trying to export a project, but when I export the project it can’t seem to load a scene when I am trying to change it from a script. It gives me an error saying it can’t be loaded, unless if it is in the directory of the project.

Can you paste your script? Are you excluding any folders in your export settings?

I am not excluding any files or folders, the script uses a very simple get_tree().fhange_scene_to_file(“res://level/level.tscn”)