Closed LijpeLynn closed 3 years ago
@LijpeLynn is this issue happening because not all network object arrays in the networkmanager have a prefab assigned?
Still happening with me, exact same behaviour
could you share a project that reproduces the issue please?
I solved the problem
@LijpeLynn How you solved it?
@FpardoLearning I fixed it by not having multiple NetworkBehaviors on one GameObject.
Version Number and Operating System(s):
Forge Networking Remastered Version 03/10/2018-19.53.38,04 Unity 2018.3.8f1 Personal
Expected behavior:
The client joins without an InvalidCastException.
Actual behavior:
The client joins with an InvalidCastException, this error refers to the SyncPlayerNetworkObject. As a result the clients game experience is not what it should be.
Steps to reproduce:
Download Link: Download Build and run the project, host the game with the builded one and connect with Unity in play mode. Click the start game button on the host.
[Optional] Discord Username:
Lijpe Lynn#4689