# My character not moving anymore (in automated test) since upgrading to 5.7

**URL:** <https://forums.unrealengine.com/t/my-character-not-moving-anymore-in-automated-test-since-upgrading-to-5-7/2675751>\
**Category:** Programming & Scripting\
**Tags:** testing, unreal-engine, CPP, question\
**Created:** [November 17, 2025, 6:32am UTC](https://forums.unrealengine.com/t/my-character-not-moving-anymore-in-automated-test-since-upgrading-to-5-7/2675751 "2025-11-17T06:32:28Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![S.ProTechGamer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@S.ProTechGamer](https://forums.unrealengine.com/u/S.ProTechGamer)\
**Post date:** [November 17, 2025, 6:32am UTC](https://forums.unrealengine.com/t/my-character-not-moving-anymore-in-automated-test-since-upgrading-to-5-7/2675751/1 "2025-11-17T06:32:29Z")

</div>

Hello here.  
I ask for a bit help since i lost my night on this bug.

This is my situation : I have a functionnal testing file, who simulate input in my PlayerController to test movement functions.

Here an example :

```cpp
// Inventory.spec.cpp
#include "InputActionValue.h"
#include "Components/CapsuleComponent.h"
#include "Misc/AutomationTest.h"
#include "santa_marias_echoes/Tests/Helpers/TestWorldHelper.h"
#include "Slate/SceneViewport.h"
#include "Widgets/SViewport.h"

BEGIN_DEFINE_SPEC(FSMEPlayerControllerSpec,
                  "Santa_Maria_Echoes.PlayerController.SMEPlayerController",
                  EAutomationTestFlags::ProductFilter | EAutomationTestFlags::EditorContext)

	TArray<int32> Items;

END_DEFINE_SPEC(FSMEPlayerControllerSpec)

void FSMEPlayerControllerSpec::Define()
{
    It("Should move player if PC StrafePress method called (Strafe Left and Right)", [this]()
	{
		//--------------------------------------------------------------------
		// Given
		//--------------------------------------------------------------------
		FTestWorldWrapper TW = FTestWorldHelper::InitTestWorld(this);
		ASMEGameMode* GM = FTestWorldHelper::GetGameMode(TW);
		FTestWorldHelper::SpawnTestFloor(TW);
		FTestWorldHelper::TickForSeconds(TW, 10);

		GM->SetMatchState(MatchState::InProgress);

		ASMEPlayerController* PC = Cast<ASMEPlayerController>(GM->SpawnPlayerController(ROLE_Authority, ""));
		TestTrue(TEXT("PlayerController is ATestSMEPlayerController"), PC != nullptr);
		if (!PC) return false;

		PC->InitPlayerState();
		GM->RestartPlayerAtTransform(PC, FTransform(FVector(0, 0, 100)));

		FTestWorldHelper::TickForSeconds(TW, 10);

		TestTrue("Pawn is possessed", PC->GetPawn() != nullptr);
		if (!PC->GetPawn()) return false;

		ASMECharacter* CHARACTER = Cast<ASMECharacter>(PC->GetPawn());
		TestTrue(TEXT("Character is ASMECharacter"), CHARACTER != nullptr);
		if (!CHARACTER) return false;

		FTestWorldHelper::TickForSeconds(TW, 60);

		TestTrue("Character have a PlayerController", CHARACTER->GetController() != nullptr);
		if (!CHARACTER->GetController()) return false;
		TestTrue("Character have a PlayerController of type ASMEPlayerController", CHARACTER->GetController()->IsA(ASMEPlayerController::StaticClass()));

		const FVector InitialLocation = CHARACTER->GetActorLocation();

		//--------------------------------------------------------------------
		// When
		//--------------------------------------------------------------------
		FInputActionValue ActionValue(1.f);
		PC->StrafePressed(ActionValue);
		FTestWorldHelper::TickForSeconds(TW, 60);

		const FVector AfterRightLocation = CHARACTER->GetActorLocation();

		ActionValue = FInputActionValue(-1.f);
		PC->StrafePressed(ActionValue);
		FTestWorldHelper::TickForSeconds(TW, 60);

		const FVector AfterLeftLocation = CHARACTER->GetActorLocation();

		//--------------------------------------------------------------------
		// Then
		//--------------------------------------------------------------------
		TestTrue(TEXT("Character has moved right when StrafePressed with value 1"), AfterRightLocation.Y > InitialLocation.Y);
		TestTrue(TEXT("Character has moved left when StrafePressed with value -1"), AfterLeftLocation.Y < AfterRightLocation.Y);
		return true;
	});
}

```

Here the FTestWorldHelper :

```cpp
#pragma once
#include "Components/BoxComponent.h"
#include "santa_marias_echoes/Core/Character/SMECharacter.h"
#include "santa_marias_echoes/Core/GameMode/SMEGameMode.h"
#include "santa_marias_echoes/Core/GameState/SMEGameState.h"
#include "santa_marias_echoes/Core/PlayerController/SMEPlayerController.h"
#include "santa_marias_echoes/Core/PlayerState/SMEPlayerState.h"
#include "santa_marias_echoes/Menu/SMEGameHud.h"
#include "Misc/AutomationTest.h"
#include "santa_marias_echoes/HUD/SMEHUD.h"
#include "Tests/AutomationCommon.h"

class FTestWorldHelper
{
public:
	static void ApplyDefaultClassSettings(ASMEGameMode* GameMode)
	{
		GameMode->DefaultPawnClass = ASMECharacter::StaticClass();
		GameMode->PlayerControllerClass = ASMEPlayerController::StaticClass();
		GameMode->HUDClass = ASMEHUD::StaticClass();
		GameMode->PlayerStateClass = ASMEPlayerState::StaticClass();
		GameMode->GameStateClass = ASMEGameState::StaticClass();
	}

	static FTestWorldWrapper InitTestWorld(FAutomationSpecBase* Spec, bool BeginPlay = true, TFunction<void(ASMEGameMode*)> OverideClassSettings = nullptr)
	{
		FTestWorldWrapper TW;
		Spec->TestTrue(TEXT("CreateTestWorld(Game)"), TW.CreateTestWorld(EWorldType::Game));
		
		UWorld* W = TW.GetTestWorld();
		Spec->TestNotNull(TEXT("World valid"), W);

		if (W->GetWorldSettings())
		{
			W->GetWorldSettings()->DefaultGameMode = ASMEGameMode::StaticClass();
		}
		
		bool bGMSet = (W->SetGameMode(FURL()));
		Spec->TestTrue(TEXT("SetGameMode(ATestSMEGameMode)"), bGMSet);
		if (BeginPlay)
		{
			Spec->TestTrue(TEXT("BeginPlayInTestWorld()"), TW.BeginPlayInTestWorld());	
		}

		ASMEGameMode* GM = TW.GetTestWorld()->GetAuthGameMode<ASMEGameMode>();
		ApplyDefaultClassSettings(GM);
		if (OverideClassSettings) OverideClassSettings(GM);
		
		Spec->TestTrue(TEXT("GameMode is ATestSMEGameMode"), GM != nullptr);
		
		return TW;
	}

	static void TickForSeconds(FTestWorldWrapper& TW, int32 Ticks)
	{
		for (int i = 0; i < Ticks; ++i)
		{
			TW.TickTestWorld(1.f / 60.f);
		}
	}

	static void TickForSeconds(FTestWorldWrapper& TW, int32 Ticks, TFunction<void()> PreTick)
	{
		for (int i = 0; i < Ticks; ++i)
		{
			PreTick();
			TW.TickTestWorld(1.f / 60.f);
		}
	}

	static ASMEGameMode* GetGameMode(FTestWorldWrapper& TW)
	{
		if (!TW.GetTestWorld()) return nullptr;
		return TW.GetTestWorld()->GetAuthGameMode<ASMEGameMode>();
	}

	static void SpawnTestFloor(FTestWorldWrapper& TW)
	{
		UWorld* World = TW.GetTestWorld();
		if (!World) return;

		FActorSpawnParameters SpawnParams;
		SpawnParams.Name = TEXT("TestFloor");
		AActor* Floor = World->SpawnActor<AActor>(AActor::StaticClass(), FTransform(FVector(0.f, 0.f, -10.f)), SpawnParams);

		// Crée une boîte collision statique qui bloque tout (dont Pawn)
		UBoxComponent* Box = NewObject<UBoxComponent>(Floor, TEXT("FloorBox"));
		Box->InitBoxExtent(FVector(5000,5000,10));
		Box->SetCollisionEnabled(ECollisionEnabled::QueryAndPhysics);
		Box->SetCollisionProfileName(UCollisionProfile::BlockAll_ProfileName);
		Box->SetGenerateOverlapEvents(false);
		Box->SetMobility(EComponentMobility::Static);

		Floor->SetRootComponent(Box);
		Box->RegisterComponent(); // important pour que la collision existe
	}
	
};

```

And finally this is my Character/Player Controller Move Function :

```cpp
void ASMEPlayerController::StrafePressed(const FInputActionValue& InputActionValue)
{
	if (SMECharacter)
	{
		SMECharacter->MoveRight(InputActionValue.Get<float>());
	}
}

void ASMECharacter::MoveRight(float Value)
{
	if (Controller != nullptr && Value != 0.f)
	{
		const FRotator YawRotation(0.f, Controller->GetControlRotation().Yaw, 0.f);
		const FVector Direction(FRotationMatrix(YawRotation).GetUnitAxis(EAxis::Y));
		AddMovementInput(Direction, Value);
	}
}

```

In Unreal Engine 5.6 all work perfectly and all my test are successful.

* * *

When i have upgrade to 5.7 all test based on movement (CharMovement) not working anymore.

All check of position returns the same spawn position 0.0.100.

Obviously i have check all ptr/nullptr. Everything looks fine. I also debug and i don’t see anything bad.

The only track i have is the apperance of two new properties on UCharacterMovement class (_bEnableScopedMovementUpdates_ & _bEnableServerDualMoveScopedMovementUpdates)_

( [UCharacterMoverComponent | Unreal Engine 5.7 Documentation | Epic Developer Community](https://dev.epicgames.com/documentation/en-us/unreal-engine/API/Plugins/Mover/UCharacterMoverComponent) )

which seems to refer a new system to handle movement & movement replication but i can’t confirm.

I will continue to investigate later this week but if anybody have a clue or solution i’ll take it 😃

---

<div class="post-metadata">

**Author:** ![S.ProTechGamer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@S.ProTechGamer](https://forums.unrealengine.com/u/S.ProTechGamer)\
**Post date:** [November 18, 2025, 12:41pm UTC](https://forums.unrealengine.com/t/my-character-not-moving-anymore-in-automated-test-since-upgrading-to-5-7/2675751/2 "2025-11-18T12:41:56Z")

</div>

Update : I’ve try a clean empty project with just one test (Move Forward) using only base class from engine (ACharacter, APlayerController, etc) and I reproduced the same behavior. Test work well in 5.6 and not work in 5.7.

I made a zip with the source file If anybody want to try.

I think I will report any investigation and wait some weeks or maybe 5.7.1.

[TestTestFunctMove.zip](https://forums.unrealengine.com/uploads/short-url/4SUw7fWurouJakpuOHWpbqrhLZB.zip) (6.8 KB)

---

<div class="post-metadata">

**Author:** ![EN6A6E](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/en6a6e/32/867956_2.png) [@EN6A6E](https://forums.unrealengine.com/u/EN6A6E)\
**Post date:** [November 18, 2025, 6:29pm UTC](https://forums.unrealengine.com/t/my-character-not-moving-anymore-in-automated-test-since-upgrading-to-5-7/2675751/3 "2025-11-18T18:29:19Z")

</div>

I just get errors when I try to open the file. It tells me that it needs to recompile and doesn’t open. The file is built with a different engine version.

It looks like it wasn’t packaged and exported properly.

---

<div class="post-metadata">

**Author:** ![S.ProTechGamer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@S.ProTechGamer](https://forums.unrealengine.com/u/S.ProTechGamer)\
**Post date:** [November 18, 2025, 10:21pm UTC](https://forums.unrealengine.com/t/my-character-not-moving-anymore-in-automated-test-since-upgrading-to-5-7/2675751/4 "2025-11-18T22:21:33Z")

</div>

It’s just 2 cpp file to add to any cpp project from IDE or file system. I dont exported it from Unreal Engine Editor. Open extracted folder with Visual Studio or Rider and start the engine from it.

Next open Session fronted tools, go to Automation tabs and run the SMEController test

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/1/0/d101ebaf27deebb848e9b51f33bf2973809cb77b.png)

---

<div class="post-metadata">

**Author:** ![EN6A6E](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/en6a6e/32/867956_2.png) [@EN6A6E](https://forums.unrealengine.com/u/EN6A6E)\
**Post date:** [November 19, 2025, 1:09am UTC](https://forums.unrealengine.com/t/my-character-not-moving-anymore-in-automated-test-since-upgrading-to-5-7/2675751/5 "2025-11-19T01:09:52Z")

</div>

It literally will not allow me to do that. I get a compiling error message every time I try.

---

<div class="post-metadata">

**Author:** ![S.ProTechGamer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@S.ProTechGamer](https://forums.unrealengine.com/u/S.ProTechGamer)\
**Post date:** [November 19, 2025, 6:26am UTC](https://forums.unrealengine.com/t/my-character-not-moving-anymore-in-automated-test-since-upgrading-to-5-7/2675751/6 "2025-11-19T06:26:56Z")

</div>

Which IDE did you use ?

---

<div class="post-metadata">

**Author:** ![EN6A6E](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/en6a6e/32/867956_2.png) [@EN6A6E](https://forums.unrealengine.com/u/EN6A6E)\
**Post date:** [November 19, 2025, 9:18am UTC](https://forums.unrealengine.com/t/my-character-not-moving-anymore-in-automated-test-since-upgrading-to-5-7/2675751/7 "2025-11-19T09:18:36Z")

</div>

If I made project files and posted a copy of them here they will open in any version of the editor.

I guess I’ll try your steps with Visual Studio later because I haven’t needed to work with the code that way. Or I’ll see if the code can be copied into a project file.

Sorry for all the edits. I’m not at my computer right now. I was not familiar with using another editor to write and compile code for UE

I’ll try checking it in a few hours.

They made so many weird changes for 5.7 it’s a wonder how we can get anything done between versions.

---

<div class="post-metadata">

**Author:** ![EN6A6E](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/en6a6e/32/867956_2.png) [@EN6A6E](https://forums.unrealengine.com/u/EN6A6E)\
**Post date:** [November 19, 2025, 5:32pm UTC](https://forums.unrealengine.com/t/my-character-not-moving-anymore-in-automated-test-since-upgrading-to-5-7/2675751/8 "2025-11-19T17:32:41Z")

</div>

I had a bit of success getting it to load. This is the error log generated.

Test ‘Santa\_Maria\_Echoes.PlayerController.SMEPlayerController.Should move player if PC WalkPressed method called (Forward and Backward)’ completed with result ‘Fail’

LogGameMode: Match State Changed from EnteringMap to WaitingToStart [log]  
LogGameMode: Match State Changed from WaitingToStart to InProgress [log]

Expected ‘Character has moved forward when WalkPressed with value 1’ to be true.

Stuff\TestTestFunctMove\Source\TestTestFuctMove\Test\SMEPlayerController.spec.cpp(67)

Here is the 5.7 character movement documentation. It’s the exact same code as the 5.6 documentation.

> **[Configure Character Movement with C++ in Unreal Engine | Unreal Engine 5.7...](https://dev.epicgames.com/documentation/en-us/unreal-engine/configure-character-movement-with-cplusplus-in-unreal-engine)**
>
> Learn how to bind player input to character movement with C++ in Unreal Engine.

---

<div class="post-metadata">

**Author:** ![S.ProTechGamer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@S.ProTechGamer](https://forums.unrealengine.com/u/S.ProTechGamer)\
**Post date:** [November 19, 2025, 8:53pm UTC](https://forums.unrealengine.com/t/my-character-not-moving-anymore-in-automated-test-since-upgrading-to-5-7/2675751/9 "2025-11-19T20:53:33Z")

</div>

> [@EN6A6E](#):
>
> Here is the 5.7 character movement documentation. It’s the exact same code as the 5.6 documentation.

Indeed and this is the problem.

If you run the same test with 5.6 engine the test will be successful 😕

So maybe its a bug with functionnal test environment launch by the editor when running tests suite.

---

<div class="post-metadata">

**Author:** ![EN6A6E](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/en6a6e/32/867956_2.png) [@EN6A6E](https://forums.unrealengine.com/u/EN6A6E)\
**Post date:** [November 19, 2025, 9:28pm UTC](https://forums.unrealengine.com/t/my-character-not-moving-anymore-in-automated-test-since-upgrading-to-5-7/2675751/10 "2025-11-19T21:28:30Z")

</div>

Is there not a way to copy or export parameters from a working pawn? My pawn from the last version is still working. It was made within the editor and not manually scripted.

---

<div class="post-metadata">

**Author:** ![S.ProTechGamer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@S.ProTechGamer](https://forums.unrealengine.com/u/S.ProTechGamer)\
**Post date:** [November 19, 2025, 9:39pm UTC](https://forums.unrealengine.com/t/my-character-not-moving-anymore-in-automated-test-since-upgrading-to-5-7/2675751/11 "2025-11-19T21:39:30Z")

</div>

You can load any UAsset file (including Pawn blueprint) with LoadObject() function.

Here an example with an USkeletalMesh but can be adapted to use APawn base class

```cpp
USkeletalMesh* BatteryMesh = LoadObject<USkeletalMesh>(nullptr, TEXT("/Game/Mesh/Props/Battery/SKM_Battery.SKM_Battery"));
		if (BatteryMesh)
		{
			Battery->BatteryMesh->SetSkeletalMesh(BatteryMesh);
		}

```

The TEXT params is the Copy Reference action from Right Click on Content Browser

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/1/8/31897e47979324a65dc18d80215cc6d47df8d306.png)

But you can’t call blueprint method if you have the intention.

---

<div class="post-metadata">

**Author:** ![S.ProTechGamer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@S.ProTechGamer](https://forums.unrealengine.com/u/S.ProTechGamer)\
**Post date:** [December 12, 2025, 8:01am UTC](https://forums.unrealengine.com/t/my-character-not-moving-anymore-in-automated-test-since-upgrading-to-5-7/2675751/12 "2025-12-12T08:01:22Z")

</div>

Hello guys,  
Quick update, even in 5.7.2 the problem is present.

So there are two possibilities :

- (Breaking) change was really wanted by developpers and i must change my solution (or delete the test if i dont find anything) OR
- I do things (full testing) that so few person does (even AAA studio :😂 ) that nobody even open ticket

I think i keep an eye on the next patch but for now i staying on 5.6

good day

---

<div class="post-metadata">

**Author:** ![S.ProTechGamer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@S.ProTechGamer](https://forums.unrealengine.com/u/S.ProTechGamer)\
**Post date:** [February 20, 2026, 8:25am UTC](https://forums.unrealengine.com/t/my-character-not-moving-anymore-in-automated-test-since-upgrading-to-5-7/2675751/13 "2026-02-20T08:25:28Z")

</div>

Hi everybody (or just me me :D)

I’ve just test on the 5.7.3 release and it’s finally working again.

Thanks Epic devs

Have a good day
