carla-simulator / carla

Open-source simulator for autonomous driving research.
http://carla.org
MIT License
11.11k stars 3.58k forks source link

SM on UE5.3 #7926

Open rldiaz14 opened 2 months ago

rldiaz14 commented 2 months ago

CARLA version: UE5.3 Dev Platform/OS: Window Problem you have experienced: missing mesh What you expected to happen: load the map with the mesh. I follow this step, git clone -b ue5-dev https://github.com/carla-simulator/carla.git CarlaUE5 Run the setup script:

cd CarlaUE5 Setup.bat Configure. Open x64 Native Tools Command Prompt for VS 2022 at the CarlaUE5 folder and runn the following command: cmake -G Ninja -S . -B Build -DCMAKE_BUILD_TYPE=Release -DBUILD_CARLA_UNREAL=ON -DCARLA_UNREAL_ENGINE_PATH=%CARLA_UNREAL_ENGINE_PATH% Build CARLA. Open the x64 Native Tools Command Prompt for VS 2022 at the CarlaUE5 folder and run the following command: cmake --build Build Build and install the Python API. Open the x64 Native Tools Command Prompt for VS 2022 at the CarlaUE5 folder and run the following command:: cmake --build Build --target carla-python-api-install Launch the editor. Open the x64 Native Tools Command Prompt for VS 2022 at the CarlaUE5 folder and run the following command: cmake --build Build --target launch but after here I deleted the version that file have download the Screenshot 2024-07-08 13-26-03 Then restart the setup.bat again and after the project is build, I have this issue appear if there a other step to find the meshes or need to rebuild the project again, or cmd command that need to be use. Screenshot 2024-07-08 13-12-28 Screenshot 2024-07-08 13-12-42 Any support that you can provide, it would appreciate.

Jinviz commented 1 month ago

First, run Setup.bat and you don't need to run the cmake command line separately because the batch file contains all the cmake commands.

The problem with CARLA Mesh missing is that the content file is most likely not decompressed. Downloading the content file is also included in Setup.bat, which starts downloading and decompressing asynchronously when you run Setup.bat. Please check it out in these file.

make sure that there are uncompressed files on the path "C:\Users\USER\CarlaUE5\Unreal\CarlaUnreal\Content" and if no problem is found, you will need to download the content file yourself. Find the content file that supports CARLA 0.10.0 and download it yourself. I hope you get good results.