Unable to run project files from course GitHub

Hi all

I’m trying to revert to the course project file for “208 - Setup Tank Throttles” but it won’t assemble. I’m getting the error:

`UEBuildBinaryConfiguration’ could not be found. Are you missing an assembly reference’

and prompted to manually assemble from source, which doesn’t seem to be possible. I’m on a 2019 iMac, macOS 10.14.5, Xcode 9.4. I’ve tried opening in UE 4.22.2, UE 4.19.2, UE 4.12.5 without success. No Sourcetree or backup to revert to for various reasons, but fundamentally I’m curious and concerned that the course files won’t open for me. I’ve tried a number of other different files from the course GitHub with the same issue. I’ve spent the day researching the problem and tried all the steps I can find for manually rebuilding. Any suggestions welcome!

What are you doing exactly? What files?

Hi Dan

well, the good news is I don’t need to revert anymore - I managed to track down the glitch in Unreal Editor that was causing a crash on startup (the Projectile_BP had become de-assigned somehow in the Tank_BP). Everything is now properly backed up and Sourcetree-d!

The issue remains that the Unreal course files that I’ve tried just don’t open on my Mac. I’ve tried a few but a specific example is trying to open/convert the uproject in

04_BattleTank-110c2a0250282ba1dee87cc98e0c2023fcf429f6

UE 4.12.5 won’t launch with my Mac configuration so I can’t open it with that. UE 4.19 and higher open but are unable to convert the files, with different errors. UE 4.19.2 fails with the error:


Project files could not be generated. Log output:

Running Mono…

Setting up Mono
/Users/Shared/Epic Games/UE_4.19/Engine /Users/Shared/Epic Games/UE_4.19/Engine/Binaries/Mac
Discovering modules, targets and source code for project…
While compiling /Users/tony/Downloads/04_BattleTank-110c2a0250282ba1dee87cc98e0c2023fcf429f6-3/BattleTank 4.19/Intermediate/Build/BuildRules/BattleTankModuleRules.dll:
ERROR: /Users/tony/Downloads/04_BattleTank-110c2a0250282ba1dee87cc98e0c2023fcf429f6-3/BattleTank 4.19/Source/BattleTank.Target.cs(19,12) : error CS0122: UnrealBuildTool.UEBuildBinaryConfiguration' is inaccessible due to its protection level ERROR: (0,0) : error : /Users/Shared/Epic Games/UE_4.19/Engine/Binaries/DotNET/UnrealBuildTool.exe (Location of the symbol related to previous error) ERROR: /Users/tony/Downloads/04_BattleTank-110c2a0250282ba1dee87cc98e0c2023fcf429f6-3/BattleTank 4.19/Source/BattleTankEditor.Target.cs(19,12) : error CS0122:UnrealBuildTool.UEBuildBinaryConfiguration’ is inaccessible due to its protection level
ERROR: (0,0) : error : /Users/Shared/Epic Games/UE_4.19/Engine/Binaries/DotNET/UnrealBuildTool.exe (Location of the symbol related to previous error)
ERROR: UnrealBuildTool Exception: Unable to compile source files.


UE 4.22.2 fails with the error:


Project files could not be generated. Log output:

Running Mono…

Setting up Mono
/Users/Shared/Epic Games/UE_4.22/Engine /Users/Shared/Epic Games/UE_4.22/Engine/Binaries/Mac
Discovering modules, targets and source code for project…
While compiling /Users/tony/Downloads/04_BattleTank-110c2a0250282ba1dee87cc98e0c2023fcf429f6-3/BattleTank 4.22/Intermediate/Build/BuildRules/BattleTankModuleRules.dll:
/Users/tony/Downloads/04_BattleTank-110c2a0250282ba1dee87cc98e0c2023fcf429f6-3/BattleTank 4.22/Source/BattleTank.Target.cs(19,12) : error CS0246: The type or namespace name UEBuildBinaryConfiguration' could not be found. Are you missing an assembly reference? /Users/tony/Downloads/04_BattleTank-110c2a0250282ba1dee87cc98e0c2023fcf429f6-3/BattleTank 4.22/Source/BattleTankEditor.Target.cs(19,12) : error CS0246: The type or namespace nameUEBuildBinaryConfiguration’ could not be found. Are you missing an assembly reference?
ERROR: Unable to compile source files.


Thought it was worth flagging!

Thanks, Tony

Did you update the build files? There’s a lecture on that, though you can just use git to do that

git cherry-pick 37b939b43fd502147ce27f5b6f305315641b7885

Though you may get merge conflicts which you can use VS Code to resolve.

When you say update the build files do you mean regenerate the Xcode project? It’s not possible to do that with my setup as you have to open the uproject first, and that’s what I’m unable to do.

If you mean updating the files Unreal creates, I’ve deleted all the derived files as per instructions but UE is unable to regenerate them as the project doesn’t open fully. If there’s an updated lecture about updating builds please point me in the right direction, I’ve not found it through searching the course.

Possibly this issue might be fixed if the project files in the repos were reposted for 4.22.2 at some point?

No I mean the Build.cs and Target.cs files. The lecture titled “Cloning and Building Our Code” goes over this. Also the specific commit I mentioned.
https://github.com/UnrealCourse/04_BattleTank/commit/37b939b43fd502147ce27f5b6f305315641b7885

Thanks Dan, I missed that. I’ll be sure to try it if it goes off the rails again!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms