Can't open ue5 project

I can’t open my UE5 project when I try to open that there’s a pop-up like this

image

and when I looked at my code there was an error like this

this is line number 5

this is line number 6

and this is line number 7

I don’t know what is the error there, because I’m new to the Unreal engine. Can anyone help?
oh yes, I’m on Unreal Engine 5 C++ Developer: Learn C++ & Make Video Games on section 6 lecture 158.

oh yes and this is the logs

Log file open, 12/08/23 10:57:31
LogWindows: Failed to load ‘aqProf.dll’ (GetLastError=126)
LogWindows: File ‘aqProf.dll’ does not exist
LogProfilingDebugging: Loading WinPixEventRuntime.dll for PIX profiling (from …/…/…/Engine/Binaries/ThirdParty/Windows/WinPixEventRuntime/x64).
LogWindows: Failed to load ‘VtuneApi.dll’ (GetLastError=126)
LogWindows: File ‘VtuneApi.dll’ does not exist
LogWindows: Failed to load ‘VtuneApi32e.dll’ (GetLastError=126)
LogWindows: File ‘VtuneApi32e.dll’ does not exist
LogWindows: Started CrashReportClient (pid=11512)
LogWindows: Custom abort handler registered for crash reporting.
LogInit: Display: Running engine for game: SimpleShooter
LogCore: UnrealTraceServer: Trace store launch successful
LogTrace: Initializing trace…
LogCore: Display: Requested channels: ‘cpu,gpu,frame,log,bookmark,screenshot,region’
LogTrace: Finished trace initialization.
LogCsvProfiler: Display: Metadata set : platform=“Windows”
LogCsvProfiler: Display: Metadata set : config=“Development”
LogCsvProfiler: Display: Metadata set : buildversion="++UE5+Release-5.3-CL-28051148"
LogCsvProfiler: Display: Metadata set : engineversion=“5.3.1-28051148+++UE5+Release-5.3”
LogCsvProfiler: Display: Metadata set : os=“Windows 10 (Release 1909) [10.0.18363.1440] "
LogCsvProfiler: Display: Metadata set : cpu=“AuthenticAMD|AMD Ryzen 5 2600X Six-Core Processor”
LogCsvProfiler: Display: Metadata set : pgoenabled=“0”
LogCsvProfiler: Display: Metadata set : pgoprofilingenabled=“0”
LogCsvProfiler: Display: Metadata set : ltoenabled=“0”
LogCsvProfiler: Display: Metadata set : asan=“0”
LogCsvProfiler: Display: Metadata set : commandline=”" “F:\Danish Folder\Unreal Project\SimpleShooter\SimpleShooter\SimpleShooter.uproject”""
LogCsvProfiler: Display: Metadata set : loginid=“a51aaf3149dcec74043c20b662a36e5f”
LogCsvProfiler: Display: Metadata set : llm=“0”
LogStats: Stats thread started at 0.404383
LogICUInternationalization: ICU TimeZone Detection - Raw Offset: +7:00, Platform Override: ‘’
LogInit: Session CrashGUID >====================================================
Session CrashGUID > UECC-Windows-FF315E5A49606536090CC5AA226D18FA
Session CrashGUID >====================================================
LogConfig: Display: Loading IOS ini files took 0.03 seconds
LogConfig: Display: Loading VulkanPC ini files took 0.03 seconds
LogConfig: Display: Loading Android ini files took 0.03 seconds
LogConfig: Display: Loading Mac ini files took 0.03 seconds
LogConfig: Display: Loading Unix ini files took 0.04 seconds
LogConfig: Display: Loading TVOS ini files took 0.04 seconds
LogConfig: Display: Loading Linux ini files took 0.04 seconds
LogConfig: Display: Loading LinuxArm64 ini files took 0.04 seconds
LogConfig: Display: Loading Windows ini files took 0.03 seconds
LogPluginManager: Mounting Engine plugin Bridge
LogPluginManager: Mounting Engine plugin FastBuildController
LogPluginManager: Mounting Engine plugin EnhancedInput
LogPluginManager: Found config from plugin[EnhancedInput] Input
LogPluginManager: Mounting Engine plugin MeshPainting
LogPluginManager: Mounting Engine plugin TraceUtilities
LogPluginManager: Mounting Engine plugin XGEController
LogPluginManager: Mounting Engine plugin AnimationSharing
LogPluginManager: Mounting Engine plugin DumpGPUServices
LogPluginManager: Mounting Engine plugin CodeLiteSourceCodeAccess
LogPluginManager: Mounting Engine plugin CLionSourceCodeAccess
LogPluginManager: Mounting Engine plugin GitSourceControl
LogPluginManager: Mounting Engine plugin NullSourceCodeAccess
LogPluginManager: Mounting Engine plugin KDevelopSourceCodeAccess
LogPluginManager: Mounting Engine plugin N10XSourceCodeAccess
LogPluginManager: Mounting Engine plugin PerforceSourceControl
LogPluginManager: Mounting Engine plugin PixWinPlugin
LogPluginManager: Mounting Engine plugin PropertyAccessNode
LogPluginManager: Mounting Engine plugin TextureFormatOodle
LogPluginManager: Mounting Engine plugin SubversionSourceControl
LogPluginManager: Mounting Engine plugin PlasticSourceControl
LogPluginManager: Mounting Engine plugin PluginUtils
LogPluginManager: Mounting Engine plugin RiderSourceCodeAccess
LogPluginManager: Mounting Engine plugin RenderDocPlugin
LogPluginManager: Mounting Engine plugin VisualStudioCodeSourceCodeAccess
LogPluginManager: Mounting Engine plugin TraceDataFilters
LogPluginManager: Mounting Engine plugin UObjectPlugin
LogPluginManager: Mounting Engine plugin VisualStudioSourceCodeAccess
LogPluginManager: Mounting Engine plugin XCodeSourceCodeAccess
LogPluginManager: Mounting Engine plugin AlembicImporter
LogPluginManager: Mounting Engine plugin Niagara
LogPluginManager: Mounting Engine plugin TcpMessaging
LogPluginManager: Mounting Engine plugin LauncherChunkInstaller
LogPluginManager: Mounting Engine plugin UdpMessaging
LogPluginManager: Mounting Engine plugin Takes
LogPluginManager: Mounting Engine plugin ACLPlugin
LogPluginManager: Mounting Engine plugin AnimationData
LogPluginManager: Mounting Engine plugin AnimationModifierLibrary
LogPluginManager: Mounting Engine plugin BlendSpaceMotionAnalysis
LogPluginManager: Mounting Engine plugin ControlRig
LogPluginManager: Mounting Engine plugin ControlRigSpline
LogPluginManager: Mounting Engine plugin IKRig
LogPluginManager: Mounting Engine plugin BackChannel
LogPluginManager: Mounting Engine plugin ChaosCaching
LogPluginManager: Mounting Engine plugin AutomationUtils
LogPluginManager: Mounting Engine plugin ChaosCloth
LogPluginManager: Mounting Engine plugin ChaosClothEditor
LogPluginManager: Mounting Engine plugin ChaosEditor
LogPluginManager: Mounting Engine plugin ChaosNiagara
LogPluginManager: Mounting Engine plugin ChaosSolverPlugin
LogPluginManager: Mounting Engine plugin ChaosUserDataPT
LogPluginManager: Mounting Engine plugin CharacterAI
LogPluginManager: Mounting Engine plugin Dataflow
LogPluginManager: Mounting Engine plugin Fracture
LogPluginManager: Mounting Engine plugin FullBodyIK
LogPluginManager: Mounting Engine plugin GeometryFlow
LogPluginManager: Mounting Engine plugin GeometryCollectionPlugin
LogPluginManager: Mounting Engine plugin LocalizableMessage
LogPluginManager: Mounting Engine plugin MeshModelingToolsetExp
LogPluginManager: Mounting Engine plugin MeshLODToolset
LogPluginManager: Mounting Engine plugin OpenImageDenoise
LogPluginManager: Mounting Engine plugin PlanarCut
LogPluginManager: Mounting Engine plugin PlatformCrypto
LogPluginManager: Mounting Engine plugin ProxyLODPlugin
LogPluginManager: Mounting Engine plugin PythonScriptPlugin
LogPluginManager: Mounting Engine plugin SkeletalReduction
LogPluginManager: Mounting Engine plugin StructUtils
LogPluginManager: Mounting Engine plugin ToolPresets
LogPluginManager: Mounting Engine plugin OnlineServices
LogPluginManager: Mounting Engine plugin OnlineBase
LogPluginManager: Mounting Engine plugin OnlineSubsystem
LogPluginManager: Mounting Engine plugin OnlineSubsystemNull
LogPluginManager: Mounting Engine plugin OnlineSubsystemUtils
LogPluginManager: Mounting Engine plugin AISupport
LogPluginManager: Mounting Engine plugin EnvironmentQueryEditor
LogPluginManager: Mounting Engine plugin DatasmithContent
LogPluginManager: Mounting Engine plugin VariantManagerContent
LogPluginManager: Mounting Engine plugin VariantManager
LogPluginManager: Mounting Engine plugin GLTFExporter
LogPluginManager: Mounting Engine plugin AndroidMedia
LogPluginManager: Mounting Engine plugin AvfMedia
LogPluginManager: Mounting Engine plugin ImgMedia
LogPluginManager: Mounting Engine plugin MediaCompositing
LogPluginManager: Mounting Engine plugin MediaPlate
LogPluginManager: Mounting Engine plugin MediaPlayerEditor
LogPluginManager: Mounting Engine plugin WebMMedia
LogPluginManager: Mounting Engine plugin WmfMedia
LogPluginManager: Mounting Engine plugin ActorLayerUtilities
LogPluginManager: Mounting Engine plugin AndroidMoviePlayer
LogPluginManager: Mounting Engine plugin AndroidFileServer
LogPluginManager: Mounting Engine plugin AndroidPermission
LogPluginManager: Mounting Engine plugin AndroidDeviceProfileSelector
LogPluginManager: Mounting Engine plugin AppleImageUtils
LogPluginManager: Mounting Engine plugin AppleMoviePlayer
LogPluginManager: Mounting Engine plugin ArchVisCharacter
LogPluginManager: Mounting Engine plugin AudioCapture
LogPluginManager: Mounting Engine plugin AssetTags
LogPluginManager: Mounting Engine plugin AudioWidgets
LogPluginManager: Mounting Engine plugin CableComponent
LogPluginManager: Mounting Engine plugin ChunkDownloader
LogPluginManager: Mounting Engine plugin AudioSynesthesia
LogPluginManager: Mounting Engine plugin ExampleDeviceProfileSelector
LogPluginManager: Mounting Engine plugin GeometryCache
LogPluginManager: Mounting Engine plugin CustomMeshComponent
LogPluginManager: Mounting Engine plugin GeometryProcessing
LogPluginManager: Mounting Engine plugin GoogleCloudMessaging
LogPluginManager: Mounting Engine plugin GooglePAD
LogPluginManager: Mounting Engine plugin InputDebugging
LogPluginManager: Found config from plugin[InputDebugging] Input
LogPluginManager: Mounting Engine plugin IOSDeviceProfileSelector
LogPluginManager: Mounting Engine plugin LinuxDeviceProfileSelector
LogPluginManager: Mounting Engine plugin LocationServicesBPLibrary
LogPluginManager: Mounting Engine plugin Metasound
LogPluginManager: Mounting Engine plugin MeshModelingToolset
LogPluginManager: Mounting Engine plugin MobilePatchingUtils
LogPluginManager: Mounting Engine plugin MsQuic
LogPluginManager: Mounting Engine plugin PropertyAccessEditor
LogPluginManager: Mounting Engine plugin ProceduralMeshComponent
LogPluginManager: Mounting Engine plugin ResonanceAudio
LogPluginManager: Mounting Engine plugin RigVM
LogPluginManager: Mounting Engine plugin SignificanceManager
LogPluginManager: Mounting Engine plugin SoundFields
LogPluginManager: Mounting Engine plugin WaveTable
LogPluginManager: Mounting Engine plugin Synthesis
LogPluginManager: Mounting Engine plugin WindowsDeviceProfileSelector
LogPluginManager: Mounting Engine plugin WebMMoviePlayer
LogPluginManager: Mounting Engine plugin WindowsMoviePlayer
LogPluginManager: Mounting Engine plugin CameraShakePreviewer
LogPluginManager: Mounting Engine plugin GameplayCameras
LogPluginManager: Mounting Engine plugin Paper2D
LogPluginManager: Mounting Engine plugin AssetManagerEditor
LogPluginManager: Mounting Engine plugin BlueprintHeaderView
LogPluginManager: Mounting Engine plugin OodleNetwork
LogPluginManager: Mounting Engine plugin ChangelistReview
LogPluginManager: Mounting Engine plugin CryptoKeys
LogPluginManager: Mounting Engine plugin CurveEditorTools
LogPluginManager: Mounting Engine plugin DataValidation
LogPluginManager: Mounting Engine plugin EditorScriptingUtilities
LogPluginManager: Mounting Engine plugin EditorDebugTools
LogPluginManager: Mounting Engine plugin FacialAnimation
LogPluginManager: Mounting Engine plugin GeometryMode
LogPluginManager: Mounting Engine plugin GameplayTagsEditor
LogPluginManager: Mounting Engine plugin EngineAssetDefinitions
LogPluginManager: Mounting Engine plugin MacGraphicsSwitching
LogPluginManager: Mounting Engine plugin MaterialAnalyzer
LogPluginManager: Mounting Engine plugin MobileLauncherProfileWizard
LogPluginManager: Mounting Engine plugin ModelingToolsEditorMode
LogPluginManager: Mounting Engine plugin PluginBrowser
LogPluginManager: Mounting Engine plugin SequencerAnimTools
LogPluginManager: Mounting Engine plugin WorldPartitionHLODUtilities
LogPluginManager: Mounting Engine plugin SpeedTreeImporter
LogPluginManager: Mounting Engine plugin Interchange
LogPluginManager: Mounting Engine plugin UVEditor
LogPluginManager: Mounting Engine plugin LevelSequenceEditor
LogPluginManager: Mounting Engine plugin ActorSequence
LogPluginManager: Mounting Engine plugin InterchangeEditor
LogPluginManager: Mounting Engine plugin TemplateSequence
LogPluginManager: Mounting Engine plugin SequencerScripting
LogPluginManager: Mounting Engine plugin InterchangeTests
LogPluginManager: Mounting Engine plugin OnlineSubsystemGooglePlay
LogPluginManager: Mounting Engine plugin OnlineSubsystemIOS
LogPluginManager: Mounting Engine plugin PortableObjectFileDataSource
LogPluginManager: Mounting Engine plugin ContentBrowserAssetDataSource
LogPluginManager: Mounting Engine plugin ContentBrowserClassDataSource
LogPluginManager: Mounting Engine plugin ContentBrowserFileDataSource
LogPluginManager: Mounting Engine plugin LightMixer
LogPluginManager: Mounting Engine plugin ObjectMixer
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Bridge/Content/’ mounted to ‘/Bridge/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/TraceUtilities/Content/’ mounted to ‘/TraceUtilities/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Developer/AnimationSharing/Content/’ mounted to ‘/AnimationSharing/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/FX/Niagara/Content/’ mounted to ‘/Niagara/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/VirtualProduction/Takes/Content/’ mounted to ‘/Takes/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Animation/ACLPlugin/Content/’ mounted to ‘/ACLPlugin/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Animation/ControlRig/Content/’ mounted to ‘/ControlRig/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Animation/ControlRigSpline/Content/’ mounted to ‘/ControlRigSpline/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Animation/IKRig/Content/’ mounted to ‘/IKRig/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Experimental/ChaosCaching/Content/’ mounted to ‘/ChaosCaching/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Experimental/ChaosClothEditor/Content/’ mounted to ‘/ChaosClothEditor/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Experimental/ChaosNiagara/Content/’ mounted to ‘/ChaosNiagara/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Experimental/ChaosSolverPlugin/Content/’ mounted to ‘/ChaosSolverPlugin/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Experimental/Dataflow/Content/’ mounted to ‘/Dataflow/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Experimental/FullBodyIK/Content/’ mounted to ‘/FullBodyIK/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Experimental/GeometryFlow/Content/’ mounted to ‘/GeometryFlow/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Experimental/GeometryCollectionPlugin/Content/’ mounted to ‘/GeometryCollectionPlugin/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Experimental/MeshModelingToolsetExp/Content/’ mounted to ‘/MeshModelingToolsetExp/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Experimental/MeshLODToolset/Content/’ mounted to ‘/MeshLODToolset/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Experimental/PythonScriptPlugin/Content/’ mounted to ‘/PythonScriptPlugin/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Experimental/ToolPresets/Content/’ mounted to ‘/ToolPresets/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Enterprise/DatasmithContent/Content/’ mounted to ‘/DatasmithContent/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Enterprise/GLTFExporter/Content/’ mounted to ‘/GLTFExporter/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Media/MediaCompositing/Content/’ mounted to ‘/MediaCompositing/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Media/MediaPlate/Content/’ mounted to ‘/MediaPlate/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Runtime/AudioWidgets/Content/’ mounted to ‘/AudioWidgets/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Runtime/AudioSynesthesia/Content/’ mounted to ‘/AudioSynesthesia/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Runtime/GeometryProcessing/Content/’ mounted to ‘/GeometryProcessing/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Runtime/Metasound/Content/’ mounted to ‘/Metasound/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Runtime/MeshModelingToolset/Content/’ mounted to ‘/MeshModelingToolset/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Runtime/ResonanceAudio/Content/’ mounted to ‘/ResonanceAudio/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Runtime/RigVM/Content/’ mounted to ‘/RigVM/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Runtime/WaveTable/Content/’ mounted to ‘/WaveTable/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Runtime/Synthesis/Content/’ mounted to ‘/Synthesis/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/2D/Paper2D/Content/’ mounted to ‘/Paper2D/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Editor/BlueprintHeaderView/Content/’ mounted to ‘/BlueprintHeaderView/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Editor/GeometryMode/Content/’ mounted to ‘/GeometryMode/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Editor/ModelingToolsEditorMode/Content/’ mounted to ‘/ModelingToolsEditorMode/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Editor/SpeedTreeImporter/Content/’ mounted to ‘/SpeedTreeImporter/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Interchange/Runtime/Content/’ mounted to ‘/Interchange/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Editor/UVEditor/Content/’ mounted to ‘/UVEditor/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/MovieScene/SequencerScripting/Content/’ mounted to ‘/SequencerScripting/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Editor/ObjectMixer/LightMixer/Content/’ mounted to ‘/LightMixer/’
LogPackageName: Display: FPackageName: Mount point added: ‘…/…/Plugins/Editor/ObjectMixer/ObjectMixer/Content/’ mounted to ‘/ObjectMixer/’
SourceControl: Revision control is disabled
SourceControl: Revision control is disabled
SourceControl: Revision control is disabled
Launching UnrealBuildTool… [F:/Danish Folder/Epic Game/UE5/UE_5.3/Engine/Build/BatchFiles/Build.bat -Mode=QueryTargets -Project=“F:/Danish Folder/Unreal Project/SimpleShooter/SimpleShooter/SimpleShooter.uproject” -Output=“F:/Danish Folder/Unreal Project/SimpleShooter/SimpleShooter/Intermediate/TargetInfo.json”]
LogInit: Warning: Incompatible or missing module: SimpleShooter
Running F:/Danish Folder/Epic Game/UE5/UE_5.3/Engine/Build/BatchFiles/Build.bat Development Win64 -Project=“F:/Danish Folder/Unreal Project/SimpleShooter/SimpleShooter/SimpleShooter.uproject” -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Using bundled DotNet SDK version: 6.0.302
Running UnrealBuildTool: dotnet “…\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” Development Win64 -Project=“F:/Danish Folder/Unreal Project/SimpleShooter/SimpleShooter/SimpleShooter.uproject” -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Log file: C:\Users\ARIEF\AppData\Local\UnrealBuildTool\Log.txt
Creating makefile for SimpleShooterEditor (no existing makefile)
@progress push 5%
Parsing headers for SimpleShooterEditor
Running Internal UnrealHeaderTool “F:\Danish Folder\Unreal Project\SimpleShooter\SimpleShooter\SimpleShooter.uproject” “F:\Danish Folder\Unreal Project\SimpleShooter\SimpleShooter\Intermediate\Build\Win64\SimpleShooterEditor\Development\SimpleShooterEditor.uhtmanifest” -WarningsAsErrors -installed
Total of 6 written
Reflection code generated for SimpleShooterEditor in 1.8256931 seconds
@progress pop
Building SimpleShooterEditor…
Using Visual Studio 2022 14.37.32825 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822) and Windows 10.0.22621.0 SDK (C:\Program Files (x86)\Windows Kits\10).
Determining max actions to execute in parallel (6 physical cores, 12 logical cores)
Executing up to 6 processes, one per physical core
Requested 1.5 GB memory per action, 2.7 GB available: limiting max parallel actions to 1
------ Building 11 action(s) started ------
[1/11] Compile [x64] SharedPCH.Engine.Cpp20.cpp
[2/11] Compile [x64] SimpleShooter.init.gen.cpp
[3/11] Compile [x64] ShooterCharacter.cpp
F:\Danish Folder\Unreal Project\SimpleShooter\SimpleShooter\Source\SimpleShooter\ShooterCharacter.cpp(33): error C3867: ‘AShooterCharacter::MoveForward’: non-standard syntax; use ‘&’ to create a pointer to member
F:\Danish Folder\Unreal Project\SimpleShooter\SimpleShooter\Source\SimpleShooter\ShooterCharacter.cpp(33): error C2672: ‘UInputComponent::BindAction’: no matching overloaded function found
F:\Danish Folder\Epic Game\UE5\UE_5.3\Engine\Source\Runtime\Engine\Classes\Components\InputComponent.h(897): note: could be ‘FInputActionBinding &UInputComponent::BindAction(const FName,const EInputEvent,UserClass *,DelegateType::TMethodPtr,VarTypes…)’
F:\Danish Folder\Unreal Project\SimpleShooter\SimpleShooter\Source\SimpleShooter\ShooterCharacter.cpp(33): note: ‘FInputActionBinding &UInputComponent::BindAction(const FName,const EInputEvent,UserClass *,DelegateType::TMethodPtr,VarTypes…)’: expects 5 arguments - 3 provided
F:\Danish Folder\Epic Game\UE5\UE_5.3\Engine\Source\Runtime\Engine\Classes\Components\InputComponent.h(885): note: or ‘FInputActionBinding &UInputComponent::BindAction(const FName,const EInputEvent,UserClass *,TMemFunPtrType<false,UserClass,void(FKey)>::Type)’
F:\Danish Folder\Unreal Project\SimpleShooter\SimpleShooter\Source\SimpleShooter\ShooterCharacter.cpp(33): note: ‘FInputActionBinding &UInputComponent::BindAction(const FName,const EInputEvent,UserClass *,TMemFunPtrType<false,UserClass,void(FKey)>::Type)’: expects 4 arguments - 3 provided
F:\Danish Folder\Epic Game\UE5\UE_5.3\Engine\Source\Runtime\Engine\Classes\Components\InputComponent.h(873): note: or ‘FInputActionBinding &UInputComponent::BindAction(const FName,const EInputEvent,UserClass *,TMemFunPtrType<false,UserClass,void(void)>::Type)’
F:\Danish Folder\Unreal Project\SimpleShooter\SimpleShooter\Source\SimpleShooter\ShooterCharacter.cpp(33): note: ‘FInputActionBinding &UInputComponent::BindAction(const FName,const EInputEvent,UserClass *,TMemFunPtrType<false,UserClass,void(void)>::Type)’: expects 4 arguments - 3 provided
F:\Danish Folder\Unreal Project\SimpleShooter\SimpleShooter\Source\SimpleShooter\ShooterCharacter.cpp(34): error C2146: syntax error: missing ‘;’ before identifier ‘PlayerInputComponent’
F:\Danish Folder\Unreal Project\SimpleShooter\SimpleShooter\Source\SimpleShooter\ShooterCharacter.cpp(34): error C3867: ‘AShooterCharacter::MoveForward’: non-standard syntax; use ‘&’ to create a pointer to member
F:\Danish Folder\Unreal Project\SimpleShooter\SimpleShooter\Source\SimpleShooter\ShooterCharacter.cpp(34): error C2672: ‘UInputComponent::BindAction’: no matching overloaded function found
F:\Danish Folder\Epic Game\UE5\UE_5.3\Engine\Source\Runtime\Engine\Classes\Components\InputComponent.h(897): note: could be ‘FInputActionBinding &UInputComponent::BindAction(const FName,const EInputEvent,UserClass *,DelegateType::TMethodPtr,VarTypes…)’
F:\Danish Folder\Unreal Project\SimpleShooter\SimpleShooter\Source\SimpleShooter\ShooterCharacter.cpp(34): note: ‘FInputActionBinding &UInputComponent::BindAction(const FName,const EInputEvent,UserClass *,DelegateType::TMethodPtr,VarTypes…)’: expects 5 arguments - 3 provided
F:\Danish Folder\Epic Game\UE5\UE_5.3\Engine\Source\Runtime\Engine\Classes\Components\InputComponent.h(885): note: or ‘FInputActionBinding &UInputComponent::BindAction(const FName,const EInputEvent,UserClass *,TMemFunPtrType<false,UserClass,void(FKey)>::Type)’
F:\Danish Folder\Unreal Project\SimpleShooter\SimpleShooter\Source\SimpleShooter\ShooterCharacter.cpp(34): note: ‘FInputActionBinding &UInputComponent::BindAction(const FName,const EInputEvent,UserClass *,TMemFunPtrType<false,UserClass,void(FKey)>::Type)’: expects 4 arguments - 3 provided
F:\Danish Folder\Epic Game\UE5\UE_5.3\Engine\Source\Runtime\Engine\Classes\Components\InputComponent.h(873): note: or ‘FInputActionBinding &UInputComponent::BindAction(const FName,const EInputEvent,UserClass *,TMemFunPtrType<false,UserClass,void(void)>::Type)’
F:\Danish Folder\Unreal Project\SimpleShooter\SimpleShooter\Source\SimpleShooter\ShooterCharacter.cpp(34): note: ‘FInputActionBinding &UInputComponent::BindAction(const FName,const EInputEvent,UserClass *,TMemFunPtrType<false,UserClass,void(void)>::Type)’: expects 4 arguments - 3 provided
F:\Danish Folder\Unreal Project\SimpleShooter\SimpleShooter\Source\SimpleShooter\ShooterCharacter.cpp(35): error C2143: syntax error: missing ‘;’ before ‘}’
[4/11] Compile [x64] SimpleShooter.cpp
[5/11] Compile [x64] MyPawn.gen.cpp
[6/11] Compile [x64] ShooterCharacter.gen.cpp
[7/11] Compile [x64] MyPawn.cpp
[8/11] Resource Default.rc2
Total time in Parallel executor: 143.44 seconds
Total execution time: 166.83 seconds
LogInit: Warning: Still incompatible or missing module: SimpleShooter
LogCore: Engine exit requested (reason: EngineExit() was called)
LogExit: Preparing to exit.
LogVirtualization: UE::Virtualization was shutdown
LogModuleManager: Shutting down and abandoning module DesktopPlatform (64)
LogModuleManager: Shutting down and abandoning module PythonScriptPluginPreload (62)
LogModuleManager: Shutting down and abandoning module PlatformCryptoOpenSSL (60)
LogModuleManager: Shutting down and abandoning module PlatformCryptoTypes (58)
LogModuleManager: Shutting down and abandoning module PlatformCrypto (56)
LogModuleManager: Shutting down and abandoning module PlasticSourceControl (54)
LogModuleManager: Shutting down and abandoning module PerforceSourceControl (52)
LogModuleManager: Shutting down and abandoning module SourceControl (51)
LogModuleManager: Shutting down and abandoning module XGEController (48)
LogXGEController: Cannot use XGE Controller as Incredibuild is not installed on this machine.
LogXGEController: Cleaning working directory: C:/Users/ARIEF/AppData/Local/Temp/UnrealXGEWorkingDir/
LogModuleManager: Shutting down and abandoning module FastBuildController (46)
LogModuleManager: Shutting down and abandoning module IoStoreOnDemand (44)
LogModuleManager: Shutting down and abandoning module AnimationModifiers (42)
LogModuleManager: Shutting down and abandoning module AudioEditor (40)
LogModuleManager: Shutting down and abandoning module PropertyEditor (39)
LogModuleManager: Shutting down and abandoning module Virtualization (36)
LogModuleManager: Shutting down and abandoning module MessageLog (35)
LogModuleManager: Shutting down and abandoning module TextureCompressor (32)
LogModuleManager: Shutting down and abandoning module OpenColorIOWrapper (31)
LogModuleManager: Shutting down and abandoning module RenderCore (28)
LogModuleManager: Shutting down and abandoning module Landscape (26)
LogModuleManager: Shutting down and abandoning module SlateRHIRenderer (24)
LogModuleManager: Shutting down and abandoning module AnimGraphRuntime (22)
LogModuleManager: Shutting down and abandoning module Renderer (20)
LogModuleManager: Shutting down and abandoning module Engine (18)
LogModuleManager: Shutting down and abandoning module CoreUObject (16)
LogModuleManager: Shutting down and abandoning module SandboxFile (14)
LogModuleManager: Shutting down and abandoning module PakFile (12)
LogPakFile: Destroying PakPlatformFile
LogModuleManager: Shutting down and abandoning module RSA (11)
LogModuleManager: Shutting down and abandoning module NetworkFile (8)
LogModuleManager: Shutting down and abandoning module StreamingFile (6)
LogModuleManager: Shutting down and abandoning module CookOnTheFly (4)
LogModuleManager: Shutting down and abandoning module StorageServerClient (2)
LogExit: Exiting.
Log file closed, 12/08/23 11:04:30

Error in the log file.

where is the error?

BindAction takes 4 parameters as you need to indicate pressed and released, BindAxis is probably what you meant.

but it’s still can’t open the project

image

The error tells you how to fix it. You are missing an &


You can’t open it because you deleted the Binaries folder. I’ve told you before that this isn’t the solution to every problem. When you get an error you should read it and try to make sense of it. If you can’t understand it then ask for help showing that error. Deleting those folders will only fix errors in a broken build, it’s a last resort deal when your code is correct but you get odd behaviour. It won’t fix problems in your own code.

where do I put the “&”?

Yes, when you specify the method for the axis/action, you need to pass it as a pointer to the method, as in &AShooterCharacter::MoveForward

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

Privacy & Terms