playMaker

Author Topic: PlayMaker v1.5.0 Photon 'Room' import error  (Read 2190 times)

Artisan

  • Playmaker Newbie
  • *
  • Posts: 6
PlayMaker v1.5.0 Photon 'Room' import error
« on: February 15, 2013, 04:09:56 AM »
I just imported the new v1.5.0 in and it gave me an error :

Assets/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs(67,12): Warning CS0436: The type 'Room' conflicts with the imported type 'Room'. Ignoring the imported type definition.

I am currently using Unity v3.5.7.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: PlayMaker v1.5.0 Photon 'Room' import error
« Reply #1 on: February 15, 2013, 07:39:48 AM »
That means your project defines a Room type and Photon does too. If you don't plan to use Photon in the project, you can just delete the Photon Unity Networking directory, and that should fix the error. If you want to uses Photon, you will need to rename the Room type in your project... I'll let Exit Games know about this potential conflict in Photon (I can imagine Room being a fairly common type in many projects!)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: PlayMaker v1.5.0 Photon 'Room' import error
« Reply #2 on: February 15, 2013, 08:25:07 AM »
Hi,

 Yes it is common, I got the same problem with an util class clashing with Vuforia AR framework, and few other instances but that was a long time ago, can't remember, I think it was Pool Manager 2 or ezgui, can't remember.


bye,

 Jean