[Bug] "Relaunch VRChat after crashing" doesn't handle --profile, can relaunch wrong account into instance #994

Open
opened 2026-04-05 16:42:13 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @rrazgriz on 9/8/2023

Describe the bug
The --profile argument (among others) for VRChat isn't handled during relaunches, meaning it will always relaunch into the last instance with profile 0 (the default). This can lead to being loaded into an instance on a different account than is expected. Tested on 2023.07.30.

To Reproduce

  1. Create a shortcut to VRChat that uses the --profile launch arg with a non-zero value, eg. --profile=1.
  2. Launch VRChat while in VR with this shortcut and log into an account different than the default.
  3. Crash or forcibly exit VRChat, such that VRCX's relaunch functionality is triggered.
  4. VRChat will be relaunched with no --profile argument, loading the default profile. If the user on this profile has permission to join the instance being rejoined, they will.

Expected behavior
VRchat should be relaunched with the same --profile argument used during the last launch, and ideally, the full argument list used (disregarding any other instance launch args).

*Originally created by @rrazgriz on 9/8/2023* **Describe the bug** The `--profile` argument (among others) for VRChat isn't handled during relaunches, meaning it will always relaunch into the last instance with profile 0 (the default). This can lead to being loaded into an instance on a different account than is expected. Tested on 2023.07.30. **To Reproduce** 1. Create a shortcut to VRChat that uses the `--profile` launch arg with a non-zero value, eg. `--profile=1`. 2. Launch VRChat while in VR with this shortcut and log into an account different than the default. 3. Crash or forcibly exit VRChat, such that VRCX's relaunch functionality is triggered. 4. VRChat will be relaunched with no `--profile` argument, loading the default profile. If the user on this profile has permission to join the instance being rejoined, they will. **Expected behavior** VRchat should be relaunched with the same `--profile` argument used during the last launch, and ideally, the full argument list used (disregarding any other instance launch args).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/VRCX#994