# Data Layers interrup player input

**URL:** <https://forums.unrealengine.com/t/data-layers-interrup-player-input/1971599>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [August 11, 2024, 4:31pm UTC](https://forums.unrealengine.com/t/data-layers-interrup-player-input/1971599 "2024-08-11T16:31:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Skarlax771](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/skarlax771/32/719807_2.png) [@Skarlax771](https://forums.unrealengine.com/u/Skarlax771)\
**Post date:** [August 11, 2024, 4:31pm UTC](https://forums.unrealengine.com/t/data-layers-interrup-player-input/1971599/1 "2024-08-11T16:31:41Z")

</div>

![Ekran görüntüsü 2024-08-10 035228](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/3/7/137aae791a7c7eb9ae52647a48745cacde6f9ed2.png)  
 ![Ekran görüntüsü 2024-08-06 201627](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/f/e/afec6d9f03cdecb82f6aa20d5e8fdd16398be681.png)

Greetings everyone!  
I use trigger boxes to load and unload data layers. When overlap one of them, my first person character just stops, receiving not input for the holding key. I need to remove my hand from the key “w” and press it again to start walking again every single time, even when fps stays 60 so I don’t think it is performance related. This wasn’t happening in my previous builds. I think this is a bug. Is there anyone experiencing something similar or knowing a solution for this?

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [August 11, 2024, 9:59pm UTC](https://forums.unrealengine.com/t/data-layers-interrup-player-input/1971599/2 "2024-08-11T21:59:42Z")

</div>

Hey there @Skarlax771! This could be a bug, as loading or unloading data layers shouldn’t cause the player controller to change. It could be that the player is changing streaming volumes, though if this is a new occurrence that may not be the case.

Is that the Horror Engine player controller and pawn I see?

Could you try loading new areas without unloading any others and see if it occurs when you load specifically or unload specifically?

---

<div class="post-metadata">

**Author:** ![Skarlax771](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/skarlax771/32/719807_2.png) [@Skarlax771](https://forums.unrealengine.com/u/Skarlax771)\
**Post date:** [August 14, 2024, 8:47pm UTC](https://forums.unrealengine.com/t/data-layers-interrup-player-input/1971599/3 "2024-08-14T20:47:19Z")

</div>

Hi @SupportiveEntity! Thank you for your reply. I’ve applied this solution and thankfully it worked after so much headache:

> [@UE5 Can something be done to stop Data Layers from stopping input during runtime in a Build?](https://forums.unrealengine.com/t/ue5-can-something-be-done-to-stop-data-layers-from-stopping-input-during-runtime-in-a-build/580192/3):
>
> Found the problem. UE expects you will be playing a video when streaming something in… in void FStreamingPauseRenderingModule::BeginStreamingPause( FViewport\* GameViewport ) is hard coded to // We started playing a movie bMovieWasStarted = true; Solution is to: GEngine-\>RegisterBeginStreamingPauseRenderingDelegate(nullptr); Then set it back after the datalayer is loaded

And yes, this is Horror Engine 🙂

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [September 13, 2024, 8:47pm UTC](https://forums.unrealengine.com/t/data-layers-interrup-player-input/1971599/4 "2024-09-13T20:47:51Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
