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
- The Editor freezes on RenderGraphViewer.Repaint when entering too many characters in search fields without character limits
- Adding a new SubLayer in Graphics Compositor renders BaseLayer darker and makes it flicker
- DOTS Materials Not Rendering in Player When Using Entity Graphics with Custom SRP
- Sprite Pivot position in Sprite Editor and Scene View do not match when the position is custom
- [HDRP] Unchecking the "Base layer" in Graphics Compositor results in Camera view rendering over the window
Add comment