TextusGames / UnitySerializedReferenceUI

The UI for Unity's SerealizedReference attribute. It allows to change the instance type of field right in editor.
MIT License
144 stars 22 forks source link

UI does not refresh its size when selecting the instance type #13

Open iuridosanjos opened 2 years ago

iuridosanjos commented 2 years ago

I got 3 classes, Base + 2, but "Null" is showing on the options, don't know why (bug probably).

Also, when I set any type, it shows on the inspector correctly but the size doesn't get adjusted, but if I select the same type again, then it resize correctly.

Image showing selecting type "Null" for the first time after another one with properties was chosen: image And if I select it again: image

It's even worst to see if the chosen type has higher editor than the previous as the fields show above anything that has below this editor.