Mobile game crashes on run EQS query

Build Type : 4.12.5 from launcher,
Build Version : 4.12.5-3039270,
Build configuration : Development,
Build Date : 6 July 2016,

When ‘Actors of class’ query is run on mobile it crashes the game. I have tested only one other query (Points:circle) and it works just fine. The game only crashes when game is run on a mobile device. I had no other android device to test on other than my ASUS Z00LD(Zenphone 2 Laser). And the crashes even when in a blank project.

Reproduction process:

  1. Create Blank project
  2. Create a level.
  3. Create All basic assets required for a basic AI (Blackboard, Behaviour tree, Character and AIController)
  4. Setup Navmesh on floor in map
  5. script controller to run above BT
  6. create a new EQS query
  7. set up the EQS query with Actors of class and give a distance test (test parameters are score only and inverse linear scoring, all else default)
  8. Make a behavior tree with a 2 node, EQS and move to node
  9. Make sure the move to location is set in a VECTOR in a blackboard.
  10. Launch the game on mobile

The moment when the EQS runs the game crashes. If removed the EQS node from the Behavior tree the game runs fine.

DxDiag and Mobile debug logs are attached

  • [Dxdiag][2]
  • [Debug Log][3]

Please let me know about this bug as quickly as you can guys … this is a basic functionality and I need it very badly !! Please suggest any alternatives for now if possible …

Hello,

I’ve been unable to reproduce the crash on my end. To be clear, is this crash only occurring when it is launched to the device? If so:

  • Try packaging the project instead and opening it on the device instead of launching directly to it.
  • Instead of a vector location, try using an Object key that stores the Get All Actors of Class EQS and moving to that location instead.

Here, I made a demo vid to show the deal. I followed the instructions u gave previously but the problem still persists … packaging and launching both give same result and game crashes when running EQS

Unreal editor testing video

Mobile test video

I’m not sure whether it is mobile specific but on my game project, other queries like circle and donut work just fyn. Please reply soon and let me know about what you found.

Hey Sean ! … found anything about the bug ?? plz lemme know about it. My project is kinda stuck cuz of that !!

Do you have a project that is experiencing this crash? Could you please zip it up, upload it to Dropbox, and provide me with a link through PM on the forums?
https://forums.unrealengine.com/member.php?160394-Sean-Flint

I ask because I haven’t seen the same behavior on our devices using my test project so I’d like to see if I can reproduce it using your project.

yeah sure … actually I was experiencing it on blank project too … i’ll upload my project though. I don’t have any other device to test the project. Actors of class test was working on previous engine versions though on my past projects for the same mobile device (4.10 mayb).

Hey XADIFY,

I just wanted to update you to let you know that I am investigating this issue, and will respond with new information as soon as I have it.

Thank you for your patience.

I guess the bug got reproduced now … Thanks a lot Sean :slight_smile: lemme know … you guys are the best !!! :smiley:

Hello,

After attempting to reproduce the crash on a Galaxy S5, we were unable to do so.

This leads me to believe that this is a limitation of the hardware that you are using. If you do not believe that this is the case, or you are able to test on a newer device, please let me know the results and I’ll be glad to reopen the issue for investigation. Feel free to reopen this thread with any new information that can help us reproduce the issue as well.

Thank you!

If I remember correctly I was working on 4.10 for my another AI project and used the same Actors of class EQS for cover system finding the nearest wall or something and it worked …

If its the hardware issue I guess i’ll have to figure out some other way to achieve similar results

i’ll test on some other devices and let u know … :slight_smile: thnx

Hi Sean,

This could be hardware related, but the EQS developers might want to look into a different solution if that is the case. Because I tested it on the following devices:
Galaxy S7
Galaxy S6
Nexus 6
Note 2
iPad 3

All giving the same error XADIFY had:

Assertion failed:
GetDefault()->GetValueSize()
== sizeof(TypeValue)

and all working fine when the EQS node is removed from the behavior tree.

The project I used is Blueprint based, but I tested it with a C++ project and I got the same results. The entire project is included for you test.

I would love to use the EQS system for my project since it has a lot of great built-in tools. So I hope you guys can revisit this issue and make EQS available for mobile developers as well.

Thanks,
Roel

link text

Hey Roel,

I’ve reproduced the issue and entered a bug report here: Unreal Engine Issues and Bug Tracker (UE-37525)

Thanks for your help in tracking the issue down!

Have a great day

Finally !! yeahhh !! :smiley: can’t wait to use it

@XADIFY, make sure to vote for it on the issue page provided by Sean :slight_smile:

hey Sean, I recently updated the engine version to 4.14 and the EQS works jus fine ! :smiley: thanks for all your support