You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rider's integration to Unity3D causes the NovaHelpWindow.GetOrCreateWindow() to be called WHILE YOU ARE TYPING IN RIDER. The result is that "UnityEditor.GetWindow()" is called with "focus = true" (default).... which tells PC to put Unity to foreground and steal Input Focus! (interrupting what you are typing into Rider for coding)
The fix is easy -- send in 'focus = false' as the parameter to override the 'true' default.
This fully fixes the issue. If you really think you want focus to be true, please do a conditional check here to check that "Unity Editor ALREADY has Input Focus." An app should almost never steal Input Focus from the current app.
Here's the Unity forum where I found this solution, finally posted by the final comment from 'thomas-savysoda' on Jul 30, 2021.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Rider's integration to Unity3D causes the NovaHelpWindow.GetOrCreateWindow() to be called WHILE YOU ARE TYPING IN RIDER. The result is that "UnityEditor.GetWindow()" is called with "focus = true" (default).... which tells PC to put Unity to foreground and steal Input Focus! (interrupting what you are typing into Rider for coding)
The fix is easy -- send in 'focus = false' as the parameter to override the 'true' default.
This fully fixes the issue. If you really think you want focus to be true, please do a conditional check here to check that "Unity Editor ALREADY has Input Focus." An app should almost never steal Input Focus from the current app.
Here's the Unity forum where I found this solution, finally posted by the final comment from 'thomas-savysoda' on Jul 30, 2021.
https://forum.unity.com/threads/macos-unity-editor-stealing-focus-constantly.1062950/
I have made this code edit locally, and can confirm that it really works.
Beta Was this translation helpful? Give feedback.
All reactions