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
- The Editor becomes unresponsive and memory allocation errors are spammed in the Console when Generating Lightning
- Crash on BatchApplyPropertiesFromSourceAssetDB when opening a specific project
- Scene view Camera cannot be moved with WASD/QE keys when the Right Mouse Button is held down and the Mouse is not moved
- Crash when calling default interface method from virtual method with same name
- [Android] Unity does not include the ".aab" extension for an AppBundle when it is built via script with the buildPlayerOptions.locationPathName = "AppName.apk" and EditorUserBuildSettings.buildAppBundle = true
Add comment