Not signed in
Copyright © 2026 Unity Technologies
How to reproduce:
Actual result: VFX Graph is corrupted and errors are thrown
Note: No repro on 2022.3, haven't checked 2023.1
Error logs:
NullReferenceException: VFXMemorySerializer::StoreObject failure.
UnityEditor.VFX.VFXMemorySerializer.StoreObjectsToByteArray (UnityEngine.ScriptableObject[] objects, UnityEngine.CompressionLevel compressionLevel) (at <4e8f4f133ae54971a121c59a7ef6acae>:0)
UnityEditor.VFX.VFXGraphPreprocessor.OnCompileResource (UnityEditor.VFX.VisualEffectResource resource) (at C:/Users/vitaskruibyte/Documents/unity/packages/com.unity.visualeffectgraph/Editor/Models/VFXGraph.cs:126)
UnityEditor.VFX.VisualEffectResource.CompileResource () (at <4e8f4f133ae54971a121c59a7ef6acae>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
InvalidOperationException: Sequence contains more than one matching element
System.Linq.Enumerable.SingleOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) (at <418ca55feb5e4d8a82dd99e6126f4b88>:0)
UnityEditor.VFX.UI.VFXViewWindow.GetWindowLambda (System.Func`2[T,TResult] func, System.Boolean createIfNeeded, System.Boolean show)
Exception thrown while invoking [OnOpenAssetAttribute] method 'VisualEffectAssetEditor:OnOpenVFX (int,int)' : NullReferenceException: VFXMemorySerializer::StoreObject failure.
UnityEditor.VFX.VFXMemorySerializer.StoreObjectsToByteArray (UnityEngine.ScriptableObject[] objects, UnityEngine.CompressionLevel compressionLevel) (at <4e8f4f133ae54971a121c59a7ef6acae>:0)
Sign in to see your voted issues