enemies in my game work in the engine, but when i package the game enemies wont work.i guess the navigation is not build in the package. in package, failed is shown as the code below:
C = (AAIController*)Controller;
EPathFollowingRequestResult::Type c = C->MoveToActor(Stronghold, 200);
if (c == EPathFollowingRequestResult::AlreadyAtGoal)
GEngine->AddOnScreenDebugMessage(1, 1, FColor::Green, “Alredy”);
else if (c == EPathFollowingRequestResult::Failed)
GEngine->AddOnScreenDebugMessage(1, 1, FColor::Green, “Failed”);
else if (c == EPathFollowingRequestResult::RequestSuccessful)
GEngine->AddOnScreenDebugMessage(1, 1, FColor::Green, “Request”);
whats wrong? please help me
please help me
can you help me?
What platform are you packaging for? Windows, Android, or iOS?
If it is mobile, what is the model name and number of the device?
hi TJ Ballard
Thanks for answer
Windows 7 Ultimate 64bit
When you are in the editor, does the AI work not only in Play-In-Editor but in NewWindow and Standalone mode as well?
it only works in the Play-In-Editor
Try testing the Navmesh level in the Content Examples. Test all modes and then the packaged version. If everything works fine then it is confined to your personal project.
If that is the case, you would be willing to Private Message me a link over the Forums to download your project so we can test it in-house? Googledrive or Dropbox is preferred.
We haven’t heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you’re still experiencing this issue, please feel free to post back here with additional information.
It’s not resolved for 6 years, shame on you