### Godot version

4.1.dev3

### System information

Tested with Linux and Android

### Issue description

Since #73256 you can now export a typed array of nodes which holds references to the nodes assigned in the inspector. However, if you export the project you just get an empty array.

### Steps to reproduce

Export a project that makes use of exported node arrays.

### Minimal reproduction project

[test.zip](https://github.com/godotengine/godot/files/11596494/test.zip)

return state->get_bundled_scene();
}
Error PackedScene::pack(Node *p_scene) {
	return state->pack(p_scene);
}
void PackedScene::clear() {
	state->clear();
}
void PackedScene::reload_from_file() {
	String path = get_path();
	if (!path.is_resource_file()) {
		return;
	}
	Ref<PackedScene> s = ResourceLoader::load(ResourceLoader::path_remap(path), get_class(), ResourceFormatLoader::CACHE_MODE_IGNORE);
	if (!s.is_valid()) {
		return;
	}
	
	Ref<SceneState> loaded_state = s->get_state();
	
	
	s->recreate_state();
	
	copy_from(s);
	
	state->copy_from(loaded_state);
}
bool PackedScene::can_instantiate() const {