# Visual Studio 2022 is 64 bit and compiles and runs UE 5.0 EA approximately 20% FASTER

**URL:** <https://forums.unrealengine.com/t/visual-studio-2022-is-64-bit-and-compiles-and-runs-ue-5-0-ea-approximately-20-faster/237164>\
**Category:** Rendering\
**Tags:** General, unreal-engine, UE5-0\
**Created:** [June 24, 2021, 11:53am UTC](https://forums.unrealengine.com/t/visual-studio-2022-is-64-bit-and-compiles-and-runs-ue-5-0-ea-approximately-20-faster/237164 "2021-06-24T11:53:19Z")\
**Posts on this page:** 1\
**Showing post:** 35

<div class="post-metadata">

**Author:** ![Jimbohalo10](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jimbohalo10/32/961440_2.png) [@Jimbohalo10](https://forums.unrealengine.com/u/Jimbohalo10)\
**Post date:** [February 4, 2022, 8:33am UTC](https://forums.unrealengine.com/t/visual-studio-2022-is-64-bit-and-compiles-and-runs-ue-5-0-ea-approximately-20-faster/237164/35 "2022-02-04T08:33:18Z")

</div>

Hi @Salwa_Razak,  
I have previously built 4.27 on VS2019 and VS2022.  
The error

> “Lighting build failed. Swarm failed to kick off. Compile Unreal Lightmass”.

Can be fixed by the following procedure. Your project can be on any drive, but the full path must be less than 25 characters. Your project file name must be less than 20 characters.

You will need to build a 4.27 source UnrealLightMass project in VS as in the picture below

 ![UnrealLightMass](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/c/8/ec86c7abfb78f876919ceec97f5fec9a313bd707.png)

using the 4.27 unreal Source

Next you need to open a new project like the Third Person Shooter.  
in Top bar menu “Build Lighting Only” the Swarm Manager starts up

 ![SwarmIconToolbar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/0/c/c0cf91ebf0c6be748be1007f75da06873fb0f4ea.png)

This will start the Swarm Control. Select Settings

 ![SwarmEnableStandaloneMode](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/7/f/87f3db629362c504e3a69fd80ba178f2542f8a65.png)

Next you need to open a new project the Third Person Shooter again  
in Top bar menu “Build Lighting Only” the Swarm Manager starts up.

This time the screen will display “Building Lighting…”  
Finally a box will say “Lighting build completed”

---

_[View the full topic](https://forums.unrealengine.com/t/visual-studio-2022-is-64-bit-and-compiles-and-runs-ue-5-0-ea-approximately-20-faster/237164)._
