02-02-2026, 11:56 AM
Quote:In case of stitches there's no "original" (actor/blueprint) copy. We deal with the solver batch directly.
I think this is cause of my problems described in the other thread. Stitcher can be disabled during simulation, and the same happens on destroy and on application quit (called also when exiting playmode). Solver removes actors, but it does not take into account that simulation is still running and doing this is not allowed:
ObiStitcher
Code:
lambdas.Dispose();
particleIndices.Dispose();
stiffnesses.Dispose();ObiSolver
Code:
private void OnDestroy()
{
// Remove all actors from the solver. This will trigger Teardown() when the last actor is removed.
while (actors.Count > 0)
RemoveActor(actors[actors.Count - 1]);
}The fact I need to manage data for simulation this way isnot just clunky, but does not work, so I hope there will be proper improvement in Obi 8.
Is there reasonable way to manage this with older obi versions?

