Lachee / discord-rpc-csharp

C# custom implementation for Discord Rich Presence. Not deprecated and still available!
MIT License
579 stars 96 forks source link

DllNotFoundException #31

Closed TriggerEdge closed 6 years ago

TriggerEdge commented 6 years ago

Using Unity 5.6.6f2 (32-bits), I manually copied DiscordRPC.Native.dll in my project root folder:

Log1: Unhandled Exception: System.DllNotFoundException UnityEngine.Debug:LogError(Object) UnityLogger:Error(String, Object[]) (at Assets/Scripts/Discord/Control/UnityLogger.cs:28) DiscordRPC.RPC.RpcConnection:MainLoop()

Log2: DiscordRPC.Native.dll UnityEngine.Debug:LogError(Object) UnityLogger:Error(String, Object[]) (at Assets/Scripts/Discord/Control/UnityLogger.cs:28) DiscordRPC.RPC.RpcConnection:MainLoop()

ghost commented 6 years ago

You know. It's easier to help you with a little more than just a error code

Lachee commented 6 years ago

Sorry, the readme might be a little out date and I havn't run it in Unity 5 in ages. Try copying the dll to the plugins folder instead, under assets/plugins/. You may need to further seperate them into x86 and x86_64 folders