Adding SceneComponents in constructor, something going wrong

Thanks for replying! Here is the declarations in the .h file:



public:
	USceneComponent *	ActiveGroup;
	USceneComponent *	InactiveGroup;
	USceneComponent *	LootLocations;


I am setting the component’s AttachParents to the RootCompoent right?

I have tested with other components, like BoxComponent but the same result.