Something similiar here, when i try to create a blank c++ project in UE 5.1 or to convert a c++ project from UE 5.0.3.
Solved by moving "c:\Program Files\dotnet" above "c:\Program Files (x86)\dotnet" for the “Path”-environment variable.
Problem still persists for me.
I’m getting the System.OutOfMemoryException.
I have 64 GB of memory and plenty of storage.
I’m able to create C++ Projects in 5.0.3 without any issues; but cannot do so in 5.1 for some reason. Also cannot create C++ plugins in 5.1 either.
Did everything in this thread.
Same here, only got some messages that there are problems in some .cs files in location D:\build… but the problem is that i dont have any of those folders on D: as well as none of other fixes work too so i just dont know what to do, i guess i will just wait till next update hoping it will be patched
Hi, also thought nothing was helping me but this is how i managed it to work:
- Make sure you installed all the Visual Studio components pointed out in this updated documentation: Setting Up Visual Studio Development Environment for C++ Projects in Unreal Engine | Unreal Engine 5.1 Documentation
- Only after all the things are installed delete folder “c:\Program Files (x86)\dotnet” and replace with “c:\Program Files\dotnet”
我这边也遇到了这样的问题,在试过很多的方法之后,发现核心问题好像,是.Net Core 3.1 没有安装。前面根据网友的提示,改了很多,也没用,也是因为VS Installer版本太高,导致.NetCore 3.1 已经不支持了,所以如果遇到这种情况,可以回退版本去安装。
thanks man, it worked!
hey man did you get any fix. I have the same exact issue with you. I have no D: drive and Build folder. Im going to crazy. I installed every SDKs and environments but still no luck
In my case I had also no luck just doing what I did here. Then I remembered that I had uninstalled VS 2017 and then I opened up VS 2019 and realized that some components was not installed in VS 2019 even though I had ticked them off back then in VS 2022. The reason for this seems to be that when removing VS 2017 it also removed those needed .NET and SDK files. As I modified the installed VS 2019 version to also included the shown options above after having verified my UE5.1 installation my VS 2022 suddenly worked again and instantly prop me for installing the VS integration plugin as well.
In worst case then reinstall all VS versions as well as verify the UE5 engine. Hope this works out.