Custom attribute type is not preserved when inserting a template to the VFX
Unity: Visual Effects
Open
6.4.X
6.3.X
6.0.X
Fixed
6.5.X
Won't Fix
6.2.X
Fixed in 6000.7.0a6
Unity 6000.2 has reached its end of life and will not receive further updates. If you need additional fixes, please upgrade to a newer Unity version.
Steps to reproduce:
Import the attached VFX
Open VFX.vfx and Template.vfx
Navigate in VFX toolbar > click the dropdown arrow next to '+' sign > select Insert tempplate
Select Template.vfx template to VFX.vfx from the VFX Template Window
Observe the Blackboard of both VFX
Actual results: initPos is type of float in VFX.vfx
Expected results: initPos is type of Vector3 in VFX.vfx
Reproducible with versions: 6.0, 6.2, 6.3, 6.4
Not reproducible with versions:
Can’t test with versions:
Tested on (OS): macOS
Notes:
The same result is applied if a learning template
Also shader errors are thrown (errors are not reproducible in 6000.0.47f1) and Arm Strip is not rendered when inserting a template for the first time, for the second time it displays both pliers and arms. Adjusting type of InitPos and saving, asset re-import didn't help. Shader errors:
Shader error in '': undeclared identifier '_StripRatio' at kernel CSMain at line 157 (on metal)
.compute: Kernel at index (0) is invalid
Prioritise and Follow this issue
Have a workaround or additional info about this issue?