Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Can not search scriptable event in listener #19

Open
GDdark opened this issue Jan 25, 2022 · 1 comment
Open

Bug: Can not search scriptable event in listener #19

GDdark opened this issue Jan 25, 2022 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@GDdark
Copy link

GDdark commented Jan 25, 2022

image

Can not search scriptable event in listener and i have to drag the scriptable event from project directory every times.

Unity Version: 2020.3.22f1

By the way. It's a great library and i use it for my project deeply.
hope it gets better and better

@Edvinas01
Copy link
Member

Edvinas01 commented Jan 25, 2022

Hey, thank you for the bug report!

I've tried looking into this issue a while back and this seems to be a tradeoff when using generics to implement events via ScriptableObject. That is, if you use:

[SerializeField]
private MyCustomClass<T> myCustomClass;

Unity can't find the appropriate assets and populate the object picker list. See this forum post for more info:
https://forum.unity.com/threads/generic-scriptable-object-fields.790763/

I've created a new issue #17 which should address this by adding a custom way of searching for these assets. This will be done after the v2.1.0 release which will have a lot of cool features!

@Edvinas01 Edvinas01 added the bug Something isn't working label Jan 25, 2022
@Edvinas01 Edvinas01 added this to the v2.2.0 milestone Jan 25, 2022
@Edvinas01 Edvinas01 modified the milestones: v2.2.0, v3.0.0, v2.3.0 Aug 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants