Lachee / discord-rpc-csharp

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

[HELP] RPC Not showing up in discord #211

Closed izzint closed 1 year ago

izzint commented 1 year ago

I am following the usage guide and successfully running code, however my custom discord rpc is not showing up, I am making a mod for a c# framework called "melonloader", it runs on top of a unity game.

discordlog.txt codesnip.txt

Also, LoadRPC is being called from a function that runs when the mod is loaded, Im getting stuff from the log about discord, but nothing showing up, maybe I did not setup the pipe properly? I also have game activity enabled, im sorry if this is a stupid question, im trying my best here. thanks :)

izzint commented 1 year ago

used offical discord sdk, fixed it.

Lachee commented 1 year ago

Using another library is not considered a fix for this one as a fyi

But if you are using it in unity, including modding unity games, you need to use the native pipe not the managed pipe

izzint commented 1 year ago

True, i’ll keep that in mind. Sorry about that!