ppy / osu-framework

A game framework written with osu! in mind.
MIT License
1.66k stars 416 forks source link

VRCOSC Framework.ini breaking on launch #5663

Closed vizionfox closed 1 year ago

vizionfox commented 1 year ago

VolcanicArts and I have been discussing an issue which we thought was the fault of his program, however we discovered a bug in the framework.ini of his program, which is built using this framework?

I'm not quite sure how this all works to be completely honest.

However in short, whenever I move his program to my second display and close it, the framework.ini updates the flag "LastDisplayDevice" to "Second"

Upon trying to open this program again, it tries to display on a phantom screen.

It's only fixed when changing "Second" back to "First" manually, or deleting the framework file and letting it recreate it automatically.

frenzibyte commented 1 year ago

Please provide information of your platform, display layout, and logs upon encountering the issue.

vizionfox commented 1 year ago

The platform is Windows 11 Pro x64 Version: 22H2 OS Build: 22621.1265

Display Layout is attached. image

I also have an Index connected, but that doesn't seem to interfere with the program during testing.

runtime.log

peppy commented 1 year ago

Going to close this for now as I don't think we have enough details to work out anything.