Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2019.2.X, 2019.3.X
Votes
0
Found in
2019.3.0b4
2020.1.0a3
2020.1.0a4
Issue ID
1183719
Regression
Yes
[WindowManagement] NullReferenceException occurs when changing Windows UI scale with the editor open
NullReferenceException is thrown on changing scale factor of the screen from Window's display settings. Refer the attached Video
Steps to reproduce:
1) Create a new project
2) Open display settings in Windows
3) Modify the display scaling percentage
Actual result: NullReferenceException is thrown in the console
Expected result: No errors are thrown in the console
Occurring in: 2019.3.0a3, 2019.3.0b4, 2020.1.0a4
Working fine on: 2019.3.0a2
Environment: Only on Windows
Stack trace:
"NullReferenceException: Object reference not set to an instance of an object
UnityEngine.UIElements.UIR.UIRenderDevice.get_vertexTexturingIsAvailable () (at <0c161f4a982348948bf3df942cd363c9>:0)
UnityEngine.UIElements.UIR.UIRVEShaderInfoAllocator.Construct () (at <0c161f4a982348948bf3df942cd363c9>:0)
UnityEngine.UIElements.UIR.RenderChain.Constructor (UnityEngine.UIElements.IPanel panelObj, UnityEngine.UIElements.UIR.UIRenderDevice deviceObj, UnityEngine.UIElements.UIRAtlasManager atlasMan, UnityEngine.UIElements.UIR.VectorImageManager vectorImageMan) (at <0c161f4a982348948bf3df942cd363c9>:0)
UnityEngine.UIElements.UIR.RenderChain..ctor (UnityEngine.UIElements.IPanel panel, UnityEngine.Shader standardShader) (at <0c161f4a982348948bf3df942cd363c9>:0)
UnityEngine.UIElements.UIRRepaintUpdater.CreateRenderChain () (at <0c161f4a982348948bf3df942cd363c9>:0)
UnityEngine.UIElements.UIRRepaintUpdater.OnPanelChanged (UnityEngine.UIElements.BaseVisualElementPanel obj) (at <0c161f4a982348948bf3df942cd363c9>:0)
UnityEngine.UIElements.BaseVisualTreeUpdater.set_panel (UnityEngine.UIElements.BaseVisualElementPanel value) (at <0c161f4a982348948bf3df942cd363c9>:0)
UnityEngine.UIElements.VisualTreeUpdater.SetUpdater[T] (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at <0c161f4a982348948bf3df942cd363c9>:0)
UnityEngine.UIElements.VisualTreeUpdater.SetDefaultUpdaters () (at <0c161f4a982348948bf3df942cd363c9>:0)
UnityEngine.UIElements.VisualTreeUpdater..ctor (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <0c161f4a982348948bf3df942cd363c9>:0)
UnityEngine.UIElements.Panel..ctor (UnityEngine.ScriptableObject ownerObject, UnityEngine.UIElements.ContextType contextType, UnityEngine.UIElements.EventDispatcher dispatcher) (at <0c161f4a982348948bf3df942cd363c9>:0)
UnityEngine.UIElements.Panel.CreateEditorPanel (UnityEngine.ScriptableObject ownerObject) (at <0c161f4a982348948bf3df942cd363c9>:0)
UnityEngine.UIElements.UIElementsUtility.FindOrCreateEditorPanel (UnityEngine.ScriptableObject ownerObject) (at <0c161f4a982348948bf3df942cd363c9>:0)
UnityEditor.GUIView.get_panel () (at <134bb6c806f34740a4c731fca89ba780>:0)
UnityEditor.GUIView.SetPosition (UnityEngine.Rect newPos) (at <134bb6c806f34740a4c731fca89ba780>:0)
UnityEditor.HostView.SetPosition (UnityEngine.Rect newPos) (at <134bb6c806f34740a4c731fca89ba780>:0)
UnityEditor.View.set_position (UnityEngine.Rect value) (at <134bb6c806f34740a4c731fca89ba780>:0)
UnityEditor.SplitView.PlaceView (System.Int32 i, System.Single pos, System.Single size) (at <134bb6c806f34740a4c731fca89ba780>:0)
UnityEditor.SplitView.SetupRectsFromSplitter () (at <134bb6c806f34740a4c731fca89ba780>:0)
UnityEditor.SplitView.Reflow () (at <134bb6c806f34740a4c731fca89ba780>:0)
UnityEditor.SplitView.SetPosition (UnityEngine.Rect newPos) (at <134bb6c806f34740a4c731fca89ba780>:0)
UnityEditor.View.set_position (UnityEngine.Rect value) (at <134bb6c806f34740a4c731fca89ba780>:0)
UnityEditor.MainView.SetPosition (UnityEngine.Rect newPos) (at <134bb6c806f34740a4c731fca89ba780>:0)
UnityEditor.View.set_position (UnityEngine.Rect value) (at <134bb6c806f34740a4c731fca89ba780>:0)
UnityEditor.ContainerWindow.OnResize () (at <134bb6c806f34740a4c731fca89ba780>:0)
"
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Linux][Plastic SCM] Unity Version Control window text is replaced by the key names of the labels and buttons
- [Android] Unstable FPS on a Player with an empty URP Scene when launched on Samsung S9
- Profiler fails to pull data from the Player when Building And Running a development build
- ARM64 build fails when Script Debugging is enabled
- LOD Group Component Meshes do not change when the Scene view is closed
Add comment