For the export to Windows 8.1, you might have to edit the export rules for some assemblies (.dll files) in Unity 5.
Unity 5.x does not enable us to setup "8.1 Universal SDK" for the dll in the Metro-folder. If you do a 8.1 Universal export, you might have to set that dll to "Any SDK" instead of the pre-selected "8.1". Do this if you export and get errors saying that some Photon class was not found. To do so, find the Metro folder, select the Photon dll and edit it with the Inspector.
The Photon dlls in the Metro-folder and in the UWP-folder are meant to be used for the Mono compiler exports. If you use IL2CPP to build your application, you can uncheck the Windows Store platforms from those dlls.
If WebSocket-csharp is causing trouble, exclude it from the export:
\Plugins\WebSocket\websocket-csharp.dll
-> Only platform is Editor.
Make sure to check "Internet Client" and "Internet Client and Server" in the publishing settings for Windows 8.1 or Windows 10. It seems that UWP drops the pure "Internet Client" capability and only uses the second one.
These settings also apply to Photon Chat and can be used for the Photon Unity SDK as well.
If you have issues with this, please let us know here.
Unity 5.x does not enable us to setup "8.1 Universal SDK" for the dll in the Metro-folder. If you do a 8.1 Universal export, you might have to set that dll to "Any SDK" instead of the pre-selected "8.1". Do this if you export and get errors saying that some Photon class was not found. To do so, find the Metro folder, select the Photon dll and edit it with the Inspector.
The Photon dlls in the Metro-folder and in the UWP-folder are meant to be used for the Mono compiler exports. If you use IL2CPP to build your application, you can uncheck the Windows Store platforms from those dlls.
If WebSocket-csharp is causing trouble, exclude it from the export:
\Plugins\WebSocket\websocket-csharp.dll
-> Only platform is Editor.
Make sure to check "Internet Client" and "Internet Client and Server" in the publishing settings for Windows 8.1 or Windows 10. It seems that UWP drops the pure "Internet Client" capability and only uses the second one.
These settings also apply to Photon Chat and can be used for the Photon Unity SDK as well.
If you have issues with this, please let us know here.