Search Unity

Bug (Case 1382364) The list view of Inspector is broken in a multi-display environment

Discussion in 'Editor & General Support' started by unity_IpxdANggCs1roQ, Nov 11, 2021.

  1. unity_IpxdANggCs1roQ

    unity_IpxdANggCs1roQ

    Joined:
    Feb 19, 2018
    Posts:
    44
    Code:
    Code (CSharp):
    1. using System.Collections.Generic;
    2. using UnityEngine;
    3.  
    4. public class TestScript : MonoBehaviour {
    5.     public List<int> Numbers;
    6. }
    Result: Elements in the list are not displayed correctly.
    cap.jpg
     
  2. Zephus

    Zephus

    Joined:
    May 25, 2015
    Posts:
    356
    Unfortunately I can't help you, but I've copied your code and I can't reproduce this with 2021.2.0f:
    upload_2021-11-11_19-15-31.png
     
    unity_IpxdANggCs1roQ likes this.
  3. unity_IpxdANggCs1roQ

    unity_IpxdANggCs1roQ

    Joined:
    Feb 19, 2018
    Posts:
    44
    What about version 2021.2.2f1, or 2021.2.3f1? It seems to be regressing.
     
  4. Zephus

    Zephus

    Joined:
    May 25, 2015
    Posts:
    356
    I just tried it in 2021.2.3f1 and it still works as intended. Have you tried resetting the Component or using this?
    Code (CSharp):
    1. public List<int> Numbers = new List<int>();
     
  5. unity_IpxdANggCs1roQ

    unity_IpxdANggCs1roQ

    Joined:
    Feb 19, 2018
    Posts:
    44
    I found the cause.
    This symptom seems to be related to the resolution of the monitor. I have three displays (4K+4K+FullHD) in a Windows environment, and I have confirmed that the symptoms are definitely reproduced in this environment.

    I will upload the video later.
     
    Zephus likes this.
  6. unity_IpxdANggCs1roQ

    unity_IpxdANggCs1roQ

    Joined:
    Feb 19, 2018
    Posts:
    44
    Last edited: Dec 1, 2021