Search Issue Tracker
Fixed
Fixed in 2022.2.16f1, 2023.1.0b1
Votes
0
Found in
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/
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Highlighter.Highlight does not find window when using class name as window title
- Highlighter.Highlight highlights a different component when multiple components have the same property path
- Highlighter.Highlight does not find elements in an array or list when the array or list is collapsed
- [URP][NRP] RenderPass, BeginSubPass, and EndRenderPass errors are thrown when Native RenderPass is enabled
- D3D11 swapchain error pop-up appears and the Editor shuts down when Generating Lighting with Probe Volumes present
Add comment