Search Issue Tracker

By Design

Votes

0

Found in [Package]

11.0.0

Issue ID

1296625

Regression

No

[VFX Graph] 'Get Attribute:position' is of type Vector3 and not Position, which removes its Space attribute

Package: Visual Effect Graph

-

Reproduction steps:
1. Open attached project "Issue1296625.zip" and scene "Scene"
2. In Project window, open Assets/Bounce.vfx
3. In Scene View, observe "Bounce" GameObject
3. In Visual Effect Graph window, set "Update Particle's" "Set Velocity" node's space to World
4. In Scene View, observe "Bounce" GameObject

Expected result: The particles maintain the same velocity
Actual result: The particles lose their velocity

Reproducible with: 10.2.2 (2020.2.3f1), 11.0.0 (2021.1.0b5, 2021.2.0a3)
Could not test with: 2018.4.31f1, 2019.4.19f1 (project breaks on package downgrade)

Note:
The Space attribute is also missing in 'Get Attribute:velocity' and 'targetPosition' nodes

  1. Resolution Note:

    As the get attribute can be linked to systems with different space, attributes getter cannot carry space and space has to be handled manually in the graph.

    The problem is that the same subgraph can be plugged into both a local and a world system. Additionally, the space is static and unique for a given expression set. So we have no way to change that at the moment. We are aware of this limitation, but fixing it requires some work with space propagation. There are, however, plans in the future to fix this limitation.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.