Search Issue Tracker
Fixed in 7.6, 8.3, 9.1, 10.1
Votes
0
Found in [Package]
5.13
Issue ID
1154328
Regression
No
[VFXExpression] Infinite recompile when sampling texture twice using UVs made with VFXExpressionRandom(true)
Repro steps:
1. Import the attached package
2. Open the InfiniteRecompile VFX
3. Connect the InfiniteRecompile node's output to the graph
4. Observe an infinite recompile of the effect.
Expected outcome: the effect to compile only once.
Notes:
- Code overview:
//uv = new VFXExpressionCombine(VFXOperatorUtility.FixedRandom(0, true), VFXOperatorUtility.FixedRandom(1, true)); // <=== Works Fine
uv = new VFXExpressionCombine(new VFXExpressionRandom(true), new VFXExpressionRandom(true)); // <=== Causes an infinite recompile
// sample texture twice (issue only repros with two samples)
VFXExpression output1 =new VFXExpressionSampleTexture2D(inputExpression[0], uv, VFXValue.Constant((0f)));
VFXExpression output2 = new VFXExpressionSampleTexture2D(inputExpression[0], uv, VFXValue.Constant((0f)));
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Camera.current returns null when Camera.targetTexture is set to null in OnPostRender
- Crash on BaseHierarchyProperty::Next when opening a specific project
- Shader Compilation for projects with lots of Shaders can be slow (i.e. VFX Graph asset heavy projects)
- The Editor hangs when opening a project that uses local packages and Version Control
- Area Light is culled when Camera Frustrum is outside the lights range
Add comment