ProjectBorealis / PBCharacterMovement

HL2-style, classic FPS movement for Unreal Engine implemented in C++
https://www.projectborealis.com/movement
MIT License
1.27k stars 163 forks source link

Unreal Engine 5.0.2 compiled fail #29

Closed b3326023 closed 2 years ago

b3326023 commented 2 years ago

Thanks for your sharing!

Excuse me, I'm new to Unreal Engine, when I place the PBCharacterMovement folder into my UE's project folder/Plugins, and open UE5, it shows the following error: "The following modules are missing or built with a different engine version: PBCharacterMovement. Would you like to rebuild them now?" image

After clicking yes, it goes to a new error: "XXXX could not be compiled. Try rebuilding from source manually." image

Can somebody give me some instructions to solve this problem, please?

mastercoms commented 2 years ago

What are your logs? Saved/Logs, there should be compile errors listed there

b3326023 commented 2 years ago

What are your logs? Saved/Logs, there should be compile errors listed there

Here is my error log: `Log file open, 08/27/22 20:47:39 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=12000) LogConsoleResponse: Display: Failed to find resolution value strings in scalability ini. Falling back to default. LogConsoleResponse: Display: Failed to find resolution value strings in scalability ini. Falling back to default. LogInit: Display: Running engine for game: FPS_BHOP LogCore: UnrealTraceServer: Trace store launch successful LogCsvProfiler: Display: Metadata set : platform="Windows" LogCsvProfiler: Display: Metadata set : config="Development" LogCsvProfiler: Display: Metadata set : buildversion="++UE5+Release-5.0-CL-20979098" LogCsvProfiler: Display: Metadata set : engineversion="5.0.3-20979098+++UE5+Release-5.0" LogCsvProfiler: Display: Metadata set : commandline="" "C:/Users/Willy/Documents/Unreal Projects/FPS_BHOP/FPS_BHOP.uproject" -EpicPortal -epicusername=Willirene -epicuserid=e3d5245be49742dd9f11021067c8be01 -epiclocale=zh-Hant -epicsandboxid=ue"" LogCsvProfiler: Display: Metadata set : os="Windows 11 (21H2) [10.0.22000.856] " LogCsvProfiler: Display: Metadata set : cpu="GenuineIntel|12th Gen Intel(R) Core(TM) i9-12900H" LogCsvProfiler: Display: Metadata set : pgoenabled="0" LogCsvProfiler: Display: Metadata set : loginid="1d83393f4d16e64e6464bca61d517089" LogCsvProfiler: Display: Metadata set : llm="0" LogPlatformFile: Not using cached read wrapper LogStats: Stats thread started at 0.201728 LogICUInternationalization: ICU TimeZone Detection - Raw Offset: +8:00, Platform Override: '' LogInit: Session CrashGUID >==================================================== Session CrashGUID > UECC-Windows-67ED9117461EFCA555E0B194BF4A1323 Session CrashGUID >==================================================== LogConfig: Display: Loading HoloLens ini files took 0.02 seconds LogConfig: Display: Loading Mac ini files took 0.02 seconds LogConfig: Display: Loading VulkanPC ini files took 0.02 seconds LogConfig: Display: Loading IOS ini files took 0.02 seconds LogConfig: Display: Loading Android ini files took 0.02 seconds LogConfig: Display: Loading Unix ini files took 0.02 seconds LogConfig: Display: Loading Windows ini files took 0.03 seconds LogConfig: Display: Loading TVOS ini files took 0.03 seconds LogConfig: Display: Loading LinuxArm64 ini files took 0.03 seconds LogConfig: Display: Loading Linux ini files took 0.03 seconds LogPluginManager: Mounting Engine plugin Bridge LogPluginManager: Mounting Engine plugin FastBuildController LogPluginManager: Mounting Engine plugin MeshPainting LogPluginManager: Mounting Engine plugin XGEController LogPluginManager: Mounting Engine plugin AISupport LogPluginManager: Mounting Engine plugin EnvironmentQueryEditor LogPluginManager: Mounting Engine plugin IKRig LogPluginManager: Mounting Engine plugin ControlRig LogPluginManager: Mounting Engine plugin AnimationModifierLibrary LogPluginManager: Mounting Engine plugin Paper2D LogPluginManager: Mounting Engine plugin OodleNetwork LogPluginManager: Mounting Engine plugin CameraShakePreviewer LogPluginManager: Mounting Engine plugin AssetManagerEditor LogPluginManager: Mounting Engine plugin CurveEditorTools LogPluginManager: Mounting Engine plugin DataValidation LogPluginManager: Mounting Engine plugin CryptoKeys LogPluginManager: Mounting Engine plugin EditorDebugTools LogPluginManager: Mounting Engine plugin FacialAnimation LogPluginManager: Mounting Engine plugin EditorScriptingUtilities LogPluginManager: Mounting Engine plugin GameplayCameras LogPluginManager: Mounting Engine plugin MaterialAnalyzer LogPluginManager: Mounting Engine plugin MacGraphicsSwitching LogPluginManager: Mounting Engine plugin GameplayTagsEditor LogPluginManager: Mounting Engine plugin ControlRigSpline LogPluginManager: Mounting Engine plugin ModelingToolsEditorMode LogPluginManager: Mounting Engine plugin MobileLauncherProfileWizard LogPluginManager: Mounting Engine plugin BlendSpaceMotionAnalysis LogPluginManager: Mounting Engine plugin SequencerAnimTools LogPluginManager: Mounting Engine plugin SpeedTreeImporter LogPluginManager: Mounting Engine plugin CLionSourceCodeAccess LogPluginManager: Mounting Engine plugin StylusInput LogPluginManager: Mounting Engine plugin CodeLiteSourceCodeAccess LogPluginManager: Mounting Engine plugin KDevelopSourceCodeAccess LogPluginManager: Mounting Engine plugin WorldPartitionHLODUtilities LogPluginManager: Mounting Engine plugin PixWinPlugin LogPluginManager: Mounting Engine plugin NullSourceCodeAccess LogPluginManager: Mounting Engine plugin GitSourceControl LogPluginManager: Mounting Engine plugin PlasticSourceControl LogPluginManager: Mounting Engine plugin PluginUtils LogPluginManager: Mounting Engine plugin PerforceSourceControl LogPluginManager: Mounting Engine plugin RiderSourceCodeAccess LogPluginManager: Mounting Engine plugin PropertyAccessNode LogPluginManager: Mounting Engine plugin SubversionSourceControl LogPluginManager: Mounting Engine plugin TextureFormatOodle LogPluginManager: Mounting Engine plugin AutomationUtils LogPluginManager: Mounting Engine plugin BackChannel LogPluginManager: Mounting Engine plugin ChaosClothEditor LogPluginManager: Mounting Engine plugin ChaosEditor LogPluginManager: Mounting Engine plugin GeometryMode LogPluginManager: Mounting Engine plugin ChaosNiagara LogPluginManager: Mounting Engine plugin CharacterAI LogPluginManager: Mounting Engine plugin ChaosCloth LogPluginManager: Mounting Engine plugin Niagara LogPluginManager: Mounting Engine plugin UObjectPlugin LogPluginManager: Mounting Engine plugin FullBodyIK LogPluginManager: Mounting Engine plugin VisualStudioCodeSourceCodeAccess LogPluginManager: Mounting Engine plugin VisualStudioSourceCodeAccess LogPluginManager: Mounting Engine plugin XCodeSourceCodeAccess LogPluginManager: Mounting Engine plugin ActorLayerUtilities LogPluginManager: Mounting Engine plugin DatasmithContent LogPluginManager: Mounting Engine plugin AnimationSharing LogPluginManager: Mounting Engine plugin AndroidFileServer LogPluginManager: Mounting Engine plugin AndroidMoviePlayer LogPluginManager: Mounting Engine plugin AndroidDeviceProfileSelector LogPluginManager: Mounting Engine plugin ChaosSolverPlugin LogPluginManager: Mounting Engine plugin LauncherChunkInstaller LogPluginManager: Mounting Engine plugin AndroidPermission LogPluginManager: Mounting Engine plugin AppleImageUtils LogPluginManager: Mounting Engine plugin PluginBrowser LogPluginManager: Mounting Engine plugin OnlineBase LogPluginManager: Mounting Engine plugin TraceDataFilters LogPluginManager: Mounting Engine plugin AppleMoviePlayer LogPluginManager: Mounting Engine plugin ArchVisCharacter LogPluginManager: Mounting Engine plugin AssetTags LogPluginManager: Mounting Engine plugin AudioCapture LogPluginManager: Mounting Engine plugin VariantManagerContent LogPluginManager: Mounting Engine plugin AudioSynesthesia LogPluginManager: Mounting Engine plugin CableComponent LogPluginManager: Mounting Engine plugin ChunkDownloader LogPluginManager: Mounting Engine plugin CustomMeshComponent LogPluginManager: Mounting Engine plugin GeometryCache LogPluginManager: Mounting Engine plugin ExampleDeviceProfileSelector LogPluginManager: Mounting Engine plugin GeometryProcessing LogPluginManager: Mounting Engine plugin OnlineSubsystem LogPluginManager: Mounting Engine plugin OnlineSubsystemNull LogPluginManager: Mounting Engine plugin OnlineSubsystemUtils LogPluginManager: Mounting Engine plugin GooglePAD LogPluginManager: Mounting Engine plugin GoogleCloudMessaging LogPluginManager: Mounting Engine plugin IOSDeviceProfileSelector LogPluginManager: Mounting Engine plugin HairStrands LogPluginManager: Mounting Engine plugin LinuxDeviceProfileSelector LogPluginManager: Mounting Engine plugin MeshModelingToolset LogPluginManager: Mounting Engine plugin LocationServicesBPLibrary LogPluginManager: Mounting Engine plugin UdpMessaging LogPluginManager: Mounting Engine plugin TcpMessaging LogPluginManager: Mounting Engine plugin MobilePatchingUtils LogPluginManager: Mounting Engine plugin PropertyAccessEditor LogPluginManager: Mounting Engine plugin ProceduralMeshComponent LogPluginManager: Mounting Engine plugin ResonanceAudio LogPluginManager: Mounting Engine plugin RuntimePhysXCooking LogPluginManager: Mounting Engine plugin SignificanceManager LogPluginManager: Mounting Engine plugin SoundFields LogPluginManager: Mounting Engine plugin Synthesis LogPluginManager: Mounting Engine plugin WebMMoviePlayer LogPluginManager: Mounting Engine plugin WindowsDeviceProfileSelector LogPluginManager: Mounting Engine plugin AlembicImporter LogPluginManager: Mounting Engine plugin GeometryCollectionPlugin LogPluginManager: Mounting Engine plugin AndroidMedia LogPluginManager: Mounting Engine plugin AvfMedia LogPluginManager: Mounting Engine plugin WindowsMoviePlayer LogPluginManager: Mounting Engine plugin MediaCompositing LogPluginManager: Mounting Engine plugin ImgMedia LogPluginManager: Mounting Engine plugin WebMMedia LogPluginManager: Mounting Engine plugin WmfMedia LogPluginManager: Mounting Engine plugin MediaPlayerEditor LogPluginManager: Mounting Engine plugin GeometryFlow LogPluginManager: Mounting Engine plugin ActorSequence LogPluginManager: Mounting Engine plugin MatineeToLevelSequence LogPluginManager: Mounting Engine plugin LevelSequenceEditor LogPluginManager: Mounting Engine plugin SequencerScripting LogPluginManager: Mounting Engine plugin MeshModelingToolsetExp LogPluginManager: Mounting Engine plugin TemplateSequence LogPluginManager: Mounting Engine plugin MeshLODToolset LogPluginManager: Mounting Engine plugin OpenImageDenoise LogPluginManager: Mounting Engine plugin PlatformCrypto LogPluginManager: Mounting Engine plugin PlanarCut LogPluginManager: Mounting Engine plugin PythonScriptPlugin LogPluginManager: Mounting Engine plugin ProxyLODPlugin LogPluginManager: Mounting Engine plugin SkeletalReduction LogPluginManager: Mounting Engine plugin ContentBrowserClassDataSource LogPluginManager: Mounting Engine plugin ContentBrowserAssetDataSource LogPluginManager: Mounting Engine plugin ContentBrowserFileDataSource LogPluginManager: Mounting Engine plugin OnlineSubsystemGooglePlay LogPluginManager: Mounting Engine plugin OnlineSubsystemIOS LogPluginManager: Mounting Engine plugin OnlineServices LogPluginManager: Mounting Engine plugin InterchangeEditor LogPluginManager: Mounting Engine plugin Interchange LogPluginManager: Mounting Project plugin PBCharacterMovement LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Bridge/Content/' mounted to '/Bridge/' LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Animation/IKRig/Content/' mounted to '/IKRig/' LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Animation/ControlRig/Content/' mounted to '/ControlRig/' LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/2D/Paper2D/Content/' mounted to '/Paper2D/' LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Animation/ControlRigSpline/Content/' mounted to '/ControlRigSpline/' 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/Experimental/ChaosClothEditor/Content/' mounted to '/ChaosClothEditor/' LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Editor/GeometryMode/Content/' mounted to '/GeometryMode/' LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Experimental/ChaosNiagara/Content/' mounted to '/ChaosNiagara/' LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/FX/Niagara/Content/' mounted to '/Niagara/' LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Experimental/FullBodyIK/Content/' mounted to '/FullBodyIK/' LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Enterprise/DatasmithContent/Content/' mounted to '/DatasmithContent/' LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Developer/AnimationSharing/Content/' mounted to '/AnimationSharing/' LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Experimental/ChaosSolverPlugin/Content/' mounted to '/ChaosSolverPlugin/' 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/HairStrands/Content/' mounted to '/HairStrands/' 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/Synthesis/Content/' mounted to '/Synthesis/' LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Experimental/GeometryCollectionPlugin/Content/' mounted to '/GeometryCollectionPlugin/' LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Media/MediaCompositing/Content/' mounted to '/MediaCompositing/' LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Experimental/GeometryFlow/Content/' mounted to '/GeometryFlow/' LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/MovieScene/SequencerScripting/Content/' mounted to '/SequencerScripting/' 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/' SourceControl: Source control is disabled SourceControl: Source control is disabled LogInit: Warning: Incompatible or missing module: PBCharacterMovement Running C:/Program Files/Epic Games/UE_5.0/Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.exe Development Win64 -Project="C:/Users/Willy/Documents/Unreal Projects/FPS_BHOP/FPS_BHOP.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE It was not possible to find any compatible framework version The framework 'Microsoft.NETCore.App', version '3.1.0' was not found.

You can resolve the problem by installing the specified framework and/or SDK.

The specified framework can be found at:

b3326023 commented 2 years ago

Oh wow! I found the key error message:

The following frameworks were found: 5.0.14 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] You can resolve the problem by installing the specified framework and/or SDK. The specified framework can be found at: https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=3.1.0&arch=x64&rid=win10-x64

I just donwload and install that specific version of .NET, UE can compile successfully!

Thanks for noting me to see the log file!