I get error when I request state authority (shared mode, 1.1.2 Nightly )
The whole answer can be found below.
Try Our
Documentation
Please check if you can find an answer in our extensive documentation on Fusion.
Join Us
on Discord
Meet and talk to our staff and the entire Photon-Community via Discord.
Read More on
Stack Overflow
Find more information on Stack Overflow (for Circle members only).
I get error when I request state authority (shared mode, 1.1.2 Nightly )
SlattBurger
2022-08-24 20:53:06
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 ?
Comments
Isaac_Augusto
2022-08-25 15:07:27
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
SlattBurger
2022-08-26 18:24:07
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.
Back to top