vrchat-community / creator-companion

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

[BUG] VCC stuck on a blank screen while another photino-based app is opened. #511

Open anatawa12 opened 4 months ago

anatawa12 commented 4 months ago

Describe the bug

VCC stuck on a blank screen while another Photino-based app is opened.

I found that VCC is using %LOCALAPPDATA%\Photino\EBWebView as the Edge Profile Folder. This makes impossible to launch VCC and another Photino-based applications

Might be related: #500, issue report on vrchat discord japanese channel and other blank screen issues.

I came up with this hypothesis while investigating the issue reported on discord JP channel with Tony and I tested today, and I reproduced blank screen problem.

To Reproduce

  1. Run some Photino-based application
    1. install dotnet SDK
    2. git clone https://github.com/tryphotino/photino.Samples
    3. cd photino.Samples/Photino.HelloPhotino.NET
    4. dotnet run
  2. Start VCC
  3. The VCC shows completely blank window

Expected behavior

VCC should be launched with other folder to avoid conflicts with other photino-based app.

Screenshots

image

Related Product

VCC (VRChat Creator Companion)

Product Version

2.3.2

OS

Windows 11

Additional context

I think setting PhotinoWindow.TemporaryFilesPath to another path fixes this problem but this would lost localstorage, cookies and others I think.

https://github.com/tryphotino/photino.NET/blob/7d6eaec5e28731cfa75d38ba75a0a0644f474c61/Photino.NET/PhotinoWindow.NET.cs#L1038-L1060

zapabob commented 1 month ago

Same problem happen in v2.3.4