vrchat-community / creator-companion

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

[BUG] #296

Open nexvice opened 1 year ago

nexvice commented 1 year ago

Describe the bug

Not sure if I'm filling this correctly. But I just wanted to say (in case is useful to know) that the issue people repeatedly report in VRChat discord server about VCC giving "access denied" when trying to install curated or any other packages...

Is an issue that only happens after VCC gets updated.

I noticed this patter after troubleshooting with Google Drive thinking that was the root cause but it turns out the issue was still happening in folders outside Google Drive.

So I gave up and created a new project, (but inside Google Drive forgetting that wasn't work there either) where I would put all my previous projects files manually. Then I realized that I created the project inside Google drive with no problems and the packages got installed with no problems. Making me discard Google Drive being the problem here.

I think the problem is within VCC that can't accesses to folders inside projects to unpack after VCC gets updated.

So what I'm going to try next time is that when VCC notifies me about a new update, is to update any packages of any current projects (if any available) first and leave one project with outdated packages. Then I will update VCC and then I will update the packages of the project with outdated packages. If I get the "access denied error", then I guess that will tell something about VCC and hopefully you guys can fix it.

To Reproduce

1 Open VCC once a VCC update is announced. 2 Make sure you have 2 projects with packages that have new update available. 3 Update the packages from one of the projects. 4 Update VCC. 5 Update the other project packages and see if the Access Denied error happens. (The single line log at the bottom of VCC says it updated the packages successfully but it does it so fast that you can tell it actually failed).

Expected behavior

Force packages updates before VCC update or disable packages updates for projects with outdated packages, still better than users falling into the issue because VCC's needs fix or doesn't warn users.

If the options above are not ideal, then at least warn users about this before updating VCC until is no longer an issue.

Screenshots

No response

Related Product

VCC (VRChat Creator Companion)

Product Version

2.1.1 or 2 previous versions.

OS

Windows 10

Additional context

No response