114-71 Errors when building UWP photon 2.22
Hello, i recently tried to build out my hololens project from unity and the build fails and throws out 114 errors with the chatapp and 71 without the chatapp.
Most of the errors are 'Type namespace name 'something' could not be found.
I have a list of the errors below. These errors are being thrown in a fresh project(2020 and 2019) where photon is the only package installed, and the only thing in the project.
Most of the errors are 'Type namespace name 'something' could not be found.
I have a list of the errors below. These errors are being thrown in a fresh project(2020 and 2019) where photon is the only package installed, and the only thing in the project.
Assets\Photon\PhotonChat\Code\ChatAppSettings.cs(17,11): error CS0246: The type or namespace name 'ExitGames' could not be found (are you missing a using directive or an assembly reference?) Assets\Photon\PhotonChat\Code\ChatChannel.cs(17,23): error CS0246: The type or namespace name 'ExitGames' could not be found (are you missing a using directive or an assembly reference?) Assets\Photon\PhotonChat\Code\ChatChannel.cs(18,26): error CS0246: The type or namespace name 'ExitGames' could not be found (are you missing a using directive or an assembly reference?) Assets\Photon\PhotonChat\Code\ChatClient.cs(19,23): error CS0246: The type or namespace name 'ExitGames' could not be found (are you missing a using directive or an assembly reference?) Assets\Photon\PhotonChat\Code\ChatClient.cs(20,26): error CS0246: The type or namespace name 'ExitGames' could not be found (are you missing a using directive or an assembly reference?) 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?) Assets\Photon\PhotonChat\Code\ChatPeer.cs(19,23): error CS0246: The type or namespace name 'ExitGames' could not be found (are you missing a using directive or an assembly reference?) Assets\Photon\PhotonChat\Code\ChatPeer.cs(20,26): error CS0246: The type or namespace name 'ExitGames' could not be found (are you missing a using directive or an assembly reference?) Assets\Photon\PhotonChat\Code\ChatPeer.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?) Assets\Photon\PhotonChat\Code\IChatClientListener.cs(11,11): error CS0246: The type or namespace name 'ExitGames' could not be found (are you missing a using directive or an assembly reference?) Assets\Photon\PhotonChat\Code\ChatClient.cs(41,31): error CS0246: The type or namespace name 'IPhotonPeerListener' could not be found (are you missing a using directive or an assembly reference?) Assets\Photon\PhotonChat\Code\ChatPeer.cs(27,29): error CS0246: The type or namespace name 'PhotonPeer' could not be found (are you missing a using directive or an assembly reference?) Assets\Photon\PhotonChat\Code\IChatClientListener.cs(25,26): error CS0246: The type or namespace name 'DebugLevel' could not be found (are you missing a using directive or an assembly reference?) Assets\Photon\PhotonChat\Code\ChatAppSettings.cs(43,16): error CS0246: The type or namespace name 'ConnectionProtocol' could not be found (are you missing a using directive or an assembly reference?) Assets\Photon\PhotonChat\Code\ChatAppSettings.cs(46,16): error CS0246: The type or namespace name 'DebugLevel' could not be found (are you missing a using directive or an assembly reference?) Assets\Photon\PhotonChat\Code\ChatPeer.cs(46,25): error CS0246: The type or namespace name 'IPhotonPeerListener' could not be found (are you missing a using directive or an assembly reference?) Assets\Photon\PhotonChat\Code\ChatPeer.cs(46,55): error CS0246: The type or namespace name 'ConnectionProtocol' could not be found (are you missing a using directive or an assembly reference?) Assets\Photon\PhotonChat\Code\ChatPeer.cs(36,44): error CS0246: The type or namespace name 'ConnectionProtocol' could not be found (are you missing a using directive or an assembly reference?) Assets\Photon\PhotonChat\Code\ChatClient.cs(936,14): error CS0246: The type or namespace name 'IPhotonPeerListener' could not be found (are you missing a using directive or an assembly reference?) Assets\Photon\PhotonChat\Code\ChatClient.cs(941,14): error CS0246: The type or namespace name 'IPhotonPeerListener' could not be found (are you missing a using directive or an assembly reference?) Assets\Photon\PhotonChat\Code\ChatClient.cs(977,14): error CS0246: The type or namespace name 'IPhotonPeerListener' could not be found (are you missing a using directive or an assembly reference?) Assets\Photon\PhotonChat\Code\ChatClient.cs(1006,14): error CS0246: The type or namespace name 'IPhotonPeerListener' could not be found (are you missing a using directive or an assembly reference?) Assets\Photon\PhotonChat\Code\ChatClient.cs(166,16): error CS0246: The type or namespace name 'ConnectionProtocol' could not be found (are you missing a using directive or an assembly reference?) Assets\Photon\PhotonChat\Code\ChatClient.cs(189,27): error CS0246: The type or namespace name 'ConnectionProtocol' could not be found (are you missing a using directive or an assembly reference?) Assets\Photon\PhotonChat\Code\ChatClient.cs(926,16): error CS0246: The type or namespace name 'DebugLevel' could not be found (are you missing a using directive or an assembly reference?) Assets\Photon\PhotonChat\Code\ChatClient.cs(1162,48): error CS0246: The type or namespace name 'EventData' could not be found (are you missing a using directive or an assembly reference?) Assets\Photon\PhotonChat\Code\ChatClient.cs(1194,46): error CS0246: The type or namespace name 'EventData' could not be found (are you missing a using directive or an assembly reference?) Assets\Photon\PhotonChat\Code\ChatClient.cs(1215,43): error CS0246: The type or namespace name 'EventData' could not be found (are you missing a using directive or an assembly reference?) Assets\Photon\PhotonChat\Code\ChatClient.cs(1263,45): error CS0246: The type or namespace name 'EventData' could not be found (are you missing a using directive or an assembly reference?) Assets\Photon\PhotonChat\Code\ChatClient.cs(1276,41): error CS0246: The type or namespace name 'OperationResponse' could not be found (are you missing a using directive or an assembly reference?) Assets\Photon\PhotonChat\Code\ChatClient.cs(1368,41): error CS0246: The type or namespace name 'EventData' could not be found (are you missing a using directive or an assembly reference?) Assets\Photon\PhotonChat\Code\ChatClient.cs(1440,50): error CS0246: The type or namespace name 'EventData' could not be found (are you missing a using directive or an assembly reference?) Assets\Photon\PhotonChat\Code\ChatClient.cs(1472,48): error CS0246: The type or namespace name 'EventData' could not be found (are you missing a using directive or an assembly reference?) Assets\Photon\PhotonChat\Code\ChatClient.cs(199,57): error CS0246: The type or namespace name 'ConnectionProtocol' could not be found (are you missing a using directive or an assembly reference?) Assets\Photon\PhotonChat\Code\ChatClient.cs(936,46): error CS0246: The type or namespace name 'DebugLevel' could not be found (are you missing a using directive or an assembly reference?) Assets\Photon\PhotonChat\Code\ChatClient.cs(936,14): error CS0538: 'IPhotonPeerListener' in explicit interface declaration is not an interface Assets\Photon\PhotonChat\Code\ChatClient.cs(941,42): error CS0246: The type or namespace name 'EventData' could not be found (are you missing a using directive or an assembly reference?) Assets\Photon\PhotonChat\Code\ChatClient.cs(941,14): error CS0538: 'IPhotonPeerListener' in explicit interface declaration is not an interface Assets\Photon\PhotonChat\Code\ChatClient.cs(977,54): error CS0246: The type or namespace name 'OperationResponse' could not be found (are you missing a using directive or an assembly reference?) Assets\Photon\PhotonChat\Code\ChatClient.cs(977,14): error CS0538: 'IPhotonPeerListener' in explicit interface declaration is not an interface Assets\Photon\PhotonChat\Code\ChatClient.cs(1006,50): error CS0246: The type or namespace name 'StatusCode' could not be found (are you missing a using directive or an assembly reference?) Assets\Photon\PhotonChat\Code\ChatClient.cs(1006,14): error CS0538: 'IPhotonPeerListener' in explicit interface declaration is not an interface Assets\Photon\PhotonChat\Code\ChatClient.cs(199,87): error CS0103: The name 'ConnectionProtocol' does not exist in the current context
0
Comments
-
Did you end up getting any response to this?0
-
Turns out setting the PhotonLibs>Metro>Photon3Unity3D to IL2CPP scripting backend will get rid of the errors. Not ideal thouhg.0
-
I'm getting the same error while trying to build a project for xbox, but don't know where PhotonLibs>Metro>Photon3Unity3D is0