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:
Create Blank project
Create a level.
Create All basic assets required for a basic AI (Blackboard, Behaviour tree, Character and AIController)
Setup Navmesh on floor in map
script controller to run above BT
create a new EQS query
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)
Make a behavior tree with a 2 node, EQS and move to node
Make sure the move to location is set in a VECTOR in a blackboard.
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 …
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
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.
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).
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.
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 … thnx
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
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.