Project Crash On load

Hi I originally had AI characters moving around using a behaviour tree and a AI controller in 4.7 Preview 7 and everything was working fine, I updated to Preview 8 and every time I try to load my project It crashes with this error.

Assertion failed: BlueprintObj->GeneratedClass [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.7\Engine\Source\Editor\UnrealEd\Private\Kismet2\Kismet2.cpp] [Line: 861]
Invalid generated class for AI_Controller

I deleted the ‘AI_Controller’ that it was having problems with and the project loaded fine, but now my AI don’t move. I created a brand new controller and set up the AI again to work which they did but if I save the project with the new controller and try to open it again I get the same error but with the new controller I just made.

I noticed that when I had the project open with the new AI controller I’d made that if I go to the folder and try and open the same project that’s open I get the error with the controller even though the project is open and working fine but if I close the project it I wont be able to open it again.

I’ve found out how to recreate the bug on my project:

Create new blue print use the aiController class and I put the following blueprint into it

and in the Character that I want to move I put the controller into the ‘AI Controller Class’

After doing that when I save and try to reopen the project it crashes everytime unless I delete the ai controller blueprint.

Hi AaronK,

I attempted to reproduce the crash but so far I haven’t been able to. Could you try reproducing it in a new 4.7 Preview 8 project? If you can repro it there, post the test project for us.

I attempted to reproduce the error but I was not successful, However in the newest 4.7 I remade the controller, enemy and Behaviour tree and I am not having the same error anymore.

I’m glad that you got it working. I’ll keep an eye out for similar errors but if this issue pops up again please post back here and let us know.

Thanks,

TJ