Search Issue Tracker
Fixed
Fixed in 2023.2.10f1, 2023.3.0b5
Votes
4
Found in
2023.2.0a23
2023.3.0a2
Issue ID
UUM-42833
Regression
No
[Game View] The editor is reading the displace scale from the Primary Monitor when the Editor is on a secondary Monitor thus adjusting the Game View Scale to 1.3
Update 2023-11-14 (Kevin): The PR from the bisection causes the game view scale to snap to whatever the EditorGUIUtility.pixelsPerPoint is whenever that updates. The root bug is that certain EditorWindow / GUIView / HostView code paths will try to grab the platform's monitor scaling and incorrectly grab the scaling from the wrong monitor. This is an extremely difficult to reproduce bug that requires the editor to be in a very specific state where performing some action (that does something with windows... e.g. opening a context menu which is an EditorWindow).
Steps to reproduce:
1. Open the attached project "Test Project.zip"
2. Have 2 displays, primary set as 4k with 125% display scale and secondary at 1080p with 100% display Scale
3. Move the Editor to Display #2 (set as 1080p)
4. Enter Play Mode
5. Observe the Game View Scale Slider
Expected results: display scale is read from the display it's presented on, not the primary display, and 1x scale is applied to Game View
Actual Results: The editor is reading the displace scale from the Primary Monitor when the Editor is on a secondary Monitor thus adjusting the Game View Scale to 1.3
Reproducible in: 2021.3.28f1, 2022.3.0f1, 2022.3.5f1, 2023.1.5f1, 2023.2.0a23, 2023.3.0a1
Not reproducible in: 2022.2.21f1
Environment tested on: Windows 10
Notes:
-A workaround is to turn off Low-Resolution Aspect Ratios, however, that option is only available if the Display Scale of a Monitor is set to 125%
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
KrynosStudios
Dec 27, 2023 12:57
I have found a working workaround for this issue for anyone who has the same problem.
1. Right click on the "Game" tab at the top of the screen
2. Click "Close tab"
3. Right click on an open tab and select "Add tab > Game"
4. Change view from "Free aspect" to desired resolution
5. Change scale to desired value and hit play
Now the game will start at the proper scale every time.
biscuitsmitten
Nov 13, 2023 13:20
The workaround doesn't work for me, as "Low-Resolution Aspect Ratios" is greyed out (my main, primary monitor, where my game window is, has scale set to 100%, which greys out and ticks "Low-Resolution Aspect Ratios"). My other monitor (has the console window on it) has scale set to 125%, which causes the 1.3x scale problem for me.
bradleyheatherjoyce
Jul 16, 2023 20:08
When I realized that I was being manipulated, A co-worker recommended CYBER GENIE HACK INT'L to me. I did invest with a crypto broker trading site. I was always being asked to pay an unnecessary fee whenever I tried to make or inquire about a withdrawal from the profits I gained from investing. I realized it was a fairytale, and the con artist wouldn’t stop requesting more tokens whenever I pleaded with them to give back all I had invested with them. I realized that I might never get all I had sent them, I had to look for assistance. I learned about Cyber Genie, and I wrote and hired them instantly to help me recover my investment from this false broker. I worked with them side by side to recover my lost funds and got my lost money back in less than 11 hours after hiring them. All praise be to CYBER GENIE HACK INT'L, who gave me my life back. I’m not sure whether I could have gotten my money back without the help of '' Cybergenie(@)Cyberservices. com " or "WhatsApp: +1 (252) 512–0391"