Call plugin error

doolangames
edited August 2017 in Photon Server
Hai guys, can any one tell me what is wrong with this

Operation failed: OperationResponse 227: ReturnCode: 32751 (Plugin Mismatch requested='CustomPlugin' got ErrorPlugin with message:'PluginManager initialization failed.')

Iam following tutorial this page
and I am using unity to create room with this code:

RoomOptions RO = new RoomOptions();
RO.MaxPlayers = 4;
ExitGames.Client.Photon.Hashtable CustomRoomProperties = new ExitGames.Client.Photon.Hashtable();
CustomRoomProperties.Add("Password", passwordField.text);
CustomRoomProperties.Add("Play",false);
RO.CustomRoomProperties = CustomRoomProperties;
RO.CustomRoomPropertiesForLobby = new string[] { "Password","Play"};
RO.PublishUserId = true;
RO.Plugins = new string[] { "CustomPlugin" };
PhotonNetwork.CreateRoom(name, RO, TypedLobby.Default);

Please tell me how it's work thanks

Best Answers

  • doolangames
    Answer ✓
    Thanks now it working :D:D:D

Answers

  • JohnTube
    JohnTube ✭✭✭✭✭
    Hi @doolangames,

    It seems the PluginManager can't find the plugin DLL you configured take a look at the GameServer logs.
  • It happen to when i set plugin to "TestPlugin" which provided by photon in project . what should i do??
  • JohnTube
    JohnTube ✭✭✭✭✭
    It happen to when i set plugin to "TestPlugin" which provided by photon in project
    I don't get it. What is your plugins configuration in "Photon.LoadBalancing.dll.config"? Where did you copy the plugins DLL?
  • doolangames
    edited August 2017
    Sorry if you don't understand what iam talking about. this ss for my problem

    Full Image
  • doolangames
    Answer ✓
    Thanks now it working :D:D:D