Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Focus switch after dimension of list is set

Discussion in 'Editor & General Support' started by vrinaldi, May 18, 2020.

  1. vrinaldi

    vrinaldi

    Joined:
    Mar 9, 2017
    Posts:
    6
    Hello, I have found this annoying behaviour of the Inspector, so I'm reporting it here. I'm using 2019.3.10f1

    I have a List of ScriptableObjects (called Property) as attribute of another ScriptableObject class (class Container).
    When I set the "Size" field of this List and press Enter, the Focus changes to the attribute immediately above the List.Size field.

    The Size field I'm trying to modify is the last visible attribute in the inspector of the ScriptableObject that I want to edit.


    1 - My ScriptableObject class:

    upload_2020-5-18_10-58-14.png

    2 - I get ready to define the List length by pressing '5'...
    upload_2020-5-18_10-58-44.png

    3 - ...and once I press "Enter", it shifts the focus on the field above, without setting the Size param!
    upload_2020-5-18_10-59-25.png

    Please notice that if I change Window (i.g. pressing Alt+Tab) instead of pressing "Enter", it works normally.

    I tried adding another field after the list "Properties" the problem persists.