Lockstep with raycast modifier

I am developing lockstep game. I use path.BlockUntilCalculated to achieve deterministic pathfinding and it works fine.
But it’s not sync when I add Raycast Modifier Component.

How can I use Raycast Modifier and guarantee deterministic at the sametime?


The raycast modifier is deterministic as long as your physics world is also deterministic. It doesn’t have any randomness in it by itself.