Your workflow seems correct. Have you tried deleting your binaries & intermediate and rebuild the project?
Edit: On ()->SpawnActor(GhostClass, Location, Rotation, SpawnInfo);
Try switching GhostClass to GhostClass->StaticClass()
Your workflow seems correct. Have you tried deleting your binaries & intermediate and rebuild the project?
Edit: On ()->SpawnActor(GhostClass, Location, Rotation, SpawnInfo);
Try switching GhostClass to GhostClass->StaticClass()