Blueprint works but i get an error after playing game

Have you tried restarting the editor?
Maybe it’s a little unstable.
Maybe if you reboot it will go back to normal.