I copy pasted code from LandscapeMountains and now I cant open my project

I copy pasted blueprint code from the parachute glide function (LandscapeMountains demo) straight in to my “third person pawn’s” graph. Now I cant open my project.

I had alot of good code that was working in there that I cant reach now!

"Assertion failed: InputSink != NULL [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.10\Engine\Source\Editor\KismetCompiler\Private\KismetCompiler.cpp] [Line: 2807]
"

You can try this: Open your project folder in explorer, make sure the editor is closed and go into your “Saved” folder in your project’s main folder, then into your “Backup” folder…look for the backup of the asset you want to restore (I n your case the Third Person Character BP). They are date stamped so you will have to find one that is stamped prior to the changes you made. Once you find it Copy it and then Paste it into the same location in your content folder as the original asset. Now take the Original asset and Cut it from the folder and place it somewhere out of the way (like on your Desktop). Now rename the backup file with the date stamp to match the asset’s name that you just put onto your desktop (the original one). Start up the editor again and open your project it should be restored.

Hi jesperico,

  • Does this occur in a clean, blank project with no additional content or is it limited to one project?
  • What steps can I take to reproduce this on my end?
  • Have you tried moving the affected asset to a new project and opening there? If you are able to open it, can you remove the pasted code?
  • What specific blueprint code did you attempt to copy/paste over.

Hi jesperico,

We have not heard from you in several days. I am marking this as answered for tracking purposes. If you are still experiencing this error, please comment with the requested information.

Hi, I managed to restore my old code by going into MyProject\Saved\Autosaves\Game\ThirdPersonBP\Blueprints!