FS-Driverless / Formula-Student-Driverless-Simulator

A virtual world where Autonomous Systems from different Formula Student teams can compete in time-trial challenges
https://fs-driverless.github.io/Formula-Student-Driverless-Simulator
GNU General Public License v2.0
196 stars 83 forks source link

UE4 crashes after building AirSim and Blocks #286

Closed MattBrth closed 2 years ago

MattBrth commented 2 years ago

Hello,

I managed to clone build AirSim and finally start FSOnline.uproject but after rebuilding AirSim and Blocks, it craches at 71% of the loading screen.

If anyone knows how to fix this that would be great.

I got this log :


Not using cached read wrapper Started task graph with 5 named threads and 59 total threads with 3 sets of task threads. Stats thread started at 0.163176 Loaded GFSDK_Aftermath_Lib.x64.dll ICU TimeZone Detection - Raw Offset: +1:00, Platform Override: '' Mounting plugin Paper2D Mounting plugin AISupport Mounting plugin LightPropagationVolume Mounting plugin CameraShakePreviewer Mounting plugin ActorLayerUtilities Mounting plugin AnimationSharing Mounting plugin CLionSourceCodeAccess Mounting plugin CodeLiteSourceCodeAccess Mounting plugin GitSourceControl Mounting plugin KDevelopSourceCodeAccess Mounting plugin NullSourceCodeAccess Mounting plugin PerforceSourceControl Mounting plugin PlasticSourceControl Mounting plugin RiderSourceCodeAccess Mounting plugin SubversionSourceControl Mounting plugin UObjectPlugin Mounting plugin VisualStudioCodeSourceCodeAccess Mounting plugin VisualStudioSourceCodeAccess Mounting plugin XCodeSourceCodeAccess Mounting plugin AssetManagerEditor Mounting plugin CryptoKeys Mounting plugin CurveEditorTools Mounting plugin DataValidation Mounting plugin EditorScriptingUtilities Mounting plugin FacialAnimation Mounting plugin GameplayTagsEditor Mounting plugin GeometryMode Mounting plugin MacGraphicsSwitching Mounting plugin MaterialAnalyzer Mounting plugin MobileLauncherProfileWizard Mounting plugin PluginBrowser Mounting plugin SpeedTreeImporter Mounting plugin DatasmithContent Mounting plugin VariantManagerContent Mounting plugin AlembicImporter Mounting plugin AutomationUtils Mounting plugin BackChannel Mounting plugin ChaosCloth Mounting plugin ChaosClothEditor Mounting plugin ChaosEditor Mounting plugin ChaosNiagara Mounting plugin ChaosSolverPlugin Mounting plugin CharacterAI Mounting plugin GeometryCache Mounting plugin GeometryCollectionPlugin Mounting plugin GeometryProcessing Mounting plugin PlanarCut Mounting plugin PlatformCrypto Mounting plugin ProxyLODPlugin Mounting plugin SkeletalReduction Mounting plugin Niagara Mounting plugin MagicLeap Mounting plugin MagicLeapLightEstimation Mounting plugin MagicLeapMedia Mounting plugin MagicLeapPassableWorld Mounting plugin MLSDK Mounting plugin AndroidMedia Mounting plugin AvfMedia Mounting plugin ImgMedia Mounting plugin MediaCompositing Mounting plugin MediaPlayerEditor Mounting plugin WebMMedia Mounting plugin WmfMedia Mounting plugin MeshPainting Mounting plugin TcpMessaging Mounting plugin UdpMessaging Mounting plugin ActorSequence Mounting plugin LevelSequenceEditor Mounting plugin MatineeToLevelSequence Mounting plugin MovieRenderPipeline Mounting plugin TemplateSequence Mounting plugin NetcodeUnitTest Mounting plugin NUTUnrealEngine4 Mounting plugin OnlineSubsystemGooglePlay Mounting plugin OnlineSubsystemIOS Mounting plugin OnlineSubsystem Mounting plugin OnlineSubsystemNull Mounting plugin OnlineSubsystemUtils Mounting plugin LauncherChunkInstaller Mounting plugin AndroidDeviceProfileSelector Mounting plugin AndroidMoviePlayer Mounting plugin AndroidPermission Mounting plugin AppleImageUtils Mounting plugin AppleMoviePlayer Mounting plugin ArchVisCharacter Mounting plugin AssetTags Mounting plugin AudioCapture Mounting plugin CableComponent Mounting plugin CustomMeshComponent Mounting plugin EditableMesh Mounting plugin ExampleDeviceProfileSelector Mounting plugin GoogleCloudMessaging Mounting plugin GooglePAD Mounting plugin IOSDeviceProfileSelector Mounting plugin LinuxDeviceProfileSelector Mounting plugin LocationServicesBPLibrary Mounting plugin MobilePatchingUtils Mounting plugin PhysXVehicles Mounting plugin PostSplashScreen Mounting plugin ProceduralMeshComponent Mounting plugin RuntimePhysXCooking Mounting plugin SignificanceManager Mounting plugin SoundFields Mounting plugin Synthesis Mounting plugin WebMMoviePlayer Mounting plugin WindowsMoviePlayer Mounting plugin ScreenshotTools Mounting plugin AirSim Launching UnrealBuildTool... [E:/Games/UE_4.25/Engine/Binaries/DotNET/UnrealBuildTool.exe -Mode=QueryTargets -Project="C:/Users/berth/Formula-Student-Driverless-Simulator/UE4Project/FSOnline.uproject" -Output="C:/Users/berth/Formula-Student-Driverless-Simulator/UE4Project/Intermediate/TargetInfo.json"] Incompatible or missing module: Blocks Incompatible or missing module: AirSim Running E:/Games/UE_4.25/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Win64 -Project="C:/Users/berth/Formula-Student-Driverless-Simulator/UE4Project/FSOnline.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE Creating makefile for BlocksEditor (no existing makefile) WARNING: Library 'Shell32.lib' was not resolvable to a file when used in Module 'AirSim', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. WARNING: Library 'dinput8.lib' was not resolvable to a file when used in Module 'AirSim', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. WARNING: Library 'dxguid.lib' was not resolvable to a file when used in Module 'AirSim', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning. @progress push 5% Parsing headers for BlocksEditor Running UnrealHeaderTool "C:\Users\berth\Formula-Student-Driverless-Simulator\UE4Project\FSOnline.uproject" "C:\Users\berth\Formula-Student-Driverless-Simulator\UE4Project\Intermediate\Build\Win64\BlocksEditor\Development\BlocksEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -abslog="C:\Users\berth\AppData\Local\UnrealBuildTool\Log_UHT.txt" -installed Reflection code generated for BlocksEditor in 3,6475016 seconds @progress pop Building BlocksEditor... Using Visual Studio 2019 14.29.30140 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133) and Windows 10.0.19041.0 SDK (C:\Program Files (x86)\Windows Kits\10). Building 11 actions with 20 processes... @progress 'Compiling C++ source code...' 0% @progress 'Compiling C++ source code...' 9% [1/11] Default.rc2 @progress 'Compiling C++ source code...' 18% [2/11] Default.rc2 @progress 'Compiling C++ source code...' 27% [3/11] SharedPCH.Engine.ShadowErrors.cpp @progress 'Compiling C++ source code...' 36% [4/11] Blocks.cpp @progress 'Compiling C++ source code...' 45% [5/11] UE4Editor-Blocks.lib Cr?ation de la biblioth?que C:\Users\berth\Formula-Student-Driverless-Simulator\UE4Project\Intermediate\Build\Win64\UE4Editor\Development\Blocks\UE4Editor-Blocks.lib et de l'objet C:\Users\berth\Formula-Student-Driverless-Simulator\UE4Project\Intermediate\Build\Win64\UE4Editor\Development\Blocks\UE4Editor-Blocks.exp @progress 'Compiling C++ source code...' 55% [6/11] Module.AirSim.gen.cpp @progress 'Compiling C++ source code...' 64% [7/11] Module.AirSim.cpp C:/Users/berth/Formula-Student-Driverless-Simulator/UE4Project/Plugins/AirSim/Source/SimMode/SimModeBase.cpp(151): warning C4996: UObjectProperty has been renamed to FObjectProperty Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. C:/Users/berth/Formula-Student-Driverless-Simulator/UE4Project/Plugins/AirSim/Source/SimMode/SimModeBase.cpp(151): warning C4996: UObjectProperty has been renamed to FObjectProperty Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. @progress 'Compiling C++ source code...' 73% [8/11] UE4Editor-AirSim.lib Cr?ation de la biblioth?que C:\Users\berth\Formula-Student-Driverless-Simulator\UE4Project\Plugins\AirSim\Intermediate\Build\Win64\UE4Editor\Development\AirSim\UE4Editor-AirSim.lib et de l'objet C:\Users\berth\Formula-Student-Driverless-Simulator\UE4Project\Plugins\AirSim\Intermediate\Build\Win64\UE4Editor\Development\AirSim\UE4Editor-AirSim.exp @progress 'Compiling C++ source code...' 82% [9/11] UE4Editor-Blocks.dll Cr?ation de la biblioth?que C:\Users\berth\Formula-Student-Driverless-Simulator\UE4Project\Intermediate\Build\Win64\UE4Editor\Development\Blocks\UE4Editor-Blocks.suppressed.lib et de l'objet C:\Users\berth\Formula-Student-Driverless-Simulator\UE4Project\Intermediate\Build\Win64\UE4Editor\Development\Blocks\UE4Editor-Blocks.suppressed.exp @progress 'Compiling C++ source code...' 91% [10/11] UE4Editor-AirSim.dll Cr?ation de la biblioth?que C:\Users\berth\Formula-Student-Driverless-Simulator\UE4Project\Plugins\AirSim\Intermediate\Build\Win64\UE4Editor\Development\AirSim\UE4Editor-AirSim.suppressed.lib et de l'objet C:\Users\berth\Formula-Student-Driverless-Simulator\UE4Project\Plugins\AirSim\Intermediate\Build\Win64\UE4Editor\Development\AirSim\UE4Editor-AirSim.suppressed.exp @progress 'Compiling C++ source code...' 100% [11/11] BlocksEditor.target Total time in Parallel executor: 37,88 seconds Total execution time: 42,99 seconds Using libcurl 7.55.1-DEV

