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%
Comments (10)
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
- Mouse input is registered incorrectly in Custom RP when downscaling Render Target and rendering Overlay UI before final upscale
- Time.deltaTime is locked to the display's refresh rate when the built Player is moved to a Secondary Display and Windowed Mode is used
- Crash on RaiseException when importing a specific asset
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
alancriner99
Apr 04, 2025 12:52
My name is Alan Criner, and I'm a resident of Toronto, CA. I'm a 45-year-old financial analyst who has always been cautious with my investments. However, in my quest to diversify my portfolio, I fell prey to a devastating fake crypto investment scam, losing 125,000 Canadian dollars' worth of Bitcoin. This traumatic experience sent my life into a downward spiral, leaving me depressed and feeling hopeless.
Despite my repeated attempts to contact the account manager who initially approached me on Telegram, I was met with silence. They refused to provide any explanation or information, and I was locked out of my account on their website. The authorities were unable to assist me, as the scammers were untraceable.
Just when I thought all was lost, my nephew, a Canadian government lawyer, introduced me to Morphohack Cyber Service, a reputable private investigator and crypto recovery company. I visited their website (www . morphohackcyber . com) and, after mustering the courage, contacted them. They listened attentively as I recounted my ordeal and educated me on the scam, revealing that numerous others had fallen victim to the same scheme.
Although skeptical at first, I decided to take a chance. Morphohack guided me through the process, instructing me to set up a new wallet. To my astonishment, they successfully recovered my stolen Bitcoin and transferred it to my new wallet. I was stunned, struggling to comprehend how this was possible.
I initially wanted to keep this experience private, but I realized that there may be others out there who have suffered similar losses. If you're a victim of crypto theft, I urge you to reach out to Morphohack Cyber Service. They can be contacted through their website or email. (Morphohack@cyberservices . com, Info@morphohackcyber . com) Don't give up hope, there is a way to recover your stolen crypto assets.
snlehton
Mar 06, 2025 12:20
I'm on Unity 6.x and I've noticed that the problem happens when I'm on some other platform than Standalone.
The fix is to switch to Standalone, then disable the lowres setting, and then switching back to whatever platform you were on.
More details:
https://discussions.unity.com/t/game-view-scale-on-compilation-play/217998/8
sarahnorthway
Feb 19, 2025 20:14
I'm still seeing this issue in a fresh project with fresh install of 6000.0.38f1. I have multiple monitors and my primary 4k one has 150% font size. My Game tab is popped out and displayed on my second 2k monitor with 100% font size. Every time I hit play the Game tab scale slider changes back to 1.5x.
I can temporarily fix it by closing the game tab and opening a fresh one, but I'm sure it will be back. I've noticed this problem since at least Unity 2022.
scotinayah
Feb 13, 2025 18:59
It's the little things that get you sometimes, isn't it? I was actually pretty hyped with my new Bluetooth speaker, ready to see just how well it would sound and pump up my playlist while finishing some work. So, like any other tech enthusiast, I connected it to my laptop, where, of course, my crypto wallet was open and logged in. Big mistake.
It was a freakish twist of fate that, well, the Bluetooth speaker seemed to have other plans. It began glitching like a broken record, sending my laptop into a frenzy. I tried reconnecting it, and that's when the disaster struck. In some kind of crazy chain of events, I managed to get locked out of my $90,000 Bitcoin wallet. My wallet was still there, but access was completely blocked. As I sat staring at the screen in utter disbelief, my mind wandered to how something so silly could have caused such a huge mess.
Cue the panic. Something this simple, such as a glitch with the speaker, and I don't have access to so much money. The whole thing was just utterly absurd, and I couldn't stop playing the scene over and over in my mind, wishing I'd just have waited until work was done to mess with my new gadget. But it was too late; I was locked out, and the financial chaos was real.
Luckily, I knew where to go for help. The very first words in my mind were LEEULTIMATEHACKER @ AOL . COM
telegram: LEEULTIMATE
wh@tsapp +1 (715) 314 - 9248
https :// leeultimatehacker. com I had heard very positive feedback about them regarding their capabilities, and they did not even laugh after several minutes of hearing my story, which, let's face it, sounds utterly ridiculous. Instead, they reassured me that they have seen all kinds of scenarios and can be of assistance with mine. Immediately, I relaxed due to their professionalism. They were very calm, efficient, and started working on my case without wasting even a single second.
In some days, they called me back to intimate me with the great news that my $90,000 was safely restored and my wallet was back in my hands. The feeling of relief which I felt was beyond description, knowing well that my ridiculous Bluetooth speaker disaster was finally over.
I will make sure gadgets and crypto are in two completely different corners: Now I understand that crypto has absolutely nothing to do with gadgets. Thank the heavens, Lee Ultimate Hacker recovered my funds, at the same time teaching me how to be much more cautious in handling wallets this time around. Not getting caught a second time!
lPVDl
Oct 18, 2024 05:03
2022.3.44f1 not fixed. 1 monitor here is pastebin(com)/n7vkigHq
marcusaustin389
Sep 15, 2024 14:35
Bitcoin Recovery Services: Restoring Lost Cryptocurrency
If you've lost access to your cryptocurrency and unable to make a withdrawal, I highly recommend iBolt Cyber Hacker Bitcoin Recovery Services. Their team is skilled, professional, and efficient in recovering lost Bitcoin. They provide clear communication, maintain high security standards, and work quickly to resolve issues. Facing the stress of lost cryptocurrency, iBolt Cyber Hacker is a trusted service that will help you regain access to your funds securely and reliably. Highly recommended!
Email: S u p p o r t @ ibolt cyber hack . com
Cont/Whtp + 3. .9 .3. .5..0. .9. 2. 9. .0 .3. 1 .8.
Website: h t t p s : / / ibolt cyber hack . com /
colonderp
Sep 05, 2024 16:22
Ran into this problem after 'upgrading' from 2023.1.10f1 to 2023.2.20f1.
As a workaround, put this script in Assets/Editor/
----
using UnityEditor;
using UnityEngine;
[InitializeOnLoad]
public static class GameViewScaleFix
{
static GameViewScaleFix()
{
// Subscribe to play mode state changes
EditorApplication.playModeStateChanged += OnPlayModeStateChanged;
}
private static void OnPlayModeStateChanged(PlayModeStateChange state)
{
// Check if we just entered play mode
if (state == PlayModeStateChange.EnteredPlayMode)
{
// Reset the Game view scale
ResetGameViewScale();
}
}
private static void ResetGameViewScale()
{
// Find the Game view window
var gameViewType = typeof(Editor).Assembly.GetType("UnityEditor.GameView");
var gameView = EditorWindow.GetWindow(gameViewType);
// Use reflection to get the private "m_ZoomArea" field in the Game view
var zoomAreaField = gameViewType.GetField("m_ZoomArea", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic);
var zoomArea = zoomAreaField.GetValue(gameView);
// Get the "scale" field of the zoom area (it's actually a field, not a property)
var scaleField = zoomArea.GetType().GetField("m_Scale", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic);
// Set the scale to (1, 1) to reset the zoom
scaleField.SetValue(zoomArea, new Vector2(1f, 1f));
// Repaint the Game view window to apply the change
gameView.Repaint();
}
}
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.
BiscuitsMx
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"