Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exported Curve fails to update with Project Running (live scene editing bug) #74697

Open
aarongerber opened this issue Mar 10, 2023 · 1 comment

Comments

@aarongerber
Copy link

Godot version

v4.0.stable.official [92bee43]

System information

Windows 10 64-bit operating Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz 4.01 GHz, Installed RAM 32.0 GB (31.9 GB usable)system, x64-based Vulkan API 1.3.205 - Forward Mobile - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce GTX 980 Ti

Issue description

Adjusting an exported Curve with the project running produces the following error:

E 0:00:22:0443 parse_message: Condition "p_args.size() < 10" is true. Returning: ERR_INVALID_DATA
<C++ Source> scene/debugger/scene_debugger.cpp:174 @ parse_message()

ERR_FAIL_COND_V(p_args.size() < 10, ERR_INVALID_DATA);

The console output indicates the curve is not changing, and this is my experience with my game.

This type of feature seems to really need real-time behavior, and appeared to have it in 3.5 per this video: https://www.youtube.com/watch?v=gHT3jsCEiyA&t=241s

I am an extreme novice to GODOT programming. If I am misunderstanding the documentation here, then perhaps it needs to be updated:
https://docs.godotengine.org/en/latest/classes/class_curve.html

Steps to reproduce

  1. Launch MRP (attached below)
  2. Run Project
  3. Adjust Curve

Note a Debug error occurs and the Console Output fails to change

Minimal reproduction project

CurvesFail.zip

@Calinou Calinou changed the title Exported Curve fails to update with Project Running Exported Curve fails to update with Project Running (live scene editing bug) Mar 21, 2023
@Blue-Eclipse
Copy link

Same issue here in Godot 4.0. Found the same video as the OP on using curves in Godot (3.5).

I'm using an exported curve for adjusting the brightness gradient in a shader. Trying to add points or moving them around in the curve while the project is playing gives the exact same error message as the OP found. Nothing gets modified in the project while its running.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants