Commit cdd6063
[VFX] Incorrect mesh rendered when using multimesh output and exposed submesh mask
When implementing instancing support for exposed meshes and textures, we missed one specific case.
If we use a multimesh output with a exposed submesh mask that comes from a expression tree that can be optimized, the expression will not be registered properly in runtime mode.
if the VFX is compiled in edition mode, the issue will not be visible.1 parent bf85837 commit cdd6063
2 files changed
Lines changed: 6 additions & 2 deletions
File tree
- Packages/com.unity.visualeffectgraph/Editor
- Data
- Models/Contexts
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1368 | 1368 | | |
1369 | 1369 | | |
1370 | 1370 | | |
1371 | | - | |
1372 | | - | |
| 1371 | + | |
| 1372 | + | |
| 1373 | + | |
1373 | 1374 | | |
1374 | 1375 | | |
1375 | 1376 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
106 | 109 | | |
107 | 110 | | |
108 | 111 | | |
| |||
0 commit comments