Skip to content

Conversation

ChronoVortex
Copy link

Objective

Fix a crash on minimizing a window when the window contains Camera with a custom Viewport (#16704). This is the same as #18916, but targeting the 0.16.2 branch so that developers won't have to wait until the 0.17 release for the fix.

Solution

Remove ExtractedCamera when the corresponding camera in main world has zero target size. It indicates that the window is minimized.

Testing

Tested in Windows 10, the original PR was tested on Windows 11. Previously the split_screen example crashes when the window is minimized; and with this change, it would not crash. Other behaviors remain unchanged.

Copy link
Contributor

Welcome, new contributor!

Please make sure you've read our contributing guide and we look forward to reviewing your pull request shortly ✨

Copy link
Contributor

Your PR caused a change in the graphical output of an example or rendering test. This might be intentional, but it could also mean that something broke!
You can review it at https://pixel-eagle.com/project/B04F67C0-C054-4A6F-92EC-F599FEC2FD1D?filter=PR-20781

If it's expected, please add the M-Deliberate-Rendering-Change label.

If this change seems unrelated to your PR, you can consider updating your PR to target the latest main branch, either by rebasing or merging main into it.

@alice-i-cecile alice-i-cecile added A-Rendering Drawing game state to the screen X-Controversial There is active debate or serious implications around merging this PR labels Aug 28, 2025
@alice-i-cecile alice-i-cecile added the S-Nominated-To-Close A triage team member thinks this PR or issue should be closed out. label Aug 28, 2025
@alice-i-cecile
Copy link
Member

The 0.17 release candidate is imminent: I don't think we should or are going to release another 0.16 point release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen S-Nominated-To-Close A triage team member thinks this PR or issue should be closed out. X-Controversial There is active debate or serious implications around merging this PR
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants