Download

weapon won't spawn in player hand

i got a messege code saying this:

Play in editor start time for /Game/ThirdPersonBP/Maps/UEDPIE_0_ThirdPersonExampleMap 0.196
AttachTo: ‘/Game/ThirdPersonBP/Maps/UEDPIE_0_ThirdPersonExampleMap.ThirdPersonExampleMap:PersistentLevel.ThirdPersonCharacter_167.CollisionCylinder’ root component cannot be attached to other components in the same actor. Aborting.

https://streamable.com/qn4gf

Hi there,

It seems that you are attaching the root component to some other component, best option is to check your Constructor definition (or any other function where you are adding and attaching some components) in the .Cpp file you might have done something like this i suppose:

RootComponent->SetupAttachment(AnyotherComponent);

oh and in the video is the Gun attached to the model? or you added the Gun as a preview mesh on some socket?