@editable Abstract Classes / Interfaces do not show classes that implement them in editor.

Summary

@editable Interfaces / Abstract Classes don’t show the classes that implement them anymore in editor.

Please select what you are reporting on:

Creative

What Type of Bug are you experiencing?

Assets

Steps to Reproduce

foo := interface{}
bar := class<concrete>(foo):
    @editable I : int = 0

test_case := class(creative_device):
    @editable Foos : []foo = array{}
    #Try to add editables in editor and all that you'll get is a drop down to other types of assets.



Expected Result

I should be able to select classes that implment the interfaces / abstract classes

Observed Result

I get a random dropdown that lets me select other asset types (ie materials, props etc…)

Platform(s)

Windows

Additional Notes

Workaround at the moment is to add at least one class that implements the interface / abstract class

so

test_case := class(creative_device):
    @editable Foos : []foo = array{bar{}}
    #You can then select duplicate to add new elements but not ideal. 

Should be the same as the bug reported here Editable Interfaces No Longer Work in v34.20 - #2 by Mineblo

1 Like