# Cable component not updating during movement/while moving actor.

**URL:** <https://forums.unrealengine.com/t/cable-component-not-updating-during-movement-while-moving-actor/1342051>\
**Category:** Character & Animation\
**Tags:** unreal-engine, bug-report, Blueprint, question\
**Created:** [October 23, 2023, 5:18pm UTC](https://forums.unrealengine.com/t/cable-component-not-updating-during-movement-while-moving-actor/1342051 "2023-10-23T17:18:15Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Darthmarshie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Darthmarshie](https://forums.unrealengine.com/u/Darthmarshie)\
**Post date:** [October 23, 2023, 5:18pm UTC](https://forums.unrealengine.com/t/cable-component-not-updating-during-movement-while-moving-actor/1342051/1 "2023-10-23T17:18:15Z")

</div>

The cable component is not simulating during movement. The cable goes completely stiff until movement stops. Example:

Every time the player character moves, the cable stops simulating and then resumes when player movement stops.

Appears to be similar to [this](https://forums.unrealengine.com/t/cable-component-strange-behaviour-resimulates-every-time-moved/1266981) issue:

And [this](https://issues.unrealengine.com/issue/UE-182294) (fixed) bug report.

Is this a bug? Is there a solution? A workaround?

Thank you.

---

<div class="post-metadata">

**Author:** ![G-TOX](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/g-tox/32/739799_2.png) [@G-TOX](https://forums.unrealengine.com/u/G-TOX)\
**Post date:** [December 15, 2023, 12:57pm UTC](https://forums.unrealengine.com/t/cable-component-not-updating-during-movement-while-moving-actor/1342051/2 "2023-12-15T12:57:45Z")

</div>

I copied the CableComponent Plugin into the Project Plugins Folder from Engine/Plugins/Runtime/ and applied these changes in the source files:

[https://github.com/EpicGames/UnrealEngine/commit/11b6bc9e12ba1af5f0f0f98499e0d739c959d3d6](https://github.com/EpicGames/UnrealEngine/commit/11b6bc9e12ba1af5f0f0f98499e0d739c959d3d6))

You can also copy the entire plugin from the Unreal Engine source files in the main branch where the fix is already applied.

[https://github.com/EpicGames/UnrealEngine/tree/11b6bc9e12ba1af5f0f0f98499e0d739c959d3d6/Engine/Plugins/Runtime/CableComponent](https://github.com/EpicGames/UnrealEngine/tree/11b6bc9e12ba1af5f0f0f98499e0d739c959d3d6/Engine/Plugins/Runtime/CableComponent)

Then I rebuilt the entire project and the plugin in UE5.3.2 works. Good luck.

---

<div class="post-metadata">

**Author:** ![SirCalalot](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SirCalalot](https://forums.unrealengine.com/u/SirCalalot)\
**Post date:** [January 24, 2024, 8:24am UTC](https://forums.unrealengine.com/t/cable-component-not-updating-during-movement-while-moving-actor/1342051/3 "2024-01-24T08:24:48Z")

</div>

Hi @G-TOX those links are 404-ing - any chance you can paste the chages here?  
Thanks!

---

<div class="post-metadata">

**Author:** ![G-TOX](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/g-tox/32/739799_2.png) [@G-TOX](https://forums.unrealengine.com/u/G-TOX)\
**Post date:** [February 18, 2024, 10:31am UTC](https://forums.unrealengine.com/t/cable-component-not-updating-during-movement-while-moving-actor/1342051/4 "2024-02-18T10:31:55Z")

</div>

You must have access to GitHub Unreal Engine Source Code. It’s easy and free. See this: [Unreal Engine on GitHub](https://www.unrealengine.com/en-US/ue-on-github)

---

<div class="post-metadata">

**Author:** ![Ares9323](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ares9323/32/1194521_2.png) [@Ares9323](https://forums.unrealengine.com/u/Ares9323)\
**Post date:** [February 24, 2024, 2:51pm UTC](https://forums.unrealengine.com/t/cable-component-not-updating-during-movement-while-moving-actor/1342051/5 "2024-02-24T14:51:40Z")

</div>

> [@G-TOX](#):
>
> You can also copy the entire plugin from the Unreal Engine source files in the main branch where the fix is already applied.

Copying the entire plugin from your link doesn’t work, I get an error on this line:

`DEFINE_RENDER_COMMAND_PIPE(Cable, ERenderCommandPipeFlags::None);`

Saying:

`Cannot resolve symbol 'Cable'. Cannot resolve symbol 'ERenderCommandPipeFlags'`

Even with a global search I’m not able to find any occurrence of ERenderCommandPipeFlags anywhere in the engine, are you using a source build?

* * *

However, it is enough to delete the `OnUpdateTransform` function from `CableComponent` .h and .cpp, now it’s pretty clear to me why it didn’t work in the editor and it did in the packaged build…

---

<div class="post-metadata">

**Author:** ![G-TOX](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/g-tox/32/739799_2.png) [@G-TOX](https://forums.unrealengine.com/u/G-TOX)\
**Post date:** [February 25, 2024, 11:07am UTC](https://forums.unrealengine.com/t/cable-component-not-updating-during-movement-while-moving-actor/1342051/6 "2024-02-25T11:07:25Z")

</div>

Yes, it doesn’t work like that anymore, it looks like the guys from epic added raytracing support to the component, I tried it about half a year ago, and it worked, try an older revision from branch 5.4 where Raytracing Support is not implemented for the Cable Component , Or switch your project to 5.4 source build, and version 5.4 will be released soon. Good Luck.

---

<div class="post-metadata">

**Author:** ![Shwow](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shwow](https://forums.unrealengine.com/u/Shwow)\
**Post date:** [February 26, 2024, 3:01pm UTC](https://forums.unrealengine.com/t/cable-component-not-updating-during-movement-while-moving-actor/1342051/7 "2024-02-26T15:01:43Z")

</div>

Hello!

Would you be able to say how you rebuilt the solution with the altered code?  
By simply removing “OnUpdateTransform” from the .h and .cpp files, nothing happens.  
I’ve tried to rebuild and regenerate project files, but it always runs the old version.  
I then tried first deleting the Intermediate and Binary files from the CableComponents plugin folder, thinking that would ensure they are regenerated - this just leads to me not being able to launch unreal, with the error message “The following modules are missing or built with a different engine version: CableComponent”. Building and regenerating the project’s and UE5’s files on VS studio has no effect here as well.  
I have also tried utilizing the batch tools in Engine/Build/BatchFiles, but they close as soon as i open them (maybe im supposed to use them with specific arguments?)

For information, I am using version 5.3.2, directly downloaded and installed through the Epic Games Launcher. Does this stop me from being able to modify and regenerate source code?

---

<div class="post-metadata">

**Author:** ![Ares9323](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ares9323/32/1194521_2.png) [@Ares9323](https://forums.unrealengine.com/u/Ares9323)\
**Post date:** [February 26, 2024, 3:04pm UTC](https://forums.unrealengine.com/t/cable-component-not-updating-during-movement-while-moving-actor/1342051/8 "2024-02-26T15:04:45Z")

</div>

> [@Shwow](#):
>
> For information, I am using version 5.3.2, directly downloaded and installed through the Epic Games Launcher. Does this stop me from being able to modify and regenerate source code?

Hi, you don’t have to rebuild the engine, just move the CableComponent plugin from the `Engine/Plugins/Runtime` folder to your project `Plugins` folder!

If you don’t feel like compiling it, here it is with the fix:

[CableComponent.zip](https://forums.unrealengine.com/uploads/short-url/tKuBSVpH1gFg0BXLQpKki7vCti6.zip) (12.3 MB)

---

<div class="post-metadata">

**Author:** ![Shwow](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shwow](https://forums.unrealengine.com/u/Shwow)\
**Post date:** [February 26, 2024, 3:20pm UTC](https://forums.unrealengine.com/t/cable-component-not-updating-during-movement-while-moving-actor/1342051/9 "2024-02-26T15:20:52Z")

</div>

THANK YOU! This works perfectly! After 20 straight hours of trying to debug this, it finally works.  
For anyone who encounters a similar issue: You can always move the plugin folder back to its original location, after it has rebuilt itself on launch! This ensures that all your different projects have the updated binaries.

---

<div class="post-metadata">

**Author:** ![Ares9323](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ares9323/32/1194521_2.png) [@Ares9323](https://forums.unrealengine.com/u/Ares9323)\
**Post date:** [February 26, 2024, 4:11pm UTC](https://forums.unrealengine.com/t/cable-component-not-updating-during-movement-while-moving-actor/1342051/10 "2024-02-26T16:11:02Z")

</div>

> [@Shwow](#):
>
> You can always move the plugin folder back to its original location, after it has rebuilt itself on launch!

This is something that I sometimes do, but only for solo projects.  
It’s not a “good practice” if you work with a team, that’s why I avoid recommending it to other people. I prefer to have it in the plugins folder and pushed to the Git repo, just to ensure that everyone is working with the same version of the plugin!
