Search Issue Tracker
Fixed
Fixed in 6000.0.6f1, 7000.0.0a1
Votes
0
Found in
6000.0.1f1
7000.0.0a1
Issue ID
UUM-71490
Regression
No
[VFX] Custom HLSL with 'int' parameter, without the 'in/out/inout' access modifier is not supported
*Steps to reproduce:*
1. Create a new VFX Graph
2. Add a Custom HLSL block
3. Open the HLSL code editor by clicking on the edit button
4. Copy / paste the function below:
{noformat}
void CustomHLSL(inout VFXAttributes attributes, int e)
{
//Nothing
}
{noformat}
\\
*Actual results:*
The VFX does not compile (the int type is misinterpreted as in access modifier)
*Expected results:*
The VFX compiles fine
\\
*Reproducible with versions:*
6000.01f1
*Not reproducible with versions:*
*Can’t test with versions:*
2022.x and 2021.x, the feature did not exist
\\
*Tested on (OS):*
Windows, but should not be OS dependent.
\\
*Notes:*
At least, there's an error feedback in that case, but the message is not really accurate.
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
- Inconsistent behaviour when interacting with different dropdown types with pointer events on parent Visual Element
- Hidden GameObjects won't re-enable when they have call "DontDestroyOnLoad" function
- Overlay Canvas are rendered on each split-screen camera when HDR is enabled
- [Android] The Player loses focus when using UnityEngine.Handheld.StartActivityIndicator() with Facebook SDK
- Build fails with "Building Library/Bee/artifacts/MacStandalonePlayerBuildProgram/gahcy/hj9mx3z/951.0 failed with output:..." errors when Scripting Backend is set to IL2CPP
Resolution Note (fix version 6000.0.6f1):
Verified on build 6000.0.6f1