Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VRC Unity Discord RPC

Discord Rich Presence for Unity projects with optional VRChat SDK integration.

The package shows what kind of VRChat project you are working on and whether you are editing, testing, building, or uploading it. It runs entirely inside the Windows Unity Editor and is not included in uploaded worlds or avatars.

Activity shown on your own Discord profile

Activity shown to other Discord users

Features

  • Works in standard Unity projects without requiring the VRChat SDK.
  • Reports Edit Mode and Play Mode to Discord.
  • Automatically detects VRChat World and Avatar projects when their SDK is installed.
  • Adds VRChat Build and Upload states through the optional SDK integration.
  • Rotates configurable object, mesh, renderer, triangle, material, light, and build-size statistics.
  • Restarts the elapsed activity timer when your workflow state changes.
  • Uses the active scene's descriptor when multiple scenes are loaded.
  • Refreshes automatically when scenes, descriptors, or blueprint IDs change.
  • Uses the VRChat project name and thumbnail when blueprint metadata is available.
  • Falls back to local descriptor details if the VRChat API is unavailable, then retries quietly.
  • Stores the enabled state per Unity project in ProjectSettings.
  • Does not modify project-wide scripting define symbols.
  • Requires only the VRChat Base SDK at package level.
  • Runs only in the Windows x86_64 Editor and is excluded from client builds.
  • Removes files from the previous Assets-based installation during VPM migration.

The package does not provide Discord invites, join buttons, or access to your Unity project. Rich Presence only publishes the activity text and artwork shown in the examples above.

Project Detection

Avatar Projects

Projects containing the VRChat Avatars SDK and a loaded avatar descriptor are detected automatically. Discord displays the avatar project name and its current Edit, Play, Build, or Upload state.

Automatically detected avatar project settings

Avatar project activity in Discord

World Projects

Projects containing the VRChat Worlds SDK and a loaded world descriptor are detected automatically. Detection follows the active loaded scene, so changing between scenes with different world descriptors updates the presence.

Automatically detected world project settings

World upload activity in Discord

Standard Unity Projects

Without a compatible VRChat SDK and descriptor, Rich Presence uses the Unity project name and provides Edit/Play state plus the enabled scene statistics. The settings page explains the detected context.

Unsupported project status

Installation

Add the AITSYS VCC listing to the VRChat Creator Companion or ALCOM:

https://vcc.aitsys.dev/index.json

Then add VRC Unity Discord RPC to the desired project. Updates are delivered through the same listing.

Release pages also provide a dedicated Asset Store Unity package. It installs under Assets/AITSYS/VRC Unity Discord RPC, does not require VRChat, and provides the generic Unity Edit and Play presence modes.

The package targets Unity 2022.3.22f1 and the Windows x86_64 Editor. Discord Desktop must be running for Rich Presence to appear.

Settings

Open AITSYS > VRC Unity > Discord RPC Settings.

Discord RPC settings menu

The settings page lets you:

  • Enable or disable Rich Presence for the current Unity project.
  • View the detected project type and connection status.
  • Refresh the current presence manually.
  • Clear the current Discord presence.

The preference is stored in ProjectSettings/VRCUnityDiscordRPCSettings.asset and does not require a scene component.

Package

  • Package ID: dev.aitsys.vrc-discord-rpc
  • Unity: 2022.3.22f1
  • Platform: Windows Editor x86_64
  • VPM dependency: any installed com.vrchat.base version
  • Settings: AITSYS > VRC Unity > Discord RPC Settings

Development

The distributable VPM package lives at Packages/dev.aitsys.vrc-discord-rpc. The root Unity project is a minimal test host; unrelated SDKs and Unity packages are intentionally excluded.

The Build Release GitHub Actions workflow publishes the version declared in the package's package.json. It produces a VPM zip for VCC/ALCOM and a generic Asset Store Unity package from the same source. Release tags use the vX.Y.Z convention, while the package version remains X.Y.Z. The repository variable PACKAGE_NAME must remain dev.aitsys.vrc-discord-rpc.

License

The package source is available under the MIT License. The bundled Discord RPC native library is also MIT licensed; see Packages/dev.aitsys.vrc-discord-rpc/ThirdPartyNotices.md.

About

Discord Rich Presence for Unity projects using the VRChat SDK

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages