Skip to content

Troubleshooting Tips

Lucas Massey edited this page Jul 12, 2021 · 2 revisions

Here is a list of troubleshooting steps you can take if your RivalAI Behaviors are not working properly.


Does the Grid Have a Remote Control?
Ensure the grid you are trying to add behavior to has a Remote Control block that can be replaced by the Modular Encounters Spawner during spawning (or that it is already has a RivalAI compatible remote control).


Is the SpawnGroup Properly Configured?
Check your SpawnGroup Definition to ensure that the following tags are included:

[UseRivalAi:true]
[RivalAiReplaceRemoteControl:true] //If prefab has vanilla remote control

Also, ensure that each of your prefabs that will use a behavior has the <Behaviour>YourBehaviorSubtypeId</Behaviour> tag, and ensure that YourBehaviorSubtypeId is replaced with the actual SubtypeId of your behavior profile.


Ensure That Profiles (Trigger, Action, Etc) Loaded
Check the log file to see if your various profiles for RivalAI were detected at load time. There is a section in the log just before the game fully loads that shows all the profiles it has detected and loaded.


Check Your File Formats
If you save one of your Definition Files (ie, SpawnGroup, Profile, or Other XML Based Document) with a File Extension other than .sbc, then the game will not load it.