Search Issue Tracker

Active

Under Consideration for 2023.2.X

Votes

0

Found in

2023.2.0a7

Issue ID

UUM-31445

Regression

No

Crash on VFXMemorySerializer::StoreObjects when switching between Lit and Unlit Outputs with SG assigned

-

 

How to reproduce:

[Short repro]

  1. Switch between Lit, Unlit Mesh, Quad, Lit Quad outputs multiple times, ~10 should be good
  2. Along the way while switching change some random settings in Output Inspector
  3. Click Output Inspector then click on the graph view empty space continuously until you notice editor starts freezing and then crash

 

[Long repro]

  1. Open the attached project
  2. Convert Lit Mesh to Lit Mesh (yeah, lit mesh)
  3. Convert to Unlit Mesh (Observe inspector - It is a scriptable object of VFX Mesh Output; now take a look at the Output name - it says Lit Mesh Output)
  4. Convert Unlit Mesh
  5. Convert to Unlit Mesh
  6. Convert to Lit Mesh
  7. Convert to Unlit Mesh
  8. Convert to Lit Quad
  9. Convert to Mesh
  10. Check Transparent Depth Prepass in theInspector
  11. Check LOD box in the Inspector
  12. Undo everything
  13. Click Lit Mesh Output
  14. Click in Graph View empty space
  15. Click Lit Mesh Output
  16. [repeat 14-15 actions until it crash the Editor]

 

 

Obtained 3 stack frames.

#0 0x00000106577544 in VFXMemorySerializer::StoreObjects(dynamic_array<PPtr<MonoBehaviour>, 0ul>)

#1 0x0000010657894d in VFXMemorySerializerBindings::StoreObjectsToByteArray(dynamic_array<PPtr<MonoBehaviour>, 0ul>, CompressionLevel)

#2 0x000001042f940c in VFXMemorySerializer_CUSTOM_StoreObjectsToByteArray(ScriptingBackendNativeArrayPtrOpaque, CompressionLevel, BindingsArrayHandleOnStack)

 

 

Note:

  • Crash is consistent but reproduction is quite unpredictable
  • Visuals of repro are in the attachments section

Add comment

Log in to post comment