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

Editor incorrectly evaluates a curve set #1216

Open
LeXXik opened this issue Oct 25, 2024 · 0 comments
Open

Editor incorrectly evaluates a curve set #1216

LeXXik opened this issue Oct 25, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@LeXXik
Copy link

LeXXik commented Oct 25, 2024

Under some conditions, the Editor creates a Curve instead of a CurveSet, which breaks the app.

Forum: https://forum.playcanvas.com/t/weird-issues-with-the-curve-attribute-in-editor/38029/5
Repro: https://playcanvas.com/project/1269201/overview/curve-set-issue

Steps:

  1. Launch app, and click Play in UI.
  2. Depending on the current state in Editor, the box will animate or not.
  3. Select the box in Editor and add a new array element to the motion script attribute (keep defaults).
  4. Launch app, and click Play in UI screen. The box will fail to animate, as the Editor creates a Curve, instead of CurveSet for the position field.
@mvaligursky mvaligursky added the bug Something isn't working label Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants