# Error while generating .exe using city sample

**URL:** <https://forums.unrealengine.com/t/error-while-generating-exe-using-city-sample/2622322>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, crash, question\
**Created:** [July 29, 2025, 11:03am UTC](https://forums.unrealengine.com/t/error-while-generating-exe-using-city-sample/2622322 "2025-07-29T11:03:38Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![brs-sebascova](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/brs-sebascova/32/1052483_2.png) [@brs-sebascova](https://forums.unrealengine.com/u/brs-sebascova)\
**Post date:** [August 8, 2025, 4:07pm UTC](https://forums.unrealengine.com/t/error-while-generating-exe-using-city-sample/2622322/6 "2025-08-08T16:07:07Z")

</div>

Hello again!

Glad you managed to sort part of the problem with a new project. As for migrating elements from City Sample, that can be quite a daunting task on its own.

The map has a lot of plugin dependencies, and it’s loaded with heavy assets. Still, it should be possible to migrate just the level you need.

Start by loading your city level, and isolating all related assets to it. From there, use the Content Browser to locate their source files, and their respective folders. Now, use the Migrate function to send them to your active project. You can find further details in the doc below:

> **[Migrating Assets in Unreal Engine | Unreal Engine 5.6 Documentation | Epic...](https://dev.epicgames.com/documentation/en-us/unreal-engine/migrating-assets-in-unreal-engine)**
>
> How to copy Assets from one project to another.

Additionally, a similar scenario shared the following tidbit related to migrating elements from City:

> [@Migrating assets from UE5 City Sample?](https://forums.unrealengine.com/t/migrating-assets-from-ue5-city-sample/582530/4):
>
> Untick all assets not under “Game” folder. It working, I tried ot right now.

---

_[View the full topic](https://forums.unrealengine.com/t/error-while-generating-exe-using-city-sample/2622322)._
