Two Sceneviews Clash (Add Component Submenu)

jupiter // blue 2 months ago updated by Lazlo Bonin (Lead Developer) 2 months ago 13 1 duplicate

When opening the "+" Menu to add components in my Peek install, the window flickers in both scene views really fast. (actually faster and more evenly than visible in the video, it seems like they flicker at half my screen's refresh rate)

Some peculiarities about my setup:
2 Screens running unity (but the sceneviews are all on the same screen)
Main screen runs at 95 Hz, game view screen runs at 60 Hz
Unity Version:
Peek Version:

Duplicates 1

In contrast, the "Transform" editor is fine, for example.

Sorry, this was wrong, even in an empty scene, after resizing some of the sceneviews, I get flickers on the custom editors as well:

100% repro also on a single-screen layout:
- switch Unity to 4 Split layout

- select a gameobject and then click the + button to add a component

Not reproducible on Unity 2019.4.14f1 with the URP sample project.

(actually there's a brief flicker sometimes)

Reproducible (in a less aggravated way) in 2020.2.0b13 with the URP Sample Project.

The windows flicker a few times, then stay in the right sceneview... sometimes.

100% reproducible in my project even with a new blank scene.


"dependencies": {
"com.unity.2d.sprite": "1.0.0",
"com.unity.burst": "1.4.1",
"com.unity.cinemachine": "2.7.1",
"com.unity.collab-proxy": "1.3.9",
"com.unity.ide.rider": "3.0.3",
"com.unity.ide.visualstudio": "2.0.5",
"com.unity.ide.vscode": "1.2.3",
"com.unity.inputsystem": "1.1.0-preview.2",
"com.unity.mathematics": "1.2.1",
"com.unity.nuget.newtonsoft-json": "2.0.0",
"com.unity.physics": "0.5.1-preview.2",
"com.unity.platforms": "0.7.0-preview.10",
"com.unity.properties.ui": "1.6.2-preview.1",
"com.unity.recorder": "2.5.0-pre.1",
"com.unity.render-pipelines.universal": "10.2.0",
"com.unity.rendering.hybrid": "0.10.0-preview.21",
"com.unity.scriptablebuildpipeline": "1.15.1",
"com.unity.test-framework": "1.1.19",
"com.unity.textmeshpro": "3.0.3",
"com.unity.timeline": "1.4.5",
"com.unity.ugui": "1.0.0",
"com.unity.visualeffectgraph": "10.2.0",
"com.unity.modules.ai": "1.0.0",
"com.unity.modules.androidjni": "1.0.0",
"com.unity.modules.animation": "1.0.0",
"com.unity.modules.assetbundle": "1.0.0",
"com.unity.modules.audio": "1.0.0",
"com.unity.modules.cloth": "1.0.0",
"com.unity.modules.director": "1.0.0",
"com.unity.modules.imageconversion": "1.0.0",
"com.unity.modules.imgui": "1.0.0",
"com.unity.modules.jsonserialize": "1.0.0",
"com.unity.modules.particlesystem": "1.0.0",
"com.unity.modules.physics": "1.0.0",
"com.unity.modules.physics2d": "1.0.0",
"com.unity.modules.screencapture": "1.0.0",
"com.unity.modules.terrain": "1.0.0",
"com.unity.modules.terrainphysics": "1.0.0",
"com.unity.modules.tilemap": "1.0.0",
"com.unity.modules.ui": "1.0.0",
"com.unity.modules.uielements": "1.0.0",
"com.unity.modules.umbra": "1.0.0",
"com.unity.modules.unityanalytics": "1.0.0",
"com.unity.modules.unitywebrequest": "1.0.0",
"com.unity.modules.unitywebrequestassetbundle": "1.0.0",
"com.unity.modules.unitywebrequestaudio": "1.0.0",
"com.unity.modules.unitywebrequesttexture": "1.0.0",
"com.unity.modules.unitywebrequestwww": "1.0.0",
"com.unity.modules.vehicles": "1.0.0",
"com.unity.modules.video": "1.0.0",
"com.unity.modules.vr": "1.0.0",
"com.unity.modules.wind": "1.0.0",
"com.unity.modules.xr": "1.0.0"

The native right-click context menu also opens in the wrong window.

The Peek context menu opens correctly:

In an empty scene, the window seems to open in the right spot first (the flicker is reported in issue #5654) but on subsequent clicks, will always open in the wrong spot until I move the mouse around a bit.

Trying it out on Unity 2020.1, with URP 8.2 it seems to work, URP 9.0 will give an occasional flicker exactly as the problem I see with URP 10.2

Unity 2020.1 with URP 9.0 occasionally throws this exception:


Hi Jupiter,

Thanks for the detailed bug report and sorry for the late reply.

I'll investigate and get back to you.




Hi Jupiter,

Again, thanks for the bug report and sorry you're experiencing this issue.

This seems somehow related to your other report. I'll investigate as well.



Fixed (Unreleased)

Hi Jupiter,

I have tried reproducing the issue with:

  • Unity 2020.1.15f1
  • Vanilla URP Project
  • Peek v.1.3.1
  • 4-Split Layout
  • Single-Screen (don't have access to a dual monitor setup ATM)

I was not able to reproduce it.

However, I did rework the code for multiple scene view toolbars.

Each scene view should now get a different set of GUI controls for the selection toolbars. Before, they were sharing the same GUI controls, which may have caused your issue. 

This tentative fix is the best I can do without reproducing. It will be included in Peek v.1.3.2. Please let me know if it fixes your issues after it has been released.

Hi Jupiter,

I'm merging this thread as it seems deeply related with your other report and thus my other fix.