# What do I need to do to get Livecoding changes to "stick"?

**URL:** <https://forums.unrealengine.com/t/what-do-i-need-to-do-to-get-livecoding-changes-to-stick/2342516>\
**Category:** Programming & Scripting\
**Tags:** ide, unreal-engine, question, CPP\
**Created:** [February 18, 2025, 5:31pm UTC](https://forums.unrealengine.com/t/what-do-i-need-to-do-to-get-livecoding-changes-to-stick/2342516 "2025-02-18T17:31:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Great\_Elector1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Great\_Elector1](https://forums.unrealengine.com/u/Great_Elector1)\
**Post date:** [February 18, 2025, 5:31pm UTC](https://forums.unrealengine.com/t/what-do-i-need-to-do-to-get-livecoding-changes-to-stick/2342516/1 "2025-02-18T17:31:17Z")

</div>

I am on 5.1, using Rider with UnrealLink and live coding. When I make changes and compile with livecoding, everything works fine in the editor but the next time I open the editor, any changes I made do not show up in the editor. The CPP/H files do not change, and once I open Rider and _Build and Reload_, the changes are applied in the editor. I am also using Perforce, I’m not sure if that has anything to do with it, but Perforce is enabled in Rider as well.

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [February 18, 2025, 5:36pm UTC](https://forums.unrealengine.com/t/what-do-i-need-to-do-to-get-livecoding-changes-to-stick/2342516/2 "2025-02-18T17:36:21Z")

</div>

> [@Great\_Elector1](#):
>
> Link and live coding. When I make changes and compile with livecoding, everything works fine in the editor but the next time I open the editor, any changes I made do not show up in the editor. The CPP/H files do not change, and once I open Rider and _Build and Reload_, the changes are applied in

Watch out when making changes to the header with live coding enabled. It’s usually mentioned that header modifications can be volatile and it’s suggested to close down the editor while making changes there.

cpp internal function modifications should be fine though.

---

<div class="post-metadata">

**Author:** ![Great\_Elector1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Great\_Elector1](https://forums.unrealengine.com/u/Great_Elector1)\
**Post date:** [February 18, 2025, 6:27pm UTC](https://forums.unrealengine.com/t/what-do-i-need-to-do-to-get-livecoding-changes-to-stick/2342516/3 "2025-02-18T18:27:13Z")

</div>

Well, I tested it by adding a debug print in the CPP file; It didn’t stick after restarting the editor. I think I just have to remember to close the editor, then build in Rider before closing it at the end of the day.
