Closed youknowedo closed 3 years ago
Its likely you need to use the Native Pipe implementation to get it to work with Unity3D.
ok thanks
so i dont really get what u mean. i looked in the files for the unity package and it already includes the library for rpc. what do i need to do?
so i dont really get what u mean. i looked in the files for the unity package and it already includes the library for rpc. what do i need to do?
you need to tell it to use the UnityNamedPipe instead of the default system. Look at how the client is initialised in the sample unity plugin.
oh ok thanks
Hey, trying to make an Editor Rich Presence thing and I've downloaded the Unity Package. I need a [InitializeOnLoad] class so I cant use the DiscordManager for this (plus, it has a lot of gameObject and "only run in Play mode" stuff I don't wanna reprogram), so I tried to just use the library
using DiscordRPC;
and just made a script with your instructions in the docs but when I run it, nothing happens in discord. Am I doing something wrong or doesn't the Unity Package support using Standard C# Library code?All variables are updated in the custom editor ERPCWindow so I know that it isn't due to the lack of data