Unreal project crashes on adding projectilemovement component


When i add the following text to the code my entire unreal project crashes and gives me the following error:

"Fatal error: [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.10\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp] [Line: 3045]
Default subobject "

It would seem having more than one CreateDefaultSubobject crashes it, anyone have any ideas what is causing this?

You’re creating 2 objects with the same name. “Projectile”. Change the second one.