# Reparent Capsule Component from Blueprint cause Crash (UE5.2)

**URL:** <https://forums.unrealengine.com/t/reparent-capsule-component-from-blueprint-cause-crash-ue5-2/1201898>\
**Category:** Issues and Bug Reporting\
**Tags:** unreal-engine, CPP, question, Blueprint\
**Created:** [June 17, 2023, 4:55am UTC](https://forums.unrealengine.com/t/reparent-capsule-component-from-blueprint-cause-crash-ue5-2/1201898 "2023-06-17T04:55:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ivan3z](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ivan3z](https://forums.unrealengine.com/u/Ivan3z)\
**Post date:** [June 17, 2023, 4:55am UTC](https://forums.unrealengine.com/t/reparent-capsule-component-from-blueprint-cause-crash-ue5-2/1201898/1 "2023-06-17T04:55:14Z")

</div>

Reparent Capsule Component from Blueprint cause Crash.

 ![0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/a/a/2aad7d7649bf6e572d32588a6e34018dbc33fbca.png)

Bluprint type (Derived from ACharacter)

 ![5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/0/0/50018547defb88e4c55b76b515b03c56e235919e.png)

1-Choice Class  
2-Compile  
3-Crash…

 ![6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/2/6/926a6c6662b58f0ab4bedbcf4c816efdac5fb77d.png)

It really is a very contentious class.  
This caused problems from the first line of code.

If I use this in the constructor it also crashes(But that is another story).

> SetCapsuleHalfHeight(88.0f);  
> SetCapsuleRadius(60.0f);

If I use FObjectInitializer there is no problem

> ObjectInitializer.SetDefaultSubobjectClass(ACharacter::CapsuleComponentName)

But from blueprint it is impossible.

Thank you so much!!
