Search Issue Tracker
Duplicate
Votes
0
Found in [Package]
12.0
Issue ID
1346829
Regression
Yes
[VFX graph] Crash on VFXMemorySerializerBindings::StoreObjectsToByteArray
How to reproduce:
0. Set up master or vfx/staging in manifest.json
1. Open the attached project
2. Open VFX asset
3. Create Set Position(Shape:AABox) block in Initialize and convert it to subgraph Block
4. Open created Subgraph and connect AABox operator to Set Position(Shape:AABox) block
5. Expose AABox inline operator and save the subgraph
6. Double click VFX asset
7. --Observe the crash
Reproduced on: 2022.1.0a1(master)
A few lines from the stacktrace:
0x00007ff6d25a2229 (Unity) VFXMemorySerializerBindings::StoreObjectsToByteArray
0x00007ff6d0720946 (Unity) VFXMemorySerializer_CUSTOM_StoreObjectsToByteArray
0x000002a890825885 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.VFX.VFXMemorySerializer:StoreObjectsToByteArray (UnityEngine.ScriptableObject[],UnityEngine.CompressionLevel)
0x000002a890825613 (Mono JIT Code) [VFXGraph.cs:363] UnityEditor.VFX.VFXGraph:Backup ()
0x000002a890825083 (Mono JIT Code) [VFXViewControllerUndo.cs:23] UnityEditor.VFX.UI.VFXGraphUndoStack:.ctor (UnityEditor.VFX.VFXGraph)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
- Graphics Compositor breaks Unity rendering when the "Output Camera" is changed to a scene Camera and one Camera SubLayer is active
- The Editor freezes on RenderGraphViewer.Repaint when entering too many characters in search fields without character limits
- Adding a new SubLayer in Graphics Compositor renders BaseLayer darker and makes it flicker
This is a duplicate of issue #1345426