- Home /
Unity 2018 PUN 2 Error
Hi guys, so I just updated to Unity 2018.3, and my main project was developed in Unity 2017.3, the thing here is that I just opened again the project and I have a couple of errors, all indicate the same thing. I can't instantiate a RoomInfo object because it displays the following message:
Assets/Scenes/Online/LobbyScene/Scripts/RoomBScript.cs(32,13): error CS1540: Cannot access protected member
Photon.Realtime.RoomInfo.RoomInfo(string, ExitGames.Client.Photon.Hashtable)' via a qualifier of type
Photon.Realtime.RoomInfo'. The qualifier must be of typeRoomBScript' or derived from it And this, that is almost the same: > Assets/RoomNameS.cs(18,14): error CS0122:
Photon.Realtime.RoomInfo.RoomInfo(string, ExitGames.Client.Photon.Hashtable)' is inaccessible due to its protection level
Does someone knows what can I do?
Your answer
Follow this Question
Related Questions
Player Won't Instantiate with Photon Unity Network [PUN] 0 Answers
How do I set up multiplayer? 0 Answers
How to check distance between two players (photon multiplayer) 2 Answers
Timer in PUN2 1 Answer
How To List Rooms (PUN 2) 1 Answer