July 19, 2017 at 22:00 #21451CrytivoGamesParticipant
We have a strange situation with one of our AI files. On all computers we’ve tried it opens just fine, on windows and on mac os. But, on 1 pc with windows 10 it gives and error and start ai repair tool.
Here is the error.C#1234567891011Failed to load AI: Exception has been thrown by the target of an invocation.UnityEngine.Debug:LogWarning(Object)Apex.AI.Editor.AIUI:LoadFrom(AIStorage, Boolean) (at c:/Development/Apex Applications/ApexGameTools/Source/ApexAI/ApexAIEditor/AIUI.cs:1249)Apex.AI.Editor.AIUI:Load(AIStorage, Boolean) (at c:/Development/Apex Applications/ApexGameTools/Source/ApexAI/ApexAIEditor/AIUI.cs:206)Apex.AI.Editor.AIUI:Load(String, Boolean) (at c:/Development/Apex Applications/ApexGameTools/Source/ApexAI/ApexAIEditor/AIUI.cs:198)Apex.AI.Editor.AIEditorWindow:Load(String, Boolean) (at c:/Development/Apex Applications/ApexGameTools/Source/ApexAI/ApexAIEditor/AIEditorWindow.cs:314)Apex.AI.Editor.AIEditorWindow:Open(String) (at c:/Development/Apex Applications/ApexGameTools/Source/ApexAI/ApexAIEditor/AIEditorWindow.cs:236)Apex.AI.Editor.<>c__DisplayClasse:<ExecuteCommand>b__7() (at c:/Development/Apex Applications/ApexGameTools/Source/ApexAI/ApexAIEditor/UnityEventListener.cs:129)Apex.AI.Editor.UnityEventListener:<ExecuteCommand>b__b() (at c:/Development/Apex Applications/ApexGameTools/Source/ApexAI/ApexAIEditor/UnityEventListener.cs:187)Apex.Editor.EditorAsyncTask:Poll() (at c:/Development/Apex Applications/ApexGameTools/Source/ApexShared/ApexSharedEditor/EditorAsync.cs:140)UnityEditor.EditorApplication:Internal_CallUpdateFunctions()
The problem is that selecting ai in repair list and pressing proceed we result with following image:
Pressing complete and loading repaired ai loads an empty editor. If we try to open that ai again, repair tool is started one more time, with same results.
Could you please advise what can be done, what should we check/update etc.
Thank you.August 1, 2017 at 11:23 #21582RamiKeymaster
Make sure that you update Apex Utility AI and Unity on the given computer, to match the other computers. Also make sure that the assembly/code state is exactly the same. The important point is that any files/classes that the AI depends on for loading (Actions, scorers, qualifiers, selectors, custom data types, utility classes, etc.) must be present for the AI to be loadable.
Apart from that, I’m not sure what else to say. If you are using version control, perhaps try recloning on the machine in question?
You must be logged in to reply to this topic.