# Help! I've been trying to create a C++ project in UE5 but every time I create a project it gives me this error message!

**URL:** <https://forums.unrealengine.com/t/help-ive-been-trying-to-create-a-c-project-in-ue5-but-every-time-i-create-a-project-it-gives-me-this-error-message/728343>\
**Category:** Getting Started & Setup\
**Tags:** unreal-engine, crash\
**Created:** [December 14, 2022, 6:04pm UTC](https://forums.unrealengine.com/t/help-ive-been-trying-to-create-a-c-project-in-ue5-but-every-time-i-create-a-project-it-gives-me-this-error-message/728343 "2022-12-14T18:04:20Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Packetdancer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/packetdancer/32/462643_2.png) [@Packetdancer](https://forums.unrealengine.com/u/Packetdancer)\
**Post date:** [December 21, 2022, 5:50pm UTC](https://forums.unrealengine.com/t/help-ive-been-trying-to-create-a-c-project-in-ue5-but-every-time-i-create-a-project-it-gives-me-this-error-message/728343/4 "2022-12-21T17:50:53Z")

</div>

Open the Windows command prompt, then run `where.exe dotnet` – it will return one or more paths containing a `dotnet.exe` executable.

If it looks like, for instance:

```auto
C:\Program Files\dotnet\dotnet.exe
c:\program files (x86)\dotnet\dotnet.exe

```

…then you are okay. If the `(x86)` line is _first_, however, that will cause UE5.1 to use the 32-bit version of the dotnet executable… and it will run out of memory during the build process.

If that’s the case, you want to go to your computer’s settings and switch the order of paths so that the 64-bit one (e.g. the one without `(x86)` in the path) comes first.

Open Explorer, go to “This PC” (or “My Computer” or whatever), right-click and get “Properties”, and then click on “Advanced System Settings”. From there, click on “Environment Variables”, scroll down until you find the variable named `Path` and edit it appropriately.

If things are already in the right order, you may have some other underlying issue (like genuinely not having enough memory).

---

_[View the full topic](https://forums.unrealengine.com/t/help-ive-been-trying-to-create-a-c-project-in-ue5-but-every-time-i-create-a-project-it-gives-me-this-error-message/728343)._
