### Godot version

4.1

### System information

Windows 11 AMD (Forward +)

### Issue description

Whenever I correct color via World Enviornment adjustments with a Curve, I get the error: 
E 0:00:02:0794   parse_message: Condition "p_args.size() < 10" is true. Returning: ERR_INVALID_DATA
  <C++ Source>   scene/debugger/scene_debugger.cpp:177 @ parse_message()

![image](https://github.com/godotengine/godot/assets/23708144/1b9d2c43-cf39-468c-bbdb-39ebb4521a41)

This is similar to #74697, where a curve was exported.
What is unclear to me:
Is the color correction correct? What is the meaning of the error? This does not happen in Godot3.

### Steps to reproduce

1. Open project and run it
2. Go to Camera, World Environment, Adjustments and Color Correction
3. Change points in Curve
Alternatively:
1. Change Curve to Gradient and run it
2. Change Gradient while running

### Minimal reproduction project

[ramp_test.zip](https://github.com/godotengine/godot/files/12082129/ramp_test.zip)

} else if (p_msg == "override_camera_3D:set") {
		ERR_FAIL_COND_V(p_args.size() < 1, ERR_INVALID_DATA);
		bool enable = p_args[0];
		scene_tree->get_root()->enable_camera_3d_override(enable);
	} else if (p_msg == "override_camera_3D:transform") {
		ERR_FAIL_COND_V(p_args.size() < 5, ERR_INVALID_DATA);
		Transform3D transform = p_args[0];
		bool is_perspective = p_args[1];
		float size_or_fov = p_args[2];
		float near = p_args[3];
		float far = p_args[4];
		if (is_perspective) {
			scene_tree->get_root()->set_camera_3d_override_perspective(size_or_fov, near, far);
		} else {
			scene_tree->get_root()->set_camera_3d_override_orthogonal(size_or_fov, near, far);
		}
		scene_tree->get_root()->set_camera_3d_override_transform(transform);
#endif 
	} else if (p_msg == "set_object_property") {
		ERR_FAIL_COND_V(p_args.size() < 3, ERR_INVALID_DATA);
		_set_object_property(p_args[0], p_args[1], p_args[2]);
	} else if (!p_msg.begins_with("live_")) { 
		return ERR_SKIP;
	} else if (p_msg == "live_set_root") {
		ERR_FAIL_COND_V(p_args.size() < 2, ERR_INVALID_DATA);
		live_editor->_root_func(p_args[0], p_args[1]);
	} else if (p_msg == "live_node_path") {
		ERR_FAIL_COND_V(p_args.size() < 2, ERR_INVALID_DATA);
		live_editor->_node_path_func(p_args[0], p_args[1]);
	} else if (p_msg == "live_res_path") {