Was unable to build assets, LiteNetLib not found in Unity #109
-
|
Hi! Not sure if it is due to me being completely new to Unity. But followed your README and got stuck on building assets bundle and scripts. Unity error: could not find LiteNetLib.dll - it was not building any DLLs into the /build folder :( It was correctly installed and available through NuGet in VS in the Multiplayer project itself, but Unity was unable to find it. Did I do something wrong on initial cloning / setup? I did use the prescribed Unity version etc... thought I might let you know, maybe it's a nice addition to the Getting Started section? Cheers, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hi @StanSwanborn, I've had a look, and it's nothing you're doing wrong. The original Unity Editor project included an outdated, customised version of LiteNetLib. When we switched to Steam Networking I removed it from the Unity Editor workflow but failed to update When the switch was made the latest version of LiteNetLib was added as a GNU package in the main mod project to replace the version in the Unity Editor project. The latest version has some useful enhancements for serialisation and has a vastly better packet ID system. Side note - if you're planning on doing anything character-wise, please take a look at the character-improvements branch - I'm very new to Unity myself, so I've only been experimenting on that branch to learn the basics of animation for future addition of new player models. Cheers, |
Beta Was this translation helpful? Give feedback.
Hi @StanSwanborn,
I've had a look, and it's nothing you're doing wrong. The original Unity Editor project included an outdated, customised version of LiteNetLib.
When we switched to Steam Networking I removed it from the Unity Editor workflow but failed to update
Exporter.cs. I have updated the script and pushed the changes to all of the branches.When the switch was made the latest version of LiteNetLib was added as a GNU package in the main mod project to replace the version in the Unity Editor project. The latest version has some useful enhancements for serialisation and has a vastly better packet ID system.
Side note - if you're planning on doing anything character-wise, please take a…