Search Issue Tracker

By Design

Votes

0

Found in [Package]

1.3.2

Issue ID

LOC-766

Regression

No

Local Variables list is in an incorrect position and overlaps when drawn in a PropertyDrawer

Package: Localization Package

-

Reproduction steps:
1. Open the attached “LocalVariablesList.zip“ project
2. In the Project window select the “MySO“ ScriptableObject
3. In the Inspector expand the “Localized String“ property
4. Observe the “Local Variables” list

Expected result: The list is drawn in a correct position
Actual result: The list is drawn in an incorrect position (above the property) and overlaps other UI

Reproduced with: 2019.4.40f1, 2020.3.36f1, 2021.3.4f1, 2022.1.5f1, 2022.2.0a17

Reproduced on: Windows 10, Windows 11, macOS 12.0.1 (Intel)

Notes:
- In 2022.2, clicking ▶ didn’t expand the property. Can be worked around by clicking the name
- Related forum thread: [https://forum.unity.com/threads/localizedstring-local-variables-list-rendering-incorrectly-in-property-drawers.1291118/|https://forum.unity.com/threads/localizedstring-local-variables-list-rendering-incorrectly-in-property-drawers.1291118/]

  1. Resolution Note:

    This is a bug in the custom property drawer `CustomAttributeDrawer`.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.