A Discord Unity Presence to show you'r useing Unity Engine on Your Discord Profile
A lightweight Windows C# console application that displays custom Discord Rich Presence when the Unity Editor is running. It automatically detects the active Unity project and updates the presence with real-time project details.
- Detects if Unity Editor is running
- Extracts the currently open Unity project name from:
- The Unity Editor window title, or
- Unity's
RecentlyUsedAssetPaths.txt
metadata
- Displays detailed Rich Presence in Discord, including:
- Current project name
- Custom images (e.g., Unity logo)
- Timestamp (when app started)
- Button linking to GitHub or any external site
- Automatically clears the presence when Unity is closed
- Updates every 5 seconds
Unity Editor
Editing: MyUnityProject
[Join] (button open!
s GitHub)
- Windows OS
- .NET Framework 4.7.2+ or .NET Core 3.1+/6+
- Discord Desktop App
- Discord Developer Application (App ID and Assets configured)
- Lachee’s DiscordRPC library
Directly Run .Exe
download the release file and open Bin folder and the tun Unity Discoird Presene.exe
-
Clone the repository
git clone https://github.com/InboraStudio/Discord-Unity-6-Presence.git cd unity-discord-presence
-
Open the solution in Visual Studio
-
Install the NuGet package
- Right-click the project →
Manage NuGet Packages
- Install:
DiscordRPC
byLachee
- Right-click the project →
-
Add your Discord Application ID
Replace the
discordAppID
inProgram.cs
:string discordAppID = "YOUR_DISCORD_APP_ID";
-
Add your Rich Presence assets
- Go to Discord Developer Portal
- Upload image assets under
Rich Presence > Art Assets
- Use the keys (names) in
LargeImageKey
andSmallImageKey
-
Build and run the executable
- Press
F5
or build it as a.exe
- Leave it running in the background while using Unity
- Press
You can modify:
- Button label and URL
- Update frequency
- Presence text styling
- Additional logic (e.g., current scene detection)
- Only works on Windows
- Unity project detection may be inaccurate if Unity is still loading or minimized
- Requires Discord desktop client to be running
MIT License. See LICENSE for details.
- Built using Lachee's DiscordRPC
- Inspired by the need for better Unity activity tracking on Discord