I get error when I request state authority (shared mode, 1.1.2 Nightly )
I get this error when I try to Request state authority from NetworkObject:
AssertException: Exception of type 'Fusion.AssertException' was thrown. Fusion.Assert.Check (System.Boolean condition
Line that causes this error:
pItem.GetComponent<NetworkObject>().RequestStateAuthority();
What this could be caused by ?
0
Best Answer
-
Found out I got this error because NetworkObject I was trying to request authority from was not registered in NetworkRunner, so my problem is solved. Thank you for your time.
0
Answers
-
Hi,
Please, send the full log.
Where is this line called from? FixedUpdateNetwork? A callback from the NetworkRunner? Do the NetworkObject has
AllowStateAuthorityOverride
enabled?-----
Isaac Augusto
Photon Fusion Team
0 -
Found out I got this error because NetworkObject I was trying to request authority from was not registered in NetworkRunner, so my problem is solved. Thank you for your time.
0