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
- [Happy Harvest] #ThunderLabel text is "\u26C8" instead of "⛈"
- Warning “New Sprite Atlas: There is a mismatch in secondary textures of sprites compared to WhiteUnit, wasting texture space and potentially break draw call batching. Affected Sprites are (Flag)“ is thrown when packing Atlas with Sprite Atlas V2
- Sprite Editor dropdown text is cut-off for options with longer text
- Sprite Editor can't be scrolled horizontally using the trackpad gesture
- BRG picking skips BatchDrawCommandProcedural when selecting the GameObject in the scene
Add comment