Search Issue Tracker
Fixed in 12.0.0
Votes
0
Found in [Package]
11.0.0
Issue ID
1307068
Regression
No
[VFX Graph] 'VFXExpressionInverseTRSMatrix used on a not TRS Matrix' exception is thrown when Sample SDF's Size is set to 0
How to reproduce:
1. Create a new HDRP/URP project
2. Import the attached 'Exception.unitypackage' package
3. Open SDFBaker Visual Effect Graph from Exception folder
4. Change any Size (X, Y or Z) value from 5 to 0 of Sample SDF node
Expected result: No errors are thrown to the Console
Actual result: 'InvalidOperationException: VFXExpressionInverseTRSMatrix used on a not TRS Matrix' exception is thrown to the Console
Reproducible with: 2021.2.0a2(11.0.0)
Note:
Error message: 'InvalidOperationException: VFXExpressionInverseTRSMatrix used on a not TRS Matrix
UnityEditor.VFX.VFXExpressionInverseTRSMatrix.Evaluate (UnityEditor.VFX.VFXExpression[] constParents) (at Library/PackageCache/com.unity.visualeffectgraph@11.0.0/Editor/Expressions/VFXExpressionTransform.cs:212)
UnityEditor.VFX.VFXExpression+Context.Compile (UnityEditor.VFX.VFXExpression expression) (at Library/PackageCache/com.unity.visualeffectgraph@11.0.0/Editor/Expressions/VFXExpressionContext.cs:162)
UnityEditor.VFX.VFXExpression+Context+<>c__DisplayClass9_0.<Compile>b__0 (UnityEditor.VFX.VFXExpression e) (at Library/PackageCache/com.unity.visualeffectgraph@11.0.0/Editor/Expressions/VFXExpressionContext.cs:154)
System.Linq.Enumerable+SelectArrayIterator`2[TSource,TResult].ToArray () (at <351e49e2a5bf4fd6beabb458ce2255f3>:0)
System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable`1[T] source) (at <351e49e2a5bf4fd6beabb458ce2255f3>:0)
UnityEditor.VFX.VFXExpression+Context.Compile (UnityEditor.VFX.VFXExpression expression) (at Library/PackageCache/com.unity.visualeffectgraph@11.0.0/Editor/Expressions/VFXExpressionContext.cs:152)
UnityEditor.VFX.VFXExpression+Context+<>c__DisplayClass9_0.<Compile>b__0 (UnityEditor.VFX.VFXExpression e) (at Library/PackageCache/com.unity.visualeffectgraph@11.0.0/Editor/Expressions/VFXExpressionContext.cs:154)
System.Linq.Enumerable+SelectArrayIterator`2[TSource,TResult].ToArray () (at <351e49e2a5bf4fd6beabb458ce2255f3>:0)
System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable`1[T] source) (at <351e49e2a5bf4fd6beabb458ce2255f3>:0)
UnityEditor.VFX.VFXExpression+Context.Compile (UnityEditor.VFX.VFXExpression expression) (at Library/PackageCache/com.unity.visualeffectgraph@11.0.0/Editor/Expressions/VFXExpressionContext.cs:152)
UnityEditor.VFX.VFXExpression+Context+<>c__DisplayClass9_0.<Compile>b__0 (UnityEditor.VFX.VFXExpression e) (at Library/PackageCache/com.unity.visualeffectgraph@11.0.0/Editor/Expressions/VFXExpressionContext.cs:154)
System.Linq.Enumerable+SelectArrayIterator`2[TSource,TResult].ToArray () (at <351e49e2a5bf4fd6beabb458ce2255f3>:0)
System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable`1[T] source) (at <351e49e2a5bf4fd6beabb458ce2255f3>:0)
UnityEditor.VFX.VFXExpression+Context.Compile (UnityEditor.VFX.VFXExpression expression) (at Library/PackageCache/com.unity.visualeffectgraph@11.0.0/Editor/Expressions/VFXExpressionContext.cs:152)
UnityEditor.VFX.VFXExpression+Context.Compile () (at Library/PackageCache/com.unity.visualeffectgraph@11.0.0/Editor/Expressions/VFXExpressionContext.cs:63)
UnityEditor.VFX.VFXExpression+Context.Recompile () (at Library/PackageCache/com.unity.visualeffectgraph@11.0.0/Editor/Expressions/VFXExpressionContext.cs:82)
UnityEditor.VFX.UI.VFXViewController.RecompileExpressionGraphIfNeeded () (at Library/PackageCache/com.unity.visualeffectgraph@11.0.0/Editor/GraphView/Views/Controller/VFXViewControllerExpressions.cs:33)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()'
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note (fix version 12.0.0):
Postpone until Ludovic is back