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
- Frame Debugger is not disabled when switching Scenes if the Frame Debugger window is not open during the transition
- Standalone Profiler Targets another Project if a Standalone Profiler was launched in it before when switching between Edit or Play Mode Targets
- Crash on ForwardRenderLoopJob when opening a specific project
- [Android] Memory leak and eventual crash on Snapdragon 8 Gen 1+ devices when a Clear Pass is executed after Framebuffer Fetch
- PhysicsRaycaster ray length is incorrect when casting from rotated Camera
Add comment