Download

Visual Studio 2022 Preview 7 now builds and runs [ue5-main-vs2022]]

Hi, @Knauric and Everyone reading. Firstly thank you for using Visual Studio 2022 Preview. Visual Studio 2022 Preview 5 is now out and I have built this ue5-main-vs2022 repository without error.
Preview 5 also represents Release Candidate 1.
Final Shipment is due on 8th November 2021

Visual Studio 2022 Preview has been updated and is according to the road map will be updated each month until final release.

This post is an update on the original repository and post

Visual Studio 2022 Preview is 64 bit and compiles and runs UE 5.0 EA approximately 20% FASTER - Development Discussion / Unreal Engine 5 Early Access - Unreal Engine Forums

My recent work has been to concentrate on making the new ue5-main-vs2022 repository building and testing all the functions and ONLY needs Visual Studio Preview 4.

Download Visual Studio 2022 Preview
This has been a good project to fork a repository on GitHub of the original code to another branch.
To load the update branch in Git CMD point to the branch on GitHub with
$ git remote set-url --add --push origin https://github.com/jimshalo10/UnrealEngine-5.git
$ git clone https://github.com/jimshalo10/UnrealEngine-5.git -b ue5-main-vs2022
$ cd ue5-main-vs2022
$ setup.bat
$ GenerateProjectFiles.bat -2022

In ue5-main-vs2022 you will need to run the command again
$ GenerateProjectFiles.bat -2022

This is because the Project Files have to be created as VS2022. This is fixed in my forked repository already so you do NOT need to fix this.

The original ue5-main will be changed by Epic. I will not release these updates until updates have been tested.

I will NOT be trying to fix these cutting edge updates as Epic is responsible for them.

Remember the current Project version has been set to version 5.1 and therefore will not be compatible with UE5EA and that’s why I have a separate repository.

Unreal Editor Projects are not compatible with the previous versions of projects. Keep backups of your original backups and DO NOT use “Convert in Place”.
Before you delete any asset of a project make a backup as this is still a “work in progress”.

Please refer to the original posting for detailed support.
In this version, Windows Packaging on VS2022 Preview now works, unlike my UE5EA fork.

The size of UE5-main make it important that you
defrag D: /H /M 16
I am defragmenting D: (1.8TB) at Normal priority using MultiThread = 16
I now use this every day/week. There is a massive boost to VS2022 when building off a hard drive.

2 Likes

Hi, after running the Setup, I got the following error message showed that one dependency file’s name path is too long:

Checking dependencies…
Updating dependencies: 99% (70332/71270), 13321.8/13322.4 MiB | 0.01 MiB/s…
Failed to download ‘http://cdn.unrealengine.com/dependencies/UnrealEngine-4358751-16521f530c414728b289dbb71f593410/80c1ba699c3de9b0950a5521e587025e7f85f8bb’: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. (PathTooLongException)
Press any key to continue . . .

Any clue for this?

Hi @Stevenmbiz
The path you used is too long. You need to change from
c:\owner\source\repos\Unreal-5-EarlyAccess\ to
c:\owner\source\UE5EA\

Basically, this error says your path length exceeds the maximum length

Thanks, I’m trying that.

Hi,

I just installed and started using VS2022 with my UE5 project and it seems that they are still incompatible.

Each UE code marked as red (error) has the text “definition not found”.

I tested it with a new UE4 project and it worked fine, no error, intelli is displayed.

Tell me what could be wrong? Maybe I need to fix some configuration in my UE5 project.

Thanks!

Hi @APARTASIUK
Unfortunately, Epic has decided to call [ue5-main this version] to be version UE 5.1.
Basically, this has messed up many peoples projects as they cannot be read and converted.

There has been much discussion but Epic say that prior projects are not compatible, like UE 4.27 is not compatible with UE5 EA or UE5 main.

UE 5.1 in GitHub ue5-main and backwards compatibility with 5.0

The nearest potential working is believed to be UE4.26 works on UE5 EA and will convert to UE 5.1 main

It’s a shame but that’s the way it is

1 Like

Thanks for explanation!

Hi All,
I have updated my fork of [ue5-main] repository with the Quixel Bridge Plugin 2021.0.4. I simply had to change the line from 5.0.0 to

“EngineVersion”: “5.1.0”,

in Bridge.uplugin to get this to work with [ue5-main].
Thanks