27-04-2021, 07:14 AM
(24-04-2021, 11:13 AM)momns Wrote: Thank you for your very quick reply, I appreciate it.
I'll share the Editor.log with you, it contains excerpts from just before and after the crash.
I also tried converting the particles to granular, but the crash still occurred.
Code:for (int i = 0; i < emitter.solverIndices.Length; ++i){
int solverIndex = emitter.solverIndices[i];
emitter.solver.phases[solverIndex] &= (int)(~Oni.ParticleFlags.Fluid);
emitter.solver.invMasses[solverIndex] = 0;
}
Hi there,
Just tried the same code, but I'm unable to reproduce the bug. This works correctly for me.
Would it be possible for you to share the scene that causes this issue? You can send it to support(at)virtualmethodstudio.com.