Skip to content

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

Description

@TolinSimpson

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.

Activity

  1. TolinSimpson commented on Feb 2, 2023

    @TolinSimpson
    MemberAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions