Search Issue Tracker

Active

Under Consideration for 2020.3.X, 2021.3.X, 2022.2.X

Fixed in 2023.1.0b1

Votes

0

Found in

2020.3.42f1

2021.3.15f1

2022.1.24f1

2022.2.0f1

2023.1.0a21

Issue ID

UUM-20944

Regression

No

[VFX] Crash while assigning mesh with empty index buffer

--

-

Step to repro:
- Import Repro package in URP project with VFX installed
- Open Scene
- Enter Playmode
- Observe crash:

{code:java}
========== OUTPUTTING STACK TRACE ==================

0x00007FF839462848 (Unity) [G:\UnitySrc\Dev_Git\Runtime\GfxDevice\d3d11\DrawBuffersD3D11.cpp:497] GfxDeviceD3D11Base::DrawBuffersIndirect
0x00007FF83E8C6107 (Unity) [G:\UnitySrc\Dev_Git\Runtime\GfxDevice\threaded\GfxDeviceWorker.cpp:2142] GfxDeviceWorker::RunCommand
0x00007FF83E8CE11B (Unity) [G:\UnitySrc\Dev_Git\Runtime\GfxDevice\threaded\GfxDeviceWorker.cpp:409] GfxDeviceWorker::RunExt
0x00007FF83E8CE5F8 (Unity) [G:\UnitySrc\Dev_Git\Runtime\GfxDevice\threaded\GfxDeviceWorker.cpp:366] GfxDeviceWorker::RunGfxDeviceWorker
0x00007FF838A03939 (Unity) [G:\UnitySrc\Dev_Git\Runtime\Threads\Thread.cpp:113] Thread::RunThreadWrapper
0x00007FF941EE74B4 (KERNEL32) BaseThreadInitThunk
0x00007FF9439026A1 (ntdll) RtlUserThreadStart

========== END OF STACKTRACE ===========
{code}

It can be workarounded with assignement of triangle in mesh.

It only reproduces with indirect draw mesh output

See also https://forum.unity.com/threads/vfxgraph-setmesh-crashes-using-mesh-from-script.1371057/

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.