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
- [Linux][Plastic SCM] Unity Version Control window text is replaced by the key names of the labels and buttons
- [Android] Unstable FPS on a Player with an empty URP Scene when launched on Samsung S9
- Profiler fails to pull data from the Player when Building And Running a development build
- ARM64 build fails when Script Debugging is enabled
- LOD Group Component Meshes do not change when the Scene view is closed
Add comment