vrchat-community / creator-companion

The Entry Point for Making Things in VRChat
https://vrchat.com/home/download
53 stars 354 forks source link

[BUG] VRC Quick Launcher crashes when I click "browse" on the VRChat path dropdown #476

Closed bdunderscore closed 1 week ago

bdunderscore commented 2 months ago

Describe the bug

My VRC quick launcher looks like this:

image

If I click browse, it immediately crashes with no error message.

To Reproduce

  1. Click browse.
  2. Crash.

Expected behavior

Don't crash. Or, at least show an error or a pointer to logs.

Screenshots

No response

Related Product

VCC (VRChat Creator Companion)

Product Version

2.2.5

OS

Windows 11

Additional context

Clearing paths and install profiles does not resolve the issue. It's unclear where the logs - if any - are.

bdunderscore commented 2 months ago

It looks like the directory \ is being passed as the OpenFileDialog initial directory, which causes an uncaught exception to be raised at OpenFileDialog.ShowDialog()

bdunderscore commented 2 months ago

image image

It appears that if the InstallLocation field in the uninstall registry entry for VRChat contains an empty string, the quick launcher will crash on browse.

orels1 commented 2 months ago

@JordoVR for awareness

orels1 commented 1 week ago

This is released as a part of 2.3.2 It is accessible via auto-update and the VCC releases page here: https://vcc.docs.vrchat.com/news/release-2.3.2

The public announcements will be posted later in the day