We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cec320 commit 69e1684Copy full SHA for 69e1684
com.unity.ml-agents/Tests/Editor/PublicAPI/PublicApiValidation.cs
@@ -102,6 +102,8 @@ public void CheckSetupAgent()
102
var agent = gameObject.AddComponent<PublicApiAgent>();
103
// Make sure we can set the behavior type correctly after the agent is added
104
behaviorParams.behaviorType = BehaviorType.InferenceOnly;
105
+ // Can't actually create an Agent with InferenceOnly and no model, so change back
106
+ behaviorParams.behaviorType = BehaviorType.Default;
107
108
// TODO - not internal yet
109
// var decisionRequester = gameObject.AddComponent<DecisionRequester>();
0 commit comments