CodexLabsLLC / Colosseum

Open source simulator for autonomous robotics built on Unreal Engine with support for Unity
https://codexlabsllc.github.io/Colosseum/
Other
329 stars 105 forks source link

Build errors for Blocks environment on Ubuntu 20.04 #12

Open cryptik opened 1 year ago

cryptik commented 1 year ago

Bug report

What's the issue you encountered?

I cannot load the Blocks environment into the UE4 Editor. After following the UE4 install steps, I can successfully create a game project using the blueprint feature which I did to validate that UE4 is working

Next, after install of Colosseum from the main branch, I can run ./setup.sh and ./build.sh with no issues. At the end of the script, it reports that the plugin has been built and all environments in Unreal/Environments have been updated. I then launch UE4 and attempt to open the Blocks project.

After selecting the Blocks project, UE4 asks if I want to convert the project and I choose "more options" and "Convert in-place".

The system starts the generate/load process and then dumps messages like the following to the console...

[2022.11.03-23.32.28:569][580]Creating makefile for BlocksEditor (no existing makefile)
[2022.11.03-23.32.28:969][580]WARNING: Library 'stdc++' 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.
[2022.11.03-23.32.28:969][580]WARNING: Library 'supc++' 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.

The build then eventually fails resulting in the following....

------- Build details --------
Using toolchain located at '/data/tools/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v19_clang-11.0.1-centos7/x86_64-unknown-linux-gnu'.
Using clang (/data/tools/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v19_clang-11.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++) version '11.0.1' (string), 11 (major), 0 (minor), 1 (patch)
Using bundled libc++ standard C++ library.
Using lld linker
Using llvm-ar : /data/tools/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v19_clang-11.0.1-centos7/x86_64-unknown-linux-gnu/bin/llvm-ar
Using fast way to relink  circularly dependent libraries (no FixDeps).
------------------------------
ERROR: Building would modify the following engine files:

       /data/tools/UnrealEngine/Engine/Binaries/Linux/Android/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Binaries/Linux/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/2D/Paper2D/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/AI/AISupport/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/AI/EnvironmentQueryEditor/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Animation/LiveLink/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Blendables/LightPropagationVolume/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Cameras/CameraShakePreviewer/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Cameras/GameplayCameras/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Compression/OodleData/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Compression/OodleNetwork/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Developer/AnimationSharing/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Developer/CLionSourceCodeAccess/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Developer/CodeLiteSourceCodeAccess/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Developer/GitSourceControl/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Developer/KDevelopSourceCodeAccess/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Developer/NullSourceCodeAccess/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Developer/PerforceSourceControl/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Developer/PlasticSourceControl/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Developer/PluginUtils/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Developer/PropertyAccessNode/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Developer/RiderSourceCodeAccess/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Developer/SubversionSourceControl/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Developer/TextureFormatOodle/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Developer/UObjectPlugin/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Developer/VisualStudioCodeSourceCodeAccess/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Editor/AssetManagerEditor/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Editor/ContentBrowser/ContentBrowserAssetDataSource/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Editor/ContentBrowser/ContentBrowserClassDataSource/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Editor/ContentBrowser/ContentBrowserFileDataSource/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Editor/CryptoKeys/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Editor/CurveEditorTools/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Editor/DataValidation/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Editor/FacialAnimation/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Editor/GameplayTagsEditor/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Editor/GeometryMode/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Editor/MaterialAnalyzer/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Editor/MobileLauncherProfileWizard/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Editor/PluginBrowser/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Editor/SpeedTreeImporter/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Enterprise/DatasmithContent/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Enterprise/VariantManagerContent/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Experimental/AlembicImporter/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Experimental/AutomationUtils/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Experimental/BackChannel/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Experimental/ChaosCloth/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Experimental/ChaosClothEditor/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Experimental/ChaosEditor/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Experimental/ChaosNiagara/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Experimental/ChaosSolverPlugin/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Experimental/CharacterAI/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Experimental/GeometryCache/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Experimental/GeometryCollectionPlugin/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Experimental/GeometryProcessing/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Experimental/MotoSynth/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Experimental/PlanarCutPlugin/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Experimental/PlatformCrypto/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Experimental/PythonScriptPlugin/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Experimental/SkeletalReduction/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/FX/Niagara/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Lumin/MagicLeapMedia/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Lumin/MagicLeapPassableWorld/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Media/AndroidMedia/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Media/AvfMedia/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Media/ImgMedia/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Media/MediaCompositing/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Media/MediaPlayerEditor/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Media/WebMMedia/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Media/WmfMedia/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/MeshPainting/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Messaging/TcpMessaging/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Messaging/UdpMessaging/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/MovieScene/ActorSequence/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/MovieScene/LevelSequenceEditor/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/MovieScene/MatineeToLevelSequence/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/MovieScene/TemplateSequence/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Online/OnlineSubsystem/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Online/OnlineSubsystemNull/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Online/OnlineSubsystemUtils/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Portal/LauncherChunkInstaller/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Runtime/ActorLayerUtilities/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Runtime/AndroidDeviceProfileSelector/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Runtime/AndroidPermission/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Runtime/AppleImageUtils/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Runtime/ArchVisCharacter/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Runtime/AssetTags/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Runtime/AudioCapture/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Runtime/AudioSynesthesia/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Runtime/CableComponent/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Runtime/ChunkDownloader/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Runtime/CustomMeshComponent/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Runtime/EditableMesh/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Runtime/ExampleDeviceProfileSelector/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Runtime/GooglePAD/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Runtime/LinuxDeviceProfileSelector/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Runtime/LocationServicesBPLibrary/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Runtime/MobilePatchingUtils/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Runtime/OpenXR/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Runtime/OpenXREyeTracker/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Runtime/OpenXRHandTracking/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Runtime/PhysXVehicles/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Runtime/ProceduralMeshComponent/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Runtime/PropertyAccess/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Runtime/RuntimePhysXCooking/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Runtime/SignificanceManager/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Runtime/SoundFields/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Runtime/Synthesis/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Runtime/WebMMoviePlayer/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/Tests/ScreenshotTools/Binaries/Linux/UE4Editor.modules
       /data/tools/UnrealEngine/Engine/Plugins/VirtualProduction/Takes/Binaries/Linux/UE4Editor.modules

       Please rebuild from an IDE instead.

