-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Describe the bug
When you use a method in unity events in a scene/prefab variant, on a prefab object, without applying it to the base prefab, the method doesn't get recognized by the parser and doesn't show correct references in the scene or prefab.
Also the references doesn't update on file change or frequently.
To Reproduce
Steps to reproduce the behavior:
- create a prefab with your component and a serialized event (any component can be used)
- place that prefab in the scene and use your component method in the unity event on that prefab
- save the scene and check for method usages in vs code.
- usages should be zero
[in case of prefab variant you can do the steps replacing a scene with a prefab variant. the key is that the event component should be serialized in a separate file than the one calling your method.]
Expected behavior
Should detect and show usages correctly in this cases.
Screenshots
the serialized file looks like this when it's the case:
- OS: [Windows 11]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers