Cannot import pun 2 without 'ExitGames' namespace not found error.
Options
Whenever I import pun 2 into unity (imported through the asset store and is definitely Pun2) I get the error:
Assets/Photon/PhotonChat/Code/ChatClient.cs(16,11): error CS0246: The type or namespace name `ExitGames' could not be found. Are you missing a using directive or an assembly reference?
as well as 15 similar ones.
I've tried switching between VS 2019 and 2015 as well as monodevelop (for each I started a completely new project and got the same set of errors every time). Other people online have had the same issue but none seem to have a decent solution.
Assets/Photon/PhotonChat/Code/ChatClient.cs(16,11): error CS0246: The type or namespace name `ExitGames' could not be found. Are you missing a using directive or an assembly reference?
as well as 15 similar ones.
I've tried switching between VS 2019 and 2015 as well as monodevelop (for each I started a completely new project and got the same set of errors every time). Other people online have had the same issue but none seem to have a decent solution.
0
Comments
-
https://ibb.co/K6LnfCV - screenshot0
-
It turns out I was using a very outdated version of unity (Unity said it was up to date but in reality I was using the most up to date version of an old edition of unity).0