i removed the auto generated Characters and created new ProjectCharacters. They are compiled/clean. I couldn´t find anything in the DefaultEngine.ini, Game.Build file and Game file
I outcomment the the line “unable to comile DefaultEngine.ini” GameInstanceClass=/Script/Engine.GameInstance with “;” but the UE5 won´t get opened
I got few VS errors
Build started…
1>------ Build started: Project: SkeletonsBossButcher, Configuration: Development_Editor x64 ------
2>------ Skipped Build: Project: UE5, Configuration: BuiltWithUnrealBuildTool Win64 ------
2>Project not selected to build for this solution configuration
1>Running UnrealBuildTool: dotnet “…..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” SkeletonsBossButcherEditor Win64 Development -Project=“Z:\Unreal Engine Projects\SkeletonsBossButcher\SkeletonsBossButcher\SkeletonsBossButcher.uproject” -WaitMutex -FromMsBuild
1>Log file: C:\Users\Tobia\AppData\Local\UnrealBuildTool\Log.txt
1>Using ‘git status’ to determine working set for adaptive non-unity build (Z:\Unreal Engine Projects\SkeletonsBossButcher\SkeletonsBossButcher).
1>Building SkeletonsBossButcherEditor…
1>Using Visual Studio 2022 14.34.31933 toolchain (Z:\VS2022\VC\Tools\MSVC\14.34.31933) and Windows 10.0.22621.0 SDK (C:\Program Files (x86)\Windows Kits\10).
1>[Upgrade]
1>[Upgrade] Using backward-compatible include order. The latest version of UE has changed the order of includes, which may require code changes. The current setting is:
1>[Upgrade] IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_0
1>[Upgrade] Suppress this message by setting ‘IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_1;’ in SkeletonsBossButcherEditor.Target.cs.
1>[Upgrade] Alternatively you can set this to ‘EngineIncludeOrderVersion.Latest’ to always use the latest include order. This will potentially cause compile errors when integrating new versions of the engine.
1>[Upgrade]
1>[Adaptive Build] Excluded from SkeletonsBossButcher unity file: HUD_SBB_MainMenu_Player.cpp, PC_SBB_MainMenu_Player.cpp, PS_SBB_MainMenu_Player.cpp, AnimInstanceGhuls.cpp, HUD_SBB_Survivors.cpp, MainAnimInstance.cpp, PC_SBB_Survivors.cpp, PS_SBB_Survivors.cpp, Survivor_SBB_Characters.cpp, GS_SBB_MainMenu.cpp, GS_SBB_InGame.cpp
1>Determining max actions to execute in parallel (2 physical cores, 4 logical cores)
1> Executing up to 2 processes, one per physical core
1>Building 4 actions with 2 processes…
1>[1/4] Link UnrealEditor-SkeletonsBossButcher.lib cancelled
1>[2/4] Link UnrealEditor-SkeletonsBossButcher.dll cancelled
1>[3/4] WriteMetadata SkeletonsBossButcherEditor.target cancelled
1>[4/4] Compile Survivor_SBB_Characters.cpp
1>Z:\Unreal Engine Projects\SkeletonsBossButcher\SkeletonsBossButcher\Source\SkeletonsBossButcher\Characters\SurvivorCharacters\Survivor_SBB_Characters.cpp(56): error C2653: ‘ASkeletonsBossButcherCharacters’: is not a class or namespace name
1>Z:\Unreal Engine Projects\SkeletonsBossButcher\SkeletonsBossButcher\Source\SkeletonsBossButcher\Characters\SurvivorCharacters\Survivor_SBB_Characters.cpp(56): error C2276: ‘&’: illegal operation on bound member function expression
1>Z:\Unreal Engine Projects\SkeletonsBossButcher\SkeletonsBossButcher\Source\SkeletonsBossButcher\Characters\SurvivorCharacters\Survivor_SBB_Characters.cpp(56): error C2660: ‘UInputComponent::BindAxis’: function does not take 2 arguments
1>Z:\UE_5.1\Engine\Source\Runtime\Engine\Classes\Components\InputComponent.h(934): note: see declaration of ‘UInputComponent::BindAxis’
1>Z:\UE_5.1\Engine\Source\Runtime\Engine\Classes\Components\InputComponent.h(909): note: could be ‘FInputAxisBinding &UInputComponent::BindAxis(const FName,UserClass *,TMemFunPtrType<false,UserClass,void(float)>::Type)’
1>Z:\Unreal Engine Projects\SkeletonsBossButcher\SkeletonsBossButcher\Source\SkeletonsBossButcher\Characters\SurvivorCharacters\Survivor_SBB_Characters.cpp(56): note: ‘FInputAxisBinding &UInputComponent::BindAxis(const FName,UserClass *,TMemFunPtrType<false,UserClass,void(float)>::Type)’: expects 3 arguments - 2 provided
1>Z:\Unreal Engine Projects\SkeletonsBossButcher\SkeletonsBossButcher\Source\SkeletonsBossButcher\Characters\SurvivorCharacters\Survivor_SBB_Characters.cpp(56): note: while trying to match the argument list ‘(const char [12], ASurvivor_SBB_Characters *)’
1>Z:\Unreal Engine Projects\SkeletonsBossButcher\SkeletonsBossButcher\Source\SkeletonsBossButcher\Characters\SurvivorCharacters\Survivor_SBB_Characters.cpp(57): error C2653: ‘ASkeletonsBossButcherCharacters’: is not a class or namespace name
1>Z:\Unreal Engine Projects\SkeletonsBossButcher\SkeletonsBossButcher\Source\SkeletonsBossButcher\Characters\SurvivorCharacters\Survivor_SBB_Characters.cpp(57): error C2276: ‘&’: illegal operation on bound member function expression
1>Z:\Unreal Engine Projects\SkeletonsBossButcher\SkeletonsBossButcher\Source\SkeletonsBossButcher\Characters\SurvivorCharacters\Survivor_SBB_Characters.cpp(57): error C2660: ‘UInputComponent::BindAxis’: function does not take 2 arguments
1>Z:\UE_5.1\Engine\Source\Runtime\Engine\Classes\Components\InputComponent.h(934): note: see declaration of ‘UInputComponent::BindAxis’
1>Z:\UE_5.1\Engine\Source\Runtime\Engine\Classes\Components\InputComponent.h(909): note: could be ‘FInputAxisBinding &UInputComponent::BindAxis(const FName,UserClass *,TMemFunPtrType<false,UserClass,void(float)>::Type)’
1>Z:\Unreal Engine Projects\SkeletonsBossButcher\SkeletonsBossButcher\Source\SkeletonsBossButcher\Characters\SurvivorCharacters\Survivor_SBB_Characters.cpp(57): note: ‘FInputAxisBinding &UInputComponent::BindAxis(const FName,UserClass *,TMemFunPtrType<false,UserClass,void(float)>::Type)’: expects 3 arguments - 2 provided
1>Z:\Unreal Engine Projects\SkeletonsBossButcher\SkeletonsBossButcher\Source\SkeletonsBossButcher\Characters\SurvivorCharacters\Survivor_SBB_Characters.cpp(57): note: while trying to match the argument list ‘(const char [10], ASurvivor_SBB_Characters *)’
1>Z:\VS2022\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets(44,5): error MSB3073: The command “Z:\UE_5.1\Engine\Build\BatchFiles\Build.bat SkeletonsBossButcherEditor Win64 Development -Project=“Z:\Unreal Engine Projects\SkeletonsBossButcher\SkeletonsBossButcher\SkeletonsBossButcher.uproject” -WaitMutex -FromMsBuild” exited with code 6.
1>Done building project “SkeletonsBossButcher.vcxproj” – FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 1 skipped ==========
========== Elapsed 00:12,063 ==========
The error message you are seeing is indicating that there is an issue with the code in the Survivor_SBB_Characters.cpp file. Specifically, it is saying that “ASkeletonsBossButcherCharacters” is not a class or namespace name. It appears that it is being used in the BindAxis function on line 56 of the Survivor_SBB_Characters.cpp file.
Additionally, the error message is saying that “&” is an illegal operation on bound member function expression, and that the BindAxis function does not take 2 arguments. It seems that you are trying to use the BindAxis function to bind an axis to a function in the ASkeletonsBossButcherCharacters class. However, it seems that this class does not exist or is not being recognized by the compiler.
It’s also possible that the class exists but the function or variable you are trying to bind to is not correct. There could also be an issue with the include paths in your project, which is causing the compiler to not find the class definition.
You will have to check your code, the class definition and the includes in the .cpp file and make sure that everything is correct. It’s a good idea to verify the Unreal Engine version you are using and make sure that the code is compatible with that version.
You can also try to verify the class and variable names in the code, and double-check the function and variable names in the Unreal Engine documentation.
Finally you might want to check the log file"C:\Users\Tobia\AppData\Local\UnrealBuildTool\Log.txt" for more information on what’s causing the error.
