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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Bug LocalizedString local variables list rendering incorrectly in property drawers

Discussion in 'Localization Tools' started by collinpatrick15, Jun 4, 2022.

  1. collinpatrick15

    collinpatrick15

    Joined:
    Nov 7, 2018
    Posts:
    35
    I was building a property drawer for a data class in a scriptable object. Whenever I try to draw a LocalizedString property field, the local variables list draws itself above the field instead of at the bottom where it belongs. It looks like the property still maintains the correct height with a spot to place the local variables list even though it's in the wrong spot.

    I am drawing the field using:
    Code (CSharp):
    1. EditorGUI.PropertyField( currentPosition, aProperty.FindPropertyRelative( aPropertyName ), true );
    This is how the field ends up being drawn in my scriptable object.
    upload_2022-6-4_14-18-3.png
     
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    7,846
    That's strange. Could you please file a bug report so we can look into it?
     
  3. collinpatrick15

    collinpatrick15

    Joined:
    Nov 7, 2018
    Posts:
    35
    I created a bug report "CASE IN-5621"

    I'll also include the example files I made for the report here too.
     

    Attached Files:

    karl_jones likes this.