Steps to reproduce:
1. Open the "TestProject.zip" on Intel Mac
2. Go to Edit > Project Settings > Player > Resolution and Presentation
3. Set "Fullscreen Mode" to the "Maximized Window"
4. Build and Run to the Mac Platform
5. Minimize Player from Fullscreen Window to Windowed mode
6. Close the app
7. Go to Edit > Project Settings > Player > Resolution and Presentation
8. Set "Fullscreen Mode" to the "Windowed"
9. Build and run to the Mac Platform
Actual results: App loads and when it's resizing from Window to Fullscreen Window red screen appears
Expected results: App loads and automatically resizes from Window to Fullscreen Window successfully
Reproducible with versions: 2021.3.40f1, 2022.3.38f1, 6000.0.10f1
Tested and reproduced on device:
- MacBook Pro, 15-inch, 2017, Radeon Pro 560 4 GB, Intel HD Graphics 630, 1536 MB. macOS: Ventura 13.5.2
Tested and did not reproduced on devices:
- MacBook Pro, 16-inch, 2021, Apple M1 Max, macOS: Ventura 14.5
- Windows 11 Pro, Inte(R) Xeon(R) W-2145 CPU @ 3.70GHZ, version: 23H2
Notes:
- Only reproducible when using Screen.fullScreen = true;
- On Silicon Mac screen also appears, stays for the same amount of time, but it's black