I have tried some of the steps I found in other issue reports in the AirSim repo to include running ./clean.sh in the Blocks project folder then copying the Colosseum/Unreal/Plugins/AirSim folder to Colosseum/Unreal/Environments/Blocks folder and then running the following command:

/data/tools/UnrealEngine/GenerateProjectFiles.sh /data/tools/AirSim/Unreal/Environments/Blocks2/Blocks.uproject -game

This generates the following output... with similar warnings....

Attempting to set up UE4 pretty printers for gdb (existing UE4Printers.py, if any, will be overwritten)...
    updated UE4Printers.py
    found necessary entries in ~/.gdbinit file, not changing it.

Setting up Unreal Engine 4 project files...

Fixing inconsistent case in filenames.
Setting up Mono
Discovering modules, targets and source code for project...
Generating data for project indexing...   
WARNING: Library 'stdc++' 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 'supc++' 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.
Generating data for project indexing... 100%
Discovering modules, targets and source code for project...
Generating data for project indexing...   
WARNING: Library 'stdc++' 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 'supc++' 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.
Generating data for project indexing... 100%
Writing project files... 100%
Discovering modules, targets and source code for project...
Generating data for project indexing...   
WARNING: Library 'stdc++' 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 'supc++' 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.
Generating data for project indexing... 100%
Discovering modules, targets and source code for project...
Generating data for project indexing...   
WARNING: Library 'stdc++' 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 'supc++' 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.
Generating data for project indexing... 100%
Discovering modules, targets and source code for project...
Generating data for project indexing...   
WARNING: Library 'stdc++' 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 'supc++' 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.
Generating data for project indexing... 100%
Discovering modules, targets and source code for project...
Generating data for project indexing...   
WARNING: Library 'stdc++' 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 'supc++' 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.
Generating data for project indexing... 100%
Writing project files... 100%

