Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  Frequent crash after assign the FluidPassCompute
#10
(14-05-2024, 01:18 PM)josemendez Wrote: Found the cause of the crash: invalid memory access in ComputeFluidMesherSystem.cs, due to indirect command buffers of reused fluid passes not being initialized to zero.

When destroying a existing fluid mesher component and then creating it anew on the same frame, it attempts to render the new one using the old contents of the indirect buffer which points the GPU to invalid memory. This results in undefined behavior, including the possibility of a crash.

Working on a fix, a patch will be available shortly!
Thanks bro, that was fast!
Reply


Messages In This Thread
RE: Frequent crash after assign the FluidPassCompute - by spikebor - 14-05-2024, 02:15 PM