Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Bug Serializable class named list elements appears incorrectly in the inspector

Discussion in '2022.2 Beta' started by FoodFish_, Oct 1, 2022.

  1. FoodFish_

    FoodFish_

    Joined:
    May 3, 2018
    Posts:
    58
    upload_2022-10-1_13-22-59.png

    In the past by using the "_name" SerializeField on a Serializable class the array element is renamed. However here the indentation is wrong after 2922.2.0b9.3080.

    Here how it's structured
    SustainedActiveAbilityImpl (MonoBehaviour)
    > AbilityAction (Serializable, array element)
    > AbilityActionData (Serializable, member)
    > Effect (MonoBehaviour, array element, reference)

    The Effect array element looks wrong