C++ animation notify state crash when open animation

Hello,

UE4 is crashing when i’m trying to Open back my animation.

I created a c++ class derived of UAnimNotifyState and a blueprint derived of that class in order to use it inside the animation.

I add the notify like that:

233565-animadd.png

Everything work well, the event are firing , the code is compiling. Everything is ok when i configure it the first time.

After the animation done , when i open the animation , i got a crash when the animation reach the animation notify.

I tried to delete everything and redo it , but same.

I’m out of idea.

The report number is : UE4CC-Windows-6FDD66E74D3DAF390D1D4192920B3C68_0000

Thanks for the help.

Finally i discovered , i did not have the debugging symbols installed.
So i was not able to see the error properly.
After that the crash told me where exactly the line of code was crashing.
I needed to put more protection on my pointer because the animation state was trying to reach the character class.
Here my fix:

2 Likes