-
Notifications
You must be signed in to change notification settings - Fork 855
[VFX/SG] Fix missing ObjectToWorld using Transform #6475
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
[VFX/SG] Fix missing ObjectToWorld using Transform #6475
Conversation
Missing World To Object matrix requirement
Only in VFX, I don't see other cases where this fix is applicable, maybe DOTS ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looking solid!
Tested:
- Ran VFX FTP SG Scene tests
- Checked other conversions of Transform node (Vertex Stack and Fragment Stack)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just two things that might be good to add, but not necessary.
Rest looks good!
Fix issue #6475 (comment) Fix issue #6475 (comment)
Double check locally at 65a242c (after adjustement) _basic_check.mp4 |
Awaiting for Yamato result before merge ⏳ |
The failure about VFX_URP are expected. |
* Fix TransformNode usage in VFX Missing World To Object matrix requirement * *Update changelog Only in VFX, I don't see other cases where this fix is applicable, maybe DOTS ? * Better filtering of needed transform Fix issue #6475 (comment) Fix issue #6475 (comment) # Conflicts: # com.unity.shadergraph/Editor/Data/Util/SpaceTransformUtil.cs # com.unity.visualeffectgraph/CHANGELOG.md
Backport to 21.2 in blocked , see #6579 |
* Fix TransformNode usage in VFX Missing World To Object matrix requirement * *Update changelog Only in VFX, I don't see other cases where this fix is applicable, maybe DOTS ? * Better filtering of needed transform Fix issue #6475 (comment) Fix issue #6475 (comment) # Conflicts: # com.unity.visualeffectgraph/CHANGELOG.md
* Fix TransformNode usage in VFX Missing World To Object matrix requirement * *Update changelog Only in VFX, I don't see other cases where this fix is applicable, maybe DOTS ? * Better filtering of needed transform Fix issue #6475 (comment) Fix issue #6475 (comment) # Conflicts: # com.unity.visualeffectgraph/CHANGELOG.md
Cancelling the needs-backport-2021.2 because root change isn't available. |
Purpose of this PR
Fix this case 1363279
The VFX relies on these require tranforms to populate local elementToWorld matrix (see here)
Testing status
Tested locally
Before
_before_fix_missing_need_transform.mp4
After
_after_fix_missing_need_transform.mp4
Comments to reviewers
See also this conversation
The changelog is actually only on VFX because I don't see another case where this missing declaration can cause an issue (maybe DOTS ?).