vrchat-community / creator-companion

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

[BUG] "Project Resolve Needed" Resolve action doesn't do anything #450

Closed hai-vr closed 2 months ago

hai-vr commented 3 months ago

Describe the bug

"Project Resolve Needed" Resolve doesn't do anything.

To Reproduce

Expected behavior

Screenshots

https://discord.com/channels/189511567539306508/449386885299830794/1221395535253082183

Related Product

VCC (VRChat Creator Companion)

Product Version

web_vcc_2.3.0-rc.1_Release_Portable

OS

Windows 10

Additional context

Please provide information on exactly what files are needed to troubleshoot this issue. I'm not gonna upload my entire avatar project.

orels1 commented 3 months ago

@hai-vr can you provide a logfile when that happens?

If the project resolve was in-progress while you left the page - the consecutive check for resolve status will (correctly) detect that project is still unresolved. However, there is logic in place that should reopen the resolve modal to the same in-progress state, which does not seem to be happening for you.

hai-vr commented 3 months ago

20240328T070240-7432d501ad5544c39b644df093df1007-log.txt

orels1 commented 3 months ago

Thanks for the log!

I am so far unable to replicate with the public repositories you have listed so I'll need some more input to try and address this. Something about that project is making it unhappy.

Resolve popup checks if the packages on disk exist and match the manifest, so the following info would be appreciated:

What is supposed to happen:

Seems like for you it aborts immediately on the start of the process, which almost makes me feel like the resolve function is not finding anything that's missing and exits early, so I'm trying to track down why

orels1 commented 3 months ago

One more thing that I would really appreciate is if you could do the following:

image

image

image

Alternatively, you can privately send an HAR file to orels@vrchat.com so I can inspect the request tree directly.

If you feel comfortable with that, you would need to do the following

This could potentially shed some light on why you're getting in such a loop

orels1 commented 3 months ago

A tentative fix for this is shipped in 2.3.0 Beta 2 release, you can download it here: https://github.com/vrchat-community/creator-companion/releases/download/2.3.0-beta.2/web_vcc_2.3.0-beta.2_Release_Portable.zip

If you still encounter the issue in that update, I would appreciate if you could send me the information requested earlier

orels1 commented 2 months ago

Using a repro provided by @anatawa12 in #460 this seems to be related to a manifest file that contains conflicting versions - e.g. if you force install some package that breaks the dependency rules.

The logs and visual behaviour matches between these cases and it should be addressed in next release

orels1 commented 2 months ago

This has been released to live with version 2.3.0: https://vrcpm.vrchat.cloud/vcc/Builds/2.3.0/VRChat_CreatorCompanion_Setup_2.3.0.exe