When I use get_tree().change_scene('...')
my scene is successfully changed, but when i use code below all I'm left with is a blank gray screen. I see that _ready() of my new level scene is not called on change_scene_to
var lvl = load("res://Scenes/Levels/"+levelName+"/"+levelName+".tscn").instance()
lvl.spawnAtCamera = false
var res = get_tree().change_scene_to(lvl)
How do i create instance of my level (so I can call some load functions) and then load it?