vrchat-community / creator-companion

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

[BUG] Creator Companion crashes on startup when a project symlink leads to a missing directory #503

Open DorCoMaNdO opened 4 months ago

DorCoMaNdO commented 4 months ago

Describe the bug

I've moved some of my less-frequently used avatar projects to my NAS and symlinked the directories, my NAS is currently down for maintenance so the symlinks lead to network paths to won't resolve, this results an error in the project directory enumeration leading to the creator companion to crash on startup.

To Reproduce

  1. Move a project folder to another location.
  2. Symlink the original path to the new destination.
  3. Break the link.

Expected behavior

The Creator Companion should ignore (but not forget, like it normally does when a project folder stops existing, management options that aren't "delete" should be greyed out) broken symlinks, as that may be temporary (NAS, removable drives, etc).

Screenshots

image

Here's how ALCOM (community made VCC alternative) handles the matter: image

Related Product

VCC (VRChat Creator Companion)

Product Version

2.3.2

OS

Windows 10

Additional context

No response