# \[C++\] Actor Component variables Reset when restarting Editor

**URL:** <https://forums.unrealengine.com/t/c-actor-component-variables-reset-when-restarting-editor/449357>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [May 22, 2019, 12:03am UTC](https://forums.unrealengine.com/t/c-actor-component-variables-reset-when-restarting-editor/449357 "2019-05-22T00:03:22Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Chkoupinator](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chkoupinator](https://forums.unrealengine.com/u/Chkoupinator)\
**Post date:** [May 22, 2019, 2:25pm UTC](https://forums.unrealengine.com/t/c-actor-component-variables-reset-when-restarting-editor/449357/5 "2019-05-22T14:25:46Z")

</div>

Did you read my answer? I’m pretty sure this has something to do with hot reload

---

_[View the full topic](https://forums.unrealengine.com/t/c-actor-component-variables-reset-when-restarting-editor/449357)._
