Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
141 stars 2 forks source link

Modifying a camera's resolution causes it to be rendered full-screen on the desktop window for a frame #964

Open RyeTheGooSnep opened 11 months ago

RyeTheGooSnep commented 11 months ago

Describe the bug?

Since day 1 of Resonite I have been experiencing a problem where when switching camera resolution on the included Resonite camera, and occasionally when taking photos, the camera rendering overrides desktop users screens and causes a flash that can trigger epilepsy on people. Today, I had verification that is was not only just me experiencing this problem, and it happens across the board for desktop users. It does not matter what world you are in, or what avatar, but laggier worlds when switching causes it to hang the image longer than a lighter world. It is not affected by mods, nor is caused by a mod, and it has been ongoing for many versions now.

To Reproduce

Log into resonite on desktop mode, enter any world with any avatar and go to your inventory and enter the resonite essentials folder. Double click on the camera inside of the resonite essentials folder and spawn it in. Click on the resolution tab, and click on any of the resolutions avaliable, and select any other settings as they make no difference. You will notice your screen flash with the image currently displayed on the camera as it overrides your display.

Expected behavior

When switching the resolution on the included camera, the game should not be overriding the render of the user, only the camera its self, and it should not be flashing in peoples faces either. This should not occur on desktop mode nor virtual reality mode, as this is a safety and medical hazard for users with epilepsy and other neurologically light-triggered issues that can cause risk or damage to persons or equipment.

Screenshots

[

https://github.com/Yellow-Dog-Man/Resonite-Issues/assets/147884084/0dd97477-5234-4cb1-b043-0c0854cb7420

]

Resonite Version Number

2023.12.21.1127

What Platforms does this occur on?

Windows

What headset if any do you use?

Desktop

Log Files

DESKTOP-FM7QRUM - 2023.12.21.339 - 2023-12-21 16_43_35.log

Additional Context

No response

Reporters

Vappster RyeTheGooSnep CoffeeFoxy

Zyro1331 commented 11 months ago

I can easily recreate this issue (with quite a lot more severity) in the Studio world just by being in Desktop mode. This issue can also happen in VR, but doesn't happen in the HMD but rather the mirrored display.

⚠️ CW -- Rapidly Flashing Lights

https://github.com/Yellow-Dog-Man/Resonite-Issues/assets/49619936/5e81a26e-10fe-4228-8146-f4e37c9e8058

shiftyscales commented 10 months ago

Updated the title to be a bit more indicative of the underlying issue. Also seeking feedback from @Geenz on this one as it has to do with rendering.

RyeTheGooSnep commented 6 months ago

Update: Changing resolution on any camera in general can cause this, not just the one in the resonite essentials.