vrchat-community / creator-companion

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

[FEATURE] "Reinstall All Packages" button #379

Open SenkyDragon opened 8 months ago

SenkyDragon commented 8 months ago

Is your feature request related to a problem? Please describe. A very common issue for our users is that they accidentally re-import Assets/VRCSDK or Assets/VRCFury from some old unitypackage containing the avatar base that they want. Not only does this add a folder that should be covered by legacyFolders of the package, but it also can corrupt the correct install in Packages because unity tries to reclaim the guids.

Currently, "fixing this" issue requires removing and re-adding, or downgrading and then upgrading, the affected package in the VCC. This is especially annoying, because removing the VRCSDK is impossible, and downgrading it triggers warnings that it's out of sync with the base sdk.

Describe the solution you'd like Add a "Reinstall all packages" button somewhere in the project page, that we can instruct users to click. Perhaps going even further, if the VCC ever detects that a legacyFolder has "re-appeared", it should automatically reinstall the relevant package.