Skip to content

[BUG] RPC only works in editor, not in build. #1

Open
@cryptogrounds

Description

@cryptogrounds

Describe the bug
Seems to work just fine in the Editor.
However, on build, it fails to get past the "[DRP] Discord Rich Presence intialized and connecting..." phase.

To Reproduce
Steps to reproduce the behavior:

  1. Build for Windows x86_64, IL2CPP, .NET 4.x
  2. Run the .exe, doesn't show up on Discord.

Expected behavior
The RPC should show up on Discord like it does when I run it in the editor.

Desktop (please complete the following information):

  • OS: Win 10
  • Framework: Unity 2020 .NET 4.x
  • Library Version: Lastest

Additional context
Regardless of the .dlls being in the Assets/Plugins folder or where they originally were when I imported the asset, it doesn't change the result.

Logs

[DRP] Starting Discord Rich Presence
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
DiscordManager:Initialize()

[DRP] Discord Rich Presence intialized and connecting...
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
DiscordManager:Initialize()
// Doesn't get past here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions