Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question First element in [SerializeField] List overlaps under elements

Discussion in 'Code Editors & IDEs' started by truongxuanhieu11, Dec 2, 2022.

  1. truongxuanhieu11

    truongxuanhieu11

    Joined:
    Jun 13, 2020
    Posts:
    2
    Problem
    When I put [SerializeField] to a list to display it in Inspector then expand every elements in that list, it is ok with Element 1 or higher.
    The problem is that when I expand Element 0, its attributes showed in Inspector overlap under Elements like this:
    Due to this, I can't assign value to attributes of Element 0.
    Are there any ways to fix it? Or just ignore Element 0 and start with Element 1?
     
  2. Baste

    Baste

    Joined:
    Jan 24, 2013
    Posts:
    6,204
    I believe this bug was fixed a few months ago. What Unity version are you on?
     
    truongxuanhieu11 likes this.
  3. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    4,200
    Yeah that's a known issue. Try upgrading to the latest version (the xxx) of the major.minor.xxx Unity version you are using.
     
    truongxuanhieu11 likes this.
  4. truongxuanhieu11

    truongxuanhieu11

    Joined:
    Jun 13, 2020
    Posts:
    2
    Thank you, I will try