Describe the bug
Smoothstep sometimes (but not always) throws the following error.
As it turns out, this error is very common in general, and lies in the way pins are assigned and then not accounted for when arguments on a graph node change positions.
Error: ERROR: Could not get data from previous node, missing cast method from SAMPLE to FLOAT
Happens more often with Operation nodes due to #606 .
To Reproduce
Steps to reproduce the behavior:
- Open the Gaea panel.
- Add a Noise3D node.
- Add a Scalar SampleOp node; it should default to the Add operation.
- Connect Noise3D Noise pin to the SampleOp node's A pin.
- Click eye icon to display preview. Results are correct, no errors.
- Select Smoothstep in the SampleOp's dropdown.
- Set
from argument to 0.4 and to argument to 0.6
- Reconnect Noise3D Noise pin to the SampleOp node's (now repositioned) A pin.
- Click eye icon to display preview. Results are not correct, and there is a Cast error in the Output panel.
- Repeat steps, skipping step 5 and 6. Results are correct, no errors.
Screenshots
Godot Version
v4.6.1 (stable win64)
Gaea Version
v2.0.0-beta6
Additional context
Also reported by @JaydenO in the Discord.
Describe the bug
Smoothstep sometimes (but not always) throws the following error.As it turns out, this error is very common in general, and lies in the way pins are assigned and then not accounted for when arguments on a graph node change positions.
Error:
ERROR: Could not get data from previous node, missing cast method from SAMPLE to FLOATHappens more often with Operation nodes due to #606 .
To Reproduce
Steps to reproduce the behavior:
fromargument to 0.4 andtoargument to 0.6Screenshots
Godot Version
v4.6.1 (stable win64)
Gaea Version
v2.0.0-beta6
Additional context
Also reported by @JaydenO in the Discord.