Search Issue Tracker
Won't Fix
Votes
3
Found in
2018.4
2019.4.7f1
2020.2
Issue ID
1269695
Regression
No
Different Camera Viewport Rect results between Mac and Windows when using a custom script to change resolution
How to reproduce:
1. Open user's attached "xframetest" project
2. Open Assets/XFrame/TestScene/Scene
3. Press Play
4. Observe the Game View window
Expected result: Both cameras take up half of the screen space
Actual result: Both cameras are half as wide as they should be
Reproducible with: 2018.4.26f1, 2019.4.8f1, 2020.1.1f1, 2020.2.0a20
Note:
- Cameras work as intended on Mac, but not on Windows
Comments (7)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- GC.Alloc called by HDRenderPipeline.LensFlareMergeOcclusionDataDrivenPass() when playing the default HDRP Sample Template project
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
andreiagmu
Sep 12, 2020 03:20
I made more tests (in Windows) with OP's adaptive resolution script (X-Frame), and discovered that this issue doesn't happen with the "Universal Render Pipeline".
The "Both cameras are half as wide as they should be" issue, it only happens in the Legacy Render Pipeline.
In URP, the splitscreen cameras (with X-Frame) fill the screen correctly.
andreiagmu
Sep 04, 2020 01:31
This is an urgent issue for me, because my project is a 3D game with a 2-player split-screen mode.
I plan to release a version of my game for Mobile platforms, including the split-screen mode (to be played with external joysticks connected to the mobile device).
OP's Adaptive Resolution script really makes a difference on performance for mobile, so my game can be played in lower-end devices.
But with the issue as it stands, it prevents me of releasing the 2-player split-screen mode for mobile platforms.
andreiagmu
Aug 13, 2020 12:43
I'm a user of OP's custom script for Adaptive Resolution, I'm having the same issue on Windows.