Spawn Actor/Object from code

What engine version are you using? I didn’t have to include Engine/Blueprint.h for it to work, but I was using 4.5.1. Maybe something changed.