We’re currently having a problem with crashes in the build version because of A* (Pro Beta 4.3.58, Unity 2022.1.15). The problem occurs on multiple devices after a short time. We’re using a Grid Graph and the crash randomly occurs after calling astarPath.UpdateGraphs(bounds).
Thank you for the fast reply! We found a situation where we can replicate it, but just in our project. It’s a tycoon game with a building system and everytime you build something the pathfinding is updated in this boundary.
The crash only seems to occur in the build version in one specific scene. If you start playing normally in this scene, it normally crashes in less than 5 minutes. To replicate it faster, we’ve built a lot of things as fast as possible, then it usually crashes in less than 1 minute.
Are there any additional logs or informations we can send you?
Thanks! Would you mind adding a Debug.Log(updateBounds + " " + updateBounds.volume) call right before that? And see what that logs. I have a feeling it might become negative, somehow.
You may have to copy the whole pathfinding package into your Assets folder to be able to edit it.
Hey, is there already an ETA for the next update?
We are eagerly waiting for it so that we can make an update, because the crashes are affecting our game quite a bit at the moment.