The file 'C:/Users/berth/Formula-Student-Driverless-Simulator/UE4Project/Plugins/AirSim/Content/Blueprints/BP_PIPCamera.uasset' contains unrecognizable data, check that it is of the expected type. The file 'C:/Users/berth/Formula-Student-Driverless-Simulator/UE4Project/Plugins/AirSim/Content/Blueprints/BP_PIPCamera.uasset' contains unrecognizable data, check that it is of the expected type. Failed to find object 'Class /AirSim/Blueprints/BP_PIPCamera.BP_PIPCamera_C' CDO Constructor (CarPawn): Failed to find /AirSim/Blueprints/BP_PIPCamera.BP_PIPCamera_C

The file 'C:/Users/berth/Formula-Student-Driverless-Simulator/UE4Project/Plugins/AirSim/Content/VehicleAdv/WheelData/Slippery.uasset' contains unrecognizable data, check that it is of the expected type. The file 'C:/Users/berth/Formula-Student-Driverless-Simulator/UE4Project/Plugins/AirSim/Content/VehicleAdv/WheelData/Slippery.uasset' contains unrecognizable data, check that it is of the expected type. Failed to find object 'Object /AirSim/VehicleAdv/WheelData/Slippery.Slippery'

wouter-heerwegh commented 2 years ago

