PUN: InvalidCastException

Orlando Allen

New member
Screenshot (15).png
Screenshot (16).png


Unity Version: 2019.2.12f1
UCC Version: 2.1.9
PUN MP Add-On Version: 1.0.3

When I instantiate 3 or more players, the 3rd and above players can't see the 1st and 2nd players but the 1st and 2nd players can see them and i get the following error shown in the image.
 
Last edited:

Justin

Administrator
Staff member
I just built a PUN game with three different instances and didn't get any errors. Can you tell me how to reproduce it from the demo scene?
 

Orlando Allen

New member
I use two build to connect first and then connect with the editor which would be the 3rd player and the error would show in the console
 

Justin

Administrator
Staff member
Thanks for letting me know! I just uploaded a new version to the Asset Store (and Opsive Store) that has this fixed. Instead of going through the whole release cycle I used the same version since it fixes a fix that was already mentioned in the current version. If you download the most recent version from the store you should be good to go.
 
Top