I’m having some issues in UE5.3.1 that I don’t experience in other versions, and I’m hoping to get some help/insight on what’s happening. Building the 5.3 project from IDE tries to build multiple actions that fail. When I build in other versions of UE it only builds 1 action that succeeds. I have a partial solution, but I’m positive I’m doing something wrong, and I need help.
To reproduce is easy, >5min:
Actual: Create a new 3rd person template c++ project from the epic launcher using 5.3. Open IDE and build. You will see 40+ actions. The actions will probably fail depending on your NuGet setup (more on that later).
Expected: Create a new 3rd person template c++ project from the epic launcher this time using 5.2(anything but 5.3). Open IDE and build. You will see 1 action succeeded.
*May need to open the .sln
Observations:
In the Solution Explorer for 5.3 there are two new folders, “Programs” and “Rules”, that don’t exist in other UE versions. I first noticed build issues a few days ago when I moved a 5.3 project to a new folder. I wrongly thought at the time that moving the project broke it. I think UE5.3 had an update around the same time.
If you get 100s of “error NU1102: Unable to find package…” can be fixed by updating NuGet:
Open Visual Studio (you can select Continue Without Code)
Navigate to Tools > Options > NuGet Package Manager > Package Sources
You’ll most likely see only one source titled “Microsoft Visual Studio Offline Packages”
Click the “+” button to add a new source
Name it whatever, and type “https://api.nuget.org/v3/index.json ” for the source
Click the “Update” button and then make sure it’s checked
Things I’ve tried:
Important to note, I reproduced this problem on my laptop that’s never been a developer machine. I had to install Epic, UE5.3, VS, etc. It has the same problem. I installed the bare minimum workloads I thought I could get away with, unlike my developer machine, which has everything UEDocs recommends and then some.
Google, Redit, UE Forums, Chat gpt.
I’ve made new projects, tested one old 5.3 project(that’s all I had), and made a 5.2 c++ project that I updated to 5.3. Same results.
I deleted the Binaries, intermediate, Saved, DerivedDataCache, and .sln, and Generated VS project files.
I uninstalled UE5.3, Deleted my AppData/Unreal folder, and reinstalled UE5.3
I’ve tried building in Rider and VS
I tried building just MyProject game module in VS (instead of Build Solution Ctrl+Shift+B I clicked Build > MyProject and it builds 11 actions(so an improvement).
I changed my EditorPreferences > SourceCode > to Rider Uproject. Opened the .Uproject with Rider it builds 11 actions that I assume would fail if I hadn’t already updated NuGet.
I tried other stuff too, but I’m going down the wrong rabbit hole.
Opening the .Uproject with Rider, building just the MyProject module in VS, or updating the NuGet Package Manger seems to work. However, I think I’ve solved the wrong problem. I would think that a newly created project would just build like it has in the past. I’m 80% positive this was working in 5.3 just two days ago and was fine. What’s going on? Even if you don’t have the answer, could you provide any insight or links to anyone else talking about this? Are you able to reproduce?
There’s a lot of information here, but no actual information on what error(s) you’re getting other than how to solve a particular error that doesn’t seem to be the one you’re experiencing.
My gut reaction is that you don’t have the version of DotNet that UE5.3 is expecting or NuGet is grabbing something that actually doesn’t work with UE (I have personally never used NuGet for a UE project)
“There’s a lot of information here, but no actual information on what error(s)…”
I get that. I tried to clean it up, but what I said is confusing. Rather than pasting my log, try this:
Create a new UE5.3 - 3rd person tempate with c++ (Has to be UE5.3)
build it in IDE.
I tested it with Rider and VS on two machines. See if you get 100s of ‘error NU1102: Unable to find package…’. If it builds, let me know. If you’re getting the errors, let me know. I’ll be able to explain it better then
“My gut reaction is that you don’t have the version of DotNet that UE5.3” That’s a good gut reaction!
The 5.3 Release notes say:
.NET 4.6.2 Targeting Pack
.NET 6.0
I’m running:
4.8.1 and 4.6.2 TP
.Net 7 and 6 (dotnet7 is a requirement for things that are requirements for UE according to VS installer)
Also, my non-UE5.3 projects build fine
“I have personally never used NuGet for a UE project” Bro, before today, same! I used NuGet some doing dotNet servers back in the day, but never for UE. Maybe people who build UE from source need to update NuGet, IDK.
For 5.3, Installing Visual Studio 2022 Community and selecting the game development for Unreal should install all the required C++ stuff. .NET 6 Core is also needed and the full SDK Install, not the runtime.
It could be that there are other C++ Dependencies within VS Community. It’s hard to tell as I have always had VS on my machine for C++/Windows development stuff I used to do.
The Unable to find package error should give you an indicator of what is missing but it probably isn’t a NuGet package but a specific version of the C++ runtime libraries in the VS Installer.
Oh, don’t wipe everything! I guess I falsely perceive reproducing the issue as easy. Yeah. I tried with 5.2.1, and It works as expected, builds 1 action successfully. UE5.3.0, before the update, also built as expected, IIRC.
I just created a 5.3.1 project, Added a new class. I then exited the editor and triggered a rebuild in rider (editor of choice) and it worked fine. No issues with 5.3.1 C++ template for Third Person
Thank you, but I think my question was, one unclear, and two outside the scope of GDTV.
My concern was that updating NuGet fixed my errors, but it didn’t seem like the correct solution. I wanted to know if I was alone in this problem, how others solved the problem, and/or get feedback on my solution. I did not communicate that clearly
GDTV helps people start their Game Dev journey by offering online courses. My question was grossly outside that scope. The question was not a starter question and GDTV recommends using the same versions as the instructor to avoid issues such as this. I presume your jobs as TAs is to help people finish a course, and using the recommended engine version is the correct answer you should give. To expect different, is a personal flaw of mine.
However a great learning experience for me, I would like to apologize for abusing your time.
To second beegeedee. While we’re certainly at our best when dealing with the courses we provide, we do have experience outside of that scope and will try to help as best as we can.
Communicating the problem or question you would like to be answered/solved is always going to be a skill that gets built overtime. So don’t feel hard on yourself for not being clear, this why we were asking questions because we wanted to understand the question/problem to help work out a solution.