Call plugin error
Options
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
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
0
Best Answers
-
Take a look at the logs when in doubt: "deploy\log\GSGame.log"
Configure your plugin accordingly (in "deploy\LoadBalancing\GameServer\bin\Photon.LoadBalancing.dll.config" file):<PluginSettings Enabled="true"> <Plugins> <Plugin AssemblyName="CustomPlugin.dll" Version="" Type="CustomPlugin.PluginFactory" /> </Plugins> </PluginSettings>
Copy plugins DLLs (CustomPlugin.dll + PhotonHivePlugin.dll + any other required files) from "bin\Debug" to expected folder:
"deploy\Plugins\CustomPlugin\bin"5 -
Thanks now it working0
Answers
-
Hi @doolangames,
It seems the PluginManager can't find the plugin DLL you configured take a look at the GameServer logs.0 -
It happen to when i set plugin to "TestPlugin" which provided by photon in project . what should i do??0
-
It happen to when i set plugin to "TestPlugin" which provided by photon in projectI don't get it. What is your plugins configuration in "Photon.LoadBalancing.dll.config"? Where did you copy the plugins DLL?0
-
0
-
Take a look at the logs when in doubt: "deploy\log\GSGame.log"
Configure your plugin accordingly (in "deploy\LoadBalancing\GameServer\bin\Photon.LoadBalancing.dll.config" file):<PluginSettings Enabled="true"> <Plugins> <Plugin AssemblyName="CustomPlugin.dll" Version="" Type="CustomPlugin.PluginFactory" /> </Plugins> </PluginSettings>
Copy plugins DLLs (CustomPlugin.dll + PhotonHivePlugin.dll + any other required files) from "bin\Debug" to expected folder:
"deploy\Plugins\CustomPlugin\bin"5 -
Thanks now it working0