mackysoft / Unity-SerializeReferenceExtensions

Provide popup to specify the type of the field serialized by the [SerializeReference] attribute in the inspector.
https://qiita.com/makihiro_dev/items/26daeb3e5f176934bf0a
MIT License
770 stars 59 forks source link

[BUG] SubClassSelectorDrawer.cs lagging when i write in a field #36

Closed Sebax95 closed 10 months ago

Sebax95 commented 1 year ago

What happened?

Hi! There is a problem when i try to write in a field that use the PropertyDrawer "SubclassSelector" Video the variable is an interface that use UniTask maybe the problem is in the method GetTypeName

Package Version

1.1.7

Unity Version

2021.3.27 No response

mackysoft commented 1 year ago

Thanks. Can you provide the source code of the corresponding interface, abstract type, and concrete type definition?

Sebax95 commented 12 months ago

Sure! image image image hope this can help you!

mackysoft commented 10 months ago

Sorry, I've been busy and delayed in supporting the library.

In the video, FlushDirty is causing overhead, but I could not reproduce it here. One thing I would like to confirm, the AssetLoader component seems to have an editor extension, does it do anything when there is a change to the properties?

It is possible that SubclassSelector is causing frequent overhead, but I need more information to respond.

If you are willing to reply, please re-open.