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
- Inspector scroll area stretches when using components with nested serialized arrays on FBX model prefab instances
- Crash on ConstraintProjectionTree::projectionTreeBuildStep when ConfigurableJoint uses JointProjectionMode.PositionAndRotation and connected Rigidbody switches from kinematic to non-kinematic
- ScriptableObject asset is accessed during the lookup of Build Profiles when opening the Build Profiles Window
- [Multiplayer TPS Sample] Grenade launcher explosion misses the Player when the Collider count exceeds HitColliderBuffer
- OS Notification Documentation is missing when following hyperlink in Notifications Settings in Hub
Resolution Note (fix version 12.0.0):
Postpone until Ludovic is back