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
- Editor crash on "PPtr<Shader>::operator Shader*() const" when checking in changes with a very long comment in Unity Version Control window
- [Ubuntu] Toolbar and menu items for Version Control lack spaces in text on Linux
- Unity Version Control window Pending Changes tab’s Item checkbox is unresponsive when clicked and the item list is empty
- Audio stuttering occurs when heavy processing is performed while OnAudioFilterRead is in use
- Inconsistent Node search results in VFX Graph
Add comment