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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note (fix version 12.0.0):
Postpone until Ludovic is back