XIII crash when adding bots

Hello,

I get the following critical error :

BotController DM_Banque01.BotController0 (Function XIIIMP.BotController.NavPathStorage:004D) Runaway loop detected (over 1000000 iterations)

History: FFrame::Serialize ← AActor::ProcessState ← Object BotController DM_Banque01.BotController0, Old State State XIIIMP.BotController.UnBlock, New State State XIIIMP.BotController.UnBlock ← AController::Tick ← TickAllActors ← ULevel::Tick ← (NetMode=0) ← TickLevel ← UGameEngine::Tick ← UpdateWorld ← MainLoop.

Any solution how i can fix this?

Thanks in advance.

Hi aelb,

This error seems to be the root of the issue:

Log: *** WARNING - PATHS MAY NOT BE VALID ***
Log: Bringing Level Entry.MyLevel up for play (120)...

I noticed that your base directory: Base directory: C:\Users\Mr.KILLUMINATI\Desktop.… Contains a period in “Mr.KILLUMINATI.” Please change this to a period or underscore and try again. If it still fails, please post a new log.

Thanks,

.

I still got the same issue as before (see log). Is there anyway i can change the Maximum Loop Iteration Count, for the XIII Map Editor?

I miss-typed before… it should read “please change this from a period to an underscore…” -That would be starting with the easiest solution moving upward in the event something was being referenced in that directory and never being found.

If that has been corrected, it looks like you are getting the same error from before:

ScriptWarning: BotControllerPlus DM_Banque01.BotControllerPlus3 (Function XIIIMPPlus.BotControllerPlus.NavPathStorage:0168) Accessed array out of bounds (-1/16)
Critical: appError called:
Critical: BotControllerPlus DM_Banque01.BotControllerPlus3 (State XIIIMPPlus.BotControllerPlus.UnBlock:00EF) Runaway loop detected (over 1000000 iterations)
Critical: Windows GetLastError: The parameter is incorrect. (87)
Exit: Executing UObject::StaticShutdownAfterError
Exit: Executing UWindowsClient::ShutdownAfterError
Exit: UHXAUDIOSubsystem::ShutdownAfterError

Which clearly is an issue with an Accessed array from a function in “DM_Banque01.BotControllerPlus3.” Without having the project in front of me, particularly BotControllerPlus, it’s difficult to pinpoint the issue. I suggest looking at this asset closely and making sure you are not using any special characters/punctuation in your directory and/or asset names.

Lastly, a runaway or infinite loop often results from something being called in the script before it is loaded in the level. To answer your last question, the reason there is a limit is to prevent the loop from occurring to the point it eats all the memory in your system causing the program and possibly your computer to crash. Changing this number would not be advised.

*Are you adding bots to the level before the World has been updated?