-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Access violation - code c0000005 #13
Comments
Callstack:
|
Got the same error and stacktrace. The issue in my case is that the actor which does a pathfinding request is outside of the manager range
NavigationManager is a nullptr here in my case, which results in an incorrect dereference on the next line. Current local code to fix the issue:
|
The actor was well within the navmesh in my case |
Another case where it could go wrong, since it really seems to be the same crashsite, is that the moment an actor dies this task is still ran (could be timing related). I.e. if the pawn is a nullptr here, you get the same issue, since then also the manager is not found for the pawn. |
The crash occurs as soon as the BT is activated. The pawn is alive and well at the time. |
Why not attach a debugger and find out? It should break at the right spot |
It breaks on |
So, the plugin suddenly started making problems. Haven't changed anything about the nav, as I've been dealing with level design recently. And yet – what used to work, now crashes the engine.
dealt with access violation once before, it was due to the pawn being out of the nav volume bounds. It is not the case this time, I made double-sure of that.
UE 4.20.2, Blueprint project
Relevant screenshots: https://imgur.com/gallery/PEV3uwx
The text was updated successfully, but these errors were encountered: