Skip to content

Fix NullReferenceException for Behavior Parameters without Agent#5382

Merged
dongruoping merged 2 commits into
mainfrom
develop-behaviorparams-error
May 24, 2021
Merged

Fix NullReferenceException for Behavior Parameters without Agent#5382
dongruoping merged 2 commits into
mainfrom
develop-behaviorparams-error

Conversation

@dongruoping

Copy link
Copy Markdown
Contributor

Proposed change(s)

Fix the NullReferenceException reported in #5374.

Check agent existence in editor script. Also add warning box if no Agent is found.

Useful links (Github issues, JIRA tickets, ML-Agents forum threads etc.)

Types of change(s)

  • Bug fix
  • New feature
  • Code refactor
  • Breaking change
  • Documentation update
  • Other (please describe)

Checklist

  • Added tests that prove my fix is effective or that my feature works
  • Updated the changelog (if applicable)
  • Updated the documentation (if applicable)
  • Updated the migration guide (if applicable)

Other comments

@dongruoping dongruoping requested a review from chriselion May 24, 2021 17:07
@dongruoping dongruoping merged commit 85dce43 into main May 24, 2021
@delete-merged-branch delete-merged-branch Bot deleted the develop-behaviorparams-error branch May 24, 2021 18:24
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators May 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants