You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same setup as in the ReferencePicker example except we move abstract classes to a parent script:
Everything works well, but as soon as we make a generic version out of our classes-holders:
Whenever the reference picker arrow is clicked, nothing happens and a NullRef exception is thrown pointing to the line 31 in "ReferencePickerAttributeDrawer" (I guess "realType" is null).
Interestingly, if we move only one abstract class to the ParentScript - everything will work as intended.
The text was updated successfully, but these errors were encountered:
The field ...ChildScript.item has the [SerializeReference] attribute applied, but is of type ....ParentScript.Base2Fruit<System.Single>, which is a generic instance type. This is not supported. You must create a non-generic subclass of your generic instance type and use that as the field type instead.
Removing ReferencePicker gives the same error, which means the error came from Unity rather than SaintsField.
Same setup as in the ReferencePicker example except we move abstract classes to a parent script:
Everything works well, but as soon as we make a generic version out of our classes-holders:
Whenever the reference picker arrow is clicked, nothing happens and a NullRef exception is thrown pointing to the line 31 in "ReferencePickerAttributeDrawer" (I guess "realType" is null).
Interestingly, if we move only one abstract class to the ParentScript - everything will work as intended.
The text was updated successfully, but these errors were encountered: