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
- Normals from other Sorting Layers are passed to "CameraSortingLayerTexture" when 2D Light is used
- Animation events trigger twice when using blend trees with non-zero weights
- The Physics Material Dynamic Friction field tooltip is set to one of Friction Combine field
- [Android][Mobile Notifications] The Player freezes or crashes when calling "AndroidNotificationCenter.GetNotificationChannel" every frame
- Tile Palette selected dropdown text does not update when palette is renamed
Add comment