Pure virtual not implemented (UAnimSequenceBase::GetAnimationPose() ) crash
I just finished upgrading from 4.7.6 to 4.9.2 and am now seeing a frequent crash when i play in the editor and move my character around the level.
I looked at the last error log from my game.
I do have a pretty good sized c++ project that I had to fix specific code changes to compile after the upgrade, but I do not reference anywhere the function GetAnimationPose(). I did have to redo a similar error in my own code to fix this when upgrading as a similar error was thrown. Not sure if related. It probably has something to do with my upgrade but I am not sure what the best way to debug this as the error thrown is referencing engine source code which I have not touched. I am new to the concept of the UE4 PURE_VIRTUAL macro as well so sorry for not understanding if this is obvious.
Any Help is greatly appreciated. Thanks!
asked Oct 15 '15 at 03:30 AM in Bug Reports
So this seems pretty rare to my set up but was really hard to track down. I think I solved my issue as I was able to reproduce it consistently in my project after lots of crashing and testing different scenarios.
Long story short I have a c++ animinstance class that is responsible for setting up some variables for the Animation Blueprint to transition animations too and from based off of some triggers in my pawns. One of these is a generic override for a "GetReady animation that is toggled via c++ when the player character gets close to it. Otherwise the pawn just stays idle.
Basically the issue I was experiencing was; When I would run up to the enemy , the get ready animation toggled via c++ trigger, which in turn triggered a similar animation (both animation had anim notifys) to play via the animation blueprint state machine. Once transitioned to this state in the animation BP, I believe this is where it would crash the editor every time. Deleting the extra animation in my Anim Blueprint fixed the crashes. I am not sure honestly why I built it out the way i did to have this override of a "getReady" animation other than the fact of creating a more modular approach of my enemies animation states , so some just immediately start to attack, but for now this should be okay. I built that system a while ago :( maybe back to the drawing board for that one ... I am just happy I can now actually use 4.9.2 , what an improvement from 4.7.6.
Hope this rant helps someone else.
Follow this question
Once you sign in you will be able to subscribe for any updates here