|
1 | | -This folder (Redist) contains a compiled DLL for x86_64 Windows, MacOS and Linux distros. |
2 | | -x86 Windows target might come at a later date, depends if ENET will compile for non-64bit |
3 | | -targets. |
| 1 | +This folder (Redist) contains a compiled DLL for x86_64 (64-Bit) Windows, MacOS and Linux distros. |
| 2 | +NOT COMPATIBLE WITH x86 (32-Bit) targets. Ensure you build a 64-Bit Player or you will get a TypeLoadException. |
| 3 | +Android/iOS not supported. |
4 | 4 |
|
5 | | -Please note that you may need to exclude the Windows DLL on non-Windows targets. |
6 | | -This can be done by selecting the enet.dll and selecting "Editor" from "Exclude from platforms" |
7 | | -under the OS you're running. |
| 5 | +They have been custom compiled by myself (SoftwareGuy) on my own Windows 10 machine running Visual Studio Community 2017, my own MacBook Pro using CMake + Xcode and a Ubuntu linux machine. |
8 | 6 |
|
9 | | -For example: |
| 7 | +MAKE SURE ONLY ONE COPY OF THE FILES CONTAINED INSIDE THESE FOLDERS ONLY EXIST AT ONE TIME. |
| 8 | +IF YOU HAVE MULTIPLE COPIES OF THESE FILES, YOU WILL GET WEIRD SHIT HAPPENING. |
10 | 9 |
|
11 | | -Windows: Select both enet.bundle and libenet.so and choose Exclude from platforms: Editor |
12 | | -MacOS: Select enet.dll and libenet.so and choose Exclude from platform: Editor |
13 | | -Linux: Select enet.dll and enet.bundle and choose Exclude from platform: Editor |
| 10 | +MAKE SURE YOU CORRECTLY CONFIGURE THE PLUGIN TARGETS: |
| 11 | + |
| 12 | +Windows: Exclude enet.bundle (inside macOS folder) and libenet.so (inside Linux folder) from Unity Editor. |
| 13 | +Mac OS: Exclude enet.dll (inside Windows folder) and libenet.so (inside Linux folder) from Unity Editor. |
| 14 | +Linux: Exclude enet.dll (inside Windows folder) and enet.bundle (inside macOS folder) from Unity Editor. |
14 | 15 |
|
15 | 16 | If you get an error about a DLL not having valid meta data, make sure you have done above steps correctly. |
16 | | -Otherwise, restart Unity and if it persists open a support ticket. |
| 17 | + |
| 18 | +If weird shit starts happening after doing these above steps, please restart Unity. When a native DLL is loaded, it cannot be unloaded unless you restart the editor. |
| 19 | + |
| 20 | +Otherwise, restart Unity and if it persists open a issue on the GitHub. |
| 21 | + |
| 22 | +Failsafe.zip contains NX-supplied DLLs that may not be up to date. |
0 commit comments