1 error after update?
Assets/Photon Unity Networking/UtilityScripts/PunTeams.cs(70,38): error CS0121: The call is ambiguous between the following methods or properties: `TeamHelpers.GetTeam(this PhotonPlayer)' and `TeamExtensions.GetTeam(this PhotonPlayer)'
After updating a rather large project I get this one error. Any ideas why or how to address it?
Thanks
After updating a rather large project I get this one error. Any ideas why or how to address it?
Thanks
0
Best Answer
-
It seems you have this the same extension 2 times in the project.
You can remove our script in the folder UtilityScripts easily, afaik.5
Answers
-
For future reference: A simple over-site, surprised it didn't generate more errors. I failed to move the Utility Scripts folder from the Photon Unity Networking folder to the Plugins folder. Doing so made the error evaporate.0
-
It seems you have this the same extension 2 times in the project.
You can remove our script in the folder UtilityScripts easily, afaik.5 -
Also for future reference, I did not know to tie the ambiguous call error to duplicate files... this is something to keep in mind
Thanks Tobias, you are an awarehouse of knowledge bro!0