Exception Access Violation on reboot after using custom animgraph node

After finding out that I couldn’t package a game if I didn’t put my custom animgraphnode classes into a custom editor module, I went and created a new set of animgraphnodes to put into the custom editor module (copies of the ones already in the main module, so I could slowly replace them if I got everything working). I have gotten to the point that everything compiles correctly and that I can use the newly created nodes in the editor as well.

When I place them in a blueprint and play the game, there is no problem whatsoever.

However, when I close the editor and then boot it again, I cannot even get past the loading screen before it just crashes at 71% with an exception access violation.

This is really problematic, as I need those custom nodes and I need to be able to package my game as well. Having to choose either one or the other at the moment is simply not an option.

Crash Log

As an update; I found that if I placed one of the nodes in my animation blueprint without actually attaching them to the poselink, I would be greeted with this message on reboot. The node I had placed would also be gone.

Can anyone explain why this would be the case?

I found the solution. Apparently, the editor module wasn’t being loaded at the correct time. When I changed the loading phase to “Predefault” everything was completely fine.