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

Action/Condition Dropdown Fails to Update Post Compilation Module Changes #6

Open
TolinSimpson opened this issue Sep 1, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@TolinSimpson
Copy link
Member

ISSUE:
If a AIAgent is being inspected while adding an action or condition and a change is made to a module's action/condition override then compiled the enum popup dropdown will not reflect the changes.

  • AIAgents not inspected during compilation do not have this problem.
  • Refreshing modules does not update the dropdown.

This is a potential Unity bug.

Workaround:
Reset the component that had script changes. This however will also clear all assigned fields on the module component.

@TolinSimpson TolinSimpson added the bug Something isn't working label Sep 1, 2022
@TolinSimpson
Copy link
Member Author

Solution:
Move the condition and action string arrays from modules into the custom inspector script.

This solution is not viable for Modular AI given the current data structure.

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

1 participant