# UE5 5.0 branch build error - Chaos

**URL:** <https://forums.unrealengine.com/t/ue5-5-0-branch-build-error-chaos/260629>\
**Category:** World Creation\
**Tags:** unreal-engine, UE5-0, Physics\
**Created:** [November 12, 2021, 6:48pm UTC](https://forums.unrealengine.com/t/ue5-5-0-branch-build-error-chaos/260629 "2021-11-12T18:48:10Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![69\_Tensors](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/69_tensors/32/88718_2.png) [@69\_Tensors](https://forums.unrealengine.com/u/69_Tensors)\
**Post date:** [November 14, 2021, 4:30pm UTC](https://forums.unrealengine.com/t/ue5-5-0-branch-build-error-chaos/260629/9 "2021-11-14T16:30:23Z")

</div>

Hi @Jimbohalo10,

THANK YOU. I can hardly believe it, but your suggestion absolutely fixed it. I just created the _ **empty missing folder** _ “…\Engine\Restricted\NotForLicensees\Build” and re-generated. VS2022 built it with zero errors.

I’m almost embarrassed that was such a simple fix!

FYI, **GenerateProjectFiles.bat** now raises a warning if you pass the -2022 flag in the Terminal, and directs you to update your BuildConfiguration.xml file instead, as follows:

```auto
         <?xml version="1.0" encoding="utf-8" ?>
         <Configuration xmlns="https://www.unrealengine.com/BuildConfiguration">
           <ProjectFileGenerator>
             <Format>VisualStudio2022</Format>
           </ProjectFileGenerator>
         </Configuration>

```

I did that, and am happily running a successful build. Thanks again.

---

_[View the full topic](https://forums.unrealengine.com/t/ue5-5-0-branch-build-error-chaos/260629)._