Hi @MattBrth,

First of all, are you just trying to run the simulator? If so, it's easier to use the compiled binaries. They can be found here. When running these, nake sure that the settings.json can still be found in C:\Users\berth\Formula-Student-Driverless-Simulator

Otherwise, could you check if the file Slippery.uasset (see your log) contains any data or just a git-lfs hash?

If it contains a git-lfs hash, install git-lfs and git lfs pull the large files in the repository

MattBrth commented 2 years ago

Thank you for your answer @wouter-heerwegh. No I don't just need the compiled version. The Slippery.uasset effectively contains a git lfs tag but I dont know how to execute the git lfs pull command as I downloaded the zip file of the 2.1.0 version and did not clone the unrealeased repository.

wouter-heerwegh commented 2 years ago

Hi @MattBrth,

I see, unfortunately we can't commit the files regularly into the repo, because github will not commit files larger than 50MB. As a solution, these are stored on git lfs.

You could do 2 things, remove your folder and clone the repo. You can then checkout on the v2.1.0 tag and git lfs pull.

Or you could clone the repo in a different folder run git lfs pull and replace the content folder of UE4Project. But I'm not sure if that folder is the obly one containing these large files.

wouter-heerwegh commented 2 years ago

@MattBrth were you able to build everything with the LFS files pulled?

MattBrth commented 2 years ago

I was not able to pull a released version but by cloning the master branch I managed to make it work after some time ! Thank you for your help.