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
- Player build freezes after calling Application.Quit() when the scripting backend is set to IL2CPP
- Texture is not applied on a Custom Render Texture when a Cubemap is selected as the texture
- 2D light leaks through ShadowCaster2D when ShadowCaster2D components are disabled then re enabled at runtime in Player builds
- Unity Hub redirects to The Unity Roadmap when navigating to “Send Feedback” option
- UI Toolkit throws warning and fails to clear references when fields are not typed as UnityEngine.Object
Add comment