# UE5 Seamless travel bug found. We found the cause, and also have a workaround

**URL:** <https://forums.unrealengine.com/t/ue5-seamless-travel-bug-found-we-found-the-cause-and-also-have-a-workaround/583652>\
**Category:** C++\
**Tags:** unreal-engine, UE5-0, CPP\
**Created:** [June 16, 2022, 8:30pm UTC](https://forums.unrealengine.com/t/ue5-seamless-travel-bug-found-we-found-the-cause-and-also-have-a-workaround/583652 "2022-06-16T20:30:26Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![liquid.mike](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/liquid.mike/32/88717_2.png) [@liquid.mike](https://forums.unrealengine.com/u/liquid.mike)\
**Post date:** [June 17, 2022, 9:00pm UTC](https://forums.unrealengine.com/t/ue5-seamless-travel-bug-found-we-found-the-cause-and-also-have-a-workaround/583652/5 "2022-06-17T21:00:06Z")

</div>

@gollymashed I apologize. The above solution has a typo and there’s another step (Other than those missing header files, sorry about that too)

You need to open “YourProjectName.Build.cs” and you should have a line in there that looks like this

```cpp
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", ... }

```

Just add “EngineSettings” to that array.

And then there’s an error in the code I posted

```cpp
bool AYourPlayerControllerName::ServerNotifyLoadedWorld_Validate(FName WorldPackageName)

```

Should be

```cpp
bool AYourPlayerControllerName::ServerNotifyLoadedWorldWorkaround_Validate(FName WorldPackageName)

```

We wanted to avoid compiling the engine as well, so I hope that works for you! If not let me know.

---

_[View the full topic](https://forums.unrealengine.com/t/ue5-seamless-travel-bug-found-we-found-the-cause-and-also-have-a-workaround/583652)._
