Quantcast
Channel: Photon Server — Photon Engine
Viewing all articles
Browse latest Browse all 1557

How use TestPlugins Source

$
0
0
Hello everyone!

I'm having trouble understanding the proper way to load a plugin on "create a room".

I'm following the official manual for creating plugins, and I have also accompanied the sources files included in the PhotonServer sdk folder. But I am unable to load any plugin when I put your name in the room settings.

I get the following error:
Plugin Mismatch requested = 'BasicTestsPlugin' got = 'Webhooks'


On My Unity Client:
                    
RoomOptions opt = new RoomOptions();
opt.maxPlayers = 10;
opt.isOpen = true;
opt.isVisible = true;
opt.plugins = new string[] { "BasicTestsPlugin" }; //Plugin of the TestPlugins source
PhotonNetwork.JoinOrCreateRoom("RoomTest" , opt, TypedLobby.Default);
On My Application Config:
      
<PluginSettings Enabled="true">
<Plugins>
<Plugin
Name="TestPlugins"
AssemblyName="TestPlugins.dll"
Version=""
Type="TestPlugins.PluginFactory"
/>

</Plugins>
</PluginSettings>

Viewing all articles
Browse latest Browse all 1557

Trending Articles