I can then run make BlocksEditor which also generates similar warnings to stdc++ and supc++ as indicated above... but the process does complete and I can open Blocks as an editor project. I am new to UE and AirSim, so I am wondering why I get the above errors and why I can't compile Blocks into a regular releasable rather than just an editor project.

Settings

How can the issue be reproduced?

1. 2.

Include full error message in text form

What's better than filing an issue? Filing a pull request :).

xxEoD2242 commented 1 year ago

Hey @cryptik,

I have been looking into this and I believe that Blocks environments have reach end of life in UE 4.27.2 for Linux. I have tried using several project build tools and it will not work for any of the configurations that I try. It only appears to work on Windows.

To this end, we are going to build a new Blocks environment and possibly have one for UE5 as well as a test experiment. I will update this thread when we upload those changes. We will also be building a few new environments more apt for doing autonomous driving and UAVs.

dirkmcpherson commented 1 year ago

Hi, i have the same problem on UE4.27.2, any updates or workarounds?

xxEoD2242 commented 1 year ago

You need to use the actual Unreal Editor on Linux to do this.

Once you download UnrealEngine, run ./GenerateProjectFiles.sh in the root of the Unreal Engine folder, then go to UnrealEngine/Engine/Binaries/Linux.

From here, you will run the actual project:

./UnrealEditor PATH_TO_PROJECT_FOLDER/PROJECT_NAME.uproject

dirkmcpherson commented 1 year ago

Hi, I've run ./GenerateProjectFiles.sh after ./make in the root of the UnrealEngine source folder (branch 4.27). I don't have an executable named UnrealEditor so I ran ./UE4Editor {path_to_Colosseum}/Colosseum/Unreal/Environments/Blocks/Blocks.uproject from UnrealEngine/Engine/Binaries/Linux.

I get the following pop up, but the plugins fail to build (same error as original poster)

missing_block_modules

Colosseum built w/o errors. Should I just switch to UE5.1? It seems like you're pretty close to releasing a compatible Colosseum version.

xxEoD2242 commented 1 year ago

IMO, yes. We know that UE5.1 works and I'm not sure with UE4.27.

I'm working on the integration for that now and should have it done this weekend

xxEoD2242 commented 1 year ago

You may also need to run ./Setup.sh as well in the UnrealEngine root folder

dirkmcpherson commented 1 year ago

Thanks, switched over to Colosseum branch ue5-upgrade-docs and downloaded a UE5.1 binary, it says the AirSim plugin is missing a dependency on 'PhysXVehicles' which the internet doesn't think is supported in 5.1 anyway. Should I make an issue?

xxEoD2242 commented 1 year ago

Try this branch. UE5.1 Fixes

That docs branch is for fixing our docs and pointing people to UE5 from now on.

dirkmcpherson commented 1 year ago

No luck so far. I setup/build airsim on the ue5.1_fixes branch successfully, but UE5.1 still recognizes blocks and airsim as being built with a different engine version and and can't be rebuilt.

I tried this with both UE5.1 binary for linux, and UE built from source branch 5.1, though I am on 20.04 which is not explicitly supported. I'll keep trying and will try your supported 5.1 branch when you release.

The error given by the UE5.1 binary is:

{path_to_airsim}/AirSim/Unreal/Environments/Blocks/Plugins/AirSim/Source/AssetCode/OpticalFlowRGBMaterialHlSLCode.cpp:11:10: fatal error: '/Engine/Private/SceneTexturesCommon.ush' file not found
#include "/Engine/Private/SceneTexturesCommon.ush"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~