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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Resolution Note (fix version 12.0.0):
Postpone until Ludovic is back