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

Best Answer

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.
  • 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!