ERROR: Failed to load PhotonLicensing.dll

如何你下载的Photon-Server-SDK 3.0 启动不了,而它的Log有这样的错误提示的话ERROR: Failed to load PhotonLicensing.dll,

你可以试试下面的方法,我就这样做的。


// *************** begin ************************************************************************

(来自:http://stackoverflow.com/questions/11725130/error-failed-to-load-photonlicensing-dll/11756240#11756240

Since Photon 3 you don't need a .license file if you are using Photon for free. Just delete any old .license files you still might find in your folders from upgrading etc.:

..\deploy\bin_Win32
..\deploy\bin_Win32_xp
..\deploy\bin_Win64
..\deploy\bin_Win64_xp

If you acquired a license, just copy the .license file into the above mentioned folders (depending on the environment you use).

However there is one edge case: When you unpack your SDK with the Windows Explorer built-in unpack tool your files might get blocked as they are marked as "internet download".

There are to ways to solve the problem:

  1. you unpack with another tool like 7zip or winrar.
  2. or you unblock the zip-file before you unpack with the Explorer built-in zip functionality - right click the “not trusted” zip-file choose “Property” and click unblock.
// *************** end *************************************************************************



你可能感兴趣的:(Photon)