Possible that SyncedDestroy de-syncs game?
I have this method 'BallTouched', and if I uncomment line 1 game will work fine, stay synchronized.
If I uncomment line 2, game will go out of sync.
If I uncomment line 2, game will go out of sync.
public override void BallTouched(BallController ball) { Debug.Log("BallTouched triggered.", ball.gameObject); // line 1: // ball.tsRigidBody.position = new TSVector2(ball.tsRigidBody.position.x, ball.tsRigidBody.position.y+(FP)1); // line 2: // TrueSyncManager.SyncedDestroy(ball.gameObject); }The method is called from inside 'OnSyncedTriggerEnter', and nothing else is done or called from that method (before or after 'BallTouched' method.
0
Comments
-
Humm did you enable rollbacks? if so can you test with that turned off? Thanks @Kreso.0
-
Thanks guys for useful information0
-
@JeffersonHenrique no rollbacks = no problem. This happens only with rollback set.
0 -
@Kreso, I am suspicious about "SyncedDestroy" on rollbacks, I am checking what is going on.0
-
Thanks @JeffersonHenrique, let me know what you find!0