Closed SKlimkov closed 6 years ago
Thank you for this bug report. I edited issue text to make it more readable.
I will fix it soon.
This is more complex bug based on wrong BindingFlags passed into type.GetField
.
Your solution with type.BaseType
works only in this custom case. But If your have the same classes A and B but whithout any generic behaviour, but is still here:
public abstract class A
{
[OneLine]
public List<Vector2> List;
}
public class B : A
{
}
Now, in e3f3297 it is fully fixed.
For example i have an abstract generic class A and inherited non-generic class B.
This case cause Index out of range exception for SerializedPropertyExtension in 104 line. You will replace
for
for fix it.