- *Related to https://github.com/godotengine/godot/issues/74139.*

### Godot version

4.0.rc6

### System information

Fedora 37, GeForce RTX 4090 (NVIDIA 525.85.05)

### Issue description

VoxelGI does not preserve CameraAttributes across scene reloads. This leads to baked GI not containing light information (and only displaying ambient occlusion instead).

### After baking VoxelGI, before reloading the scene

*I increase exposure sensitivity to 3200 ISO, but this occurs with the default CameraAttributesPhysical settings too.*

![Screenshot_20230301_013751](https://user-images.githubusercontent.com/180032/222015520-81d2a50b-089b-4219-9680-c6539e09dfb2.png)

### After baking VoxelGI, saving then reloading the scene

*This is the result when running the project from the editor too.*

![Screenshot_20230301_013757](https://user-images.githubusercontent.com/180032/222015525-5048babe-d825-4421-bd4d-054cc8eee599.png)

### VoxelGI disabled (for comparison)

![Screenshot_20230301_013802](https://user-images.githubusercontent.com/180032/222015526-fbf3a3b0-2d53-4342-85e7-cd9f88d2df02.png)


### Steps to reproduce

- Follow [Physical light and camera units](https://docs.godotengine.org/en/latest/tutorials/3d/physical_light_and_camera_units.html) documentation to enable physical light and camera units in a project.
- Set up VoxelGI then bake it.

### Minimal reproduction project

[physical_light_camera_units.zip](https://github.com/godotengine/godot/files/10855923/physical_light_camera_units.zip)

ClassDB::bind_method(D_METHOD("set_probe_data", "data"), &VoxelGI::set_probe_data);
	ClassDB::bind_method(D_METHOD("get_probe_data"), &VoxelGI::get_probe_data);
	ClassDB::bind_method(D_METHOD("set_subdiv", "subdiv"), &VoxelGI::set_subdiv);
	ClassDB::bind_method(D_METHOD("get_subdiv"), &VoxelGI::get_subdiv);
	ClassDB::bind_method(D_METHOD("set_size", "size"), &VoxelGI::set_size);
	ClassDB::bind_method(D_METHOD("get_size"), &VoxelGI::get_size);
	ClassDB::bind_method(D_METHOD("set_camera_attributes", "camera_attributes"), &VoxelGI::set_camera_attributes);
	ClassDB::bind_method(D_METHOD("get_camera_attributes"), &VoxelGI::get_camera_attributes);
	ClassDB::bind_method(D_METHOD("bake", "from_node", "create_visual_debug"), &VoxelGI::bake, DEFVAL(Variant()), DEFVAL(false));
	ClassDB::bind_method(D_METHOD("debug_bake"), &VoxelGI::_debug_bake);
	ClassDB::set_method_flags(get_class_static(), _scs_create("debug_bake"), METHOD_FLAGS_DEFAULT | METHOD_FLAG_EDITOR);
	ADD_PROPERTY(PropertyInfo(Variant::INT, "subdiv", PROPERTY_HINT_ENUM, "64,128,256,512"), "set_subdiv", "get_subdiv");
	ADD_PROPERTY(PropertyInfo(Variant::VECTOR3, "size", PROPERTY_HINT_NONE, "suffix:m"), "set_size", "get_size");
	ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "camera_attributes", PROPERTY_HINT_RESOURCE_TYPE, "CameraAttributesPractical,CameraAttributesPhysical"), "set_camera_attributes", "get_camera_attributes");
	ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "data", PROPERTY_HINT_RESOURCE_TYPE, "VoxelGIData", PROPERTY_USAGE_DEFAULT | PROPERTY_USAGE_ALWAYS_DUPLICATE), "set_probe_data", "get_probe_data");
	BIND_ENUM_CONSTANT(SUBDIV_64);
	BIND_ENUM_CONSTANT(SUBDIV_128);
	BIND_ENUM_CONSTANT(SUBDIV_256);
	BIND_ENUM_CONSTANT(SUBDIV_512);
	BIND_ENUM_CONSTANT(SUBDIV_MAX);
}
VoxelGI::VoxelGI() {
	voxel_gi = RS::get_singleton()->voxel_gi_create();
	set_disable_scale(true);
}
VoxelGI::~VoxelGI() {
	ERR_FAIL_NULL(RenderingServer::get_singleton());
	RS::get_singleton()->free(voxel_gi);
}