Kitbashery / Modular-AI

Visual behaviour & AI design tool for Unity.
https://kitbashery.com/docs/modular-ai
MIT License
34 stars 1 forks source link

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

Open TolinSimpson opened 2 years ago

TolinSimpson commented 2 years ago

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.

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 commented 1 year ago

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.