Search Issue Tracker
Fixed
Fixed in 6000.0.44f1, 6000.1.0b12, 6000.2.0a8, 7000.0.0a23
Votes
0
Found in
6000.1.0b6
6000.1.0b7
6000.1.0b8
Issue ID
UUM-99281
Regression
No
[VFX Graph] Scene view freeze with infinite NullRef Texture3D
Steps to reproduce:
- Import the provided Package
- Select the VFXG_CandleFlamevfx asset and drop it in a Scene.
- Open the The VFX in a new window.
- Make sure to get both Scene view window and VFX Graph window active.
Actual results: Notice that the console get spammed with this error and that you cannot fly around in the scene anymore.
{code:java}
NullReferenceException: Object reference not set to an instance of an object.
UnityEngine.Bindings.ThrowHelper.ThrowNullReferenceException (System.Object obj) (at <3cd81afcc40f4cc18fb35505f5fc2eb9>:0)
UnityEngine.Texture.GetDimension () (at <3cd81afcc40f4cc18fb35505f5fc2eb9>:0)
UnityEngine.Texture.get_dimension () (at <3cd81afcc40f4cc18fb35505f5fc2eb9>:0)
UnityEditor.VFX.VFXSlotTexture3D.GenerateErrors (UnityEditor.VFX.VFXErrorReporter report) (at ./Library/PackageCache/com.unity.visualeffectgraph@ce719eb6e6e9/Editor/Models/Slots/Implementations/VFXSlotTexture3D.cs:12)
UnityEditor.VFX.VFXErrorReporter.GenerateErrors () (at ./Library/PackageCache/com.unity.visualeffectgraph@ce719eb6e6e9/Editor/Models/VFXErrorManager.cs:155)
UnityEditor.VFX.VFXErrorManager.GenerateErrors () (at ./Library/PackageCache/com.unity.visualeffectgraph@ce719eb6e6e9/Editor/Models/VFXErrorManager.cs:48)
UnityEditor.VFX.VFXGraph.RecompileIfNeeded (System.Boolean preventRecompilation, System.Boolean preventDependencyRecompilation) (at ./Library/PackageCache/com.unity.visualeffectgraph@ce719eb6e6e9/Editor/Models/VFXGraph.cs:1467)
UnityEditor.VFX.UI.VFXViewWindow.Update () (at ./Library/PackageCache/com.unity.visualeffectgraph@ce719eb6e6e9/Editor/GraphView/VFXViewWindow.cs:384)
UnityEditor.HostView.SendUpdate () (at <85775034268147829a57676326841a5a>:0)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at <85775034268147829a57676326841a5a>:0){code}
Expected results: This console error spam shouldn't happen when opening the vfx.
This might be related to VFXGraph Custom Struct and Texture3D handling.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "No GUI Implemented" is displayed when using PhysicsMask with a CustomEditor
- "Report is from another project" popup warning is shown on domain reload when Project Auditor was previously ran in a different project
- Addressables Analyzer flags duplicate resource references from ScriptableObjects incorrectly when the corresponding field has been removed
- "IndexOutOfRangeException" and "NullReferenceException" are thrown and Element disappears from UI Builder when undoing rename of element in "Open Instance in Context" menu
- Select Scriptable Object window freezes and becomes unresponsive when currently opened UXML Template is selected for binding's Data Source
Add comment