Search Unity

Bug Serialized Field in Inspector becomes Invisible on External Display (Apple Silicon Editor M1)

Discussion in 'macOS' started by PixelEnvision, Nov 14, 2021.

  1. PixelEnvision

    PixelEnvision

    Joined:
    Feb 7, 2012
    Posts:
    513
    Value list of a serialized field becomes invisible while editor is on external display.
    On-External-Display.png

    If you move it to the main display it becomes visible again. Also while being invisible on the external display, if you click & hold one of the fields, it becomes visible while selected.
    On-External-Display-WhileClicking.png

    That is reproduced on Macbook Pro with M1 chip on macOS Monterey 12.0.1 using Unity 2021.2.2f1 Apple Silicon Editor.

    Bug report submitted...
     
  2. chris_schubert

    chris_schubert

    Joined:
    Jan 8, 2019
    Posts:
    28
    Very thankful I found your post. I thought I was going nuts!

    This is occurring for me as well, but on an entirely different platform. Image below. Can reproduce in a fresh install of 2021.2.4f1, in the SampleScene project by simply adding a default prefab to the scene.

    System Info:
    OS Edition Windows 10 Pro
    Version 21H1
    OS build 19043.1348
    Processor AMD Ryzen 9 3900X 12-Core Processor 3.80 GHz
    Installed RAM 64.0 GB
    Graphics Card NVIDIA GeForce RTX 2080, latest drivers


    I have a 2 display set up, both using OS-level UI scaling. Monitor1 is scaled to 125% using display resolution of 1920x1080. TV1 is scaled to 225% using display resolution of 3840x2160. Both displays running off the same card.

    The issue occurs in the following scenarios:
    • Windows Main display is Monitor1. Unity main window is on Monitor 1. Inspector tab is on TV1.
    • Windows Main display is Monitor1. Unity main window is on TV1. Inspector tab is on TV1.
    • Windows Main display is TV1. Unity main window is on Monitor1. Inspector tab is on Monitor1.
    • Windows Main display is TV1. Unity main window is on TV1. Inspector tab is on Monitor1.
    The issue does not occur in the following scenarios:
    • Windows Main display is Monitor1. Unity main window is on Monitor 1. Inspector tab is on Monitor 1.
    • Windows Main display is Monitor1. Unity main window is on TV1. Inspector tab is on Monitor 1.
    • Windows Main display is TV1. Unity main window is on Monitor1. Inspector tab is on TV1.
    • Windows Main display is TV1. Unity main window is on TV1. Inspector tab is on TV1.
    So as far as I can tell, certain child properties being drawn by their default property handler, seem to not be getting painted, despite their layout being correctly set up. This only occurs when the inspector tab is on a non-main monitor. I can reproduce the issue with just about any type that has child properties and is not using a custom drawer.

    The latest NVIDIA graphics driver update may be somehow related. I updated my GPU driver in the last few days and just noticed the issue despite 500+ hours in 2021.2.* build.

    inspector_issue.png
     
    Last edited: Dec 2, 2021
  3. cirocontinisio

    cirocontinisio

    Joined:
    Jun 20, 2016
    Posts:
    884
    Hey @PixelEnvision ! I am also experiencing this bug, it's not only on Mac. What is the number of the bug report?
     
  4. PixelEnvision

    PixelEnvision

    Joined:
    Feb 7, 2012
    Posts:
    513