"System.OutOfMemoryException was thrown" adding c++ classes or generating visual studio project files ( UE 5.1 )

To fix this, go to C:/Program Files/dotnet and cut the folder and paste it into C:/Programs (x86).
If a dotnet folder already exists in x86, delete it and replace it with the one you previously cut.

10 Likes