package-carla-ue58
Fungsinya
Skill ini melakukan cook dan mengemas server CARLA yang dibangun di Unreal Engine 5.8 menjadi file yang bisa Anda kirim atau jalankan di tempat lain. Untuk orang yang membutuhkan paket server yang sudah jadi, bukan build pengembangan.
Kapan dipakai
- βSaat Anda membutuhkan paket server CARLA yang siap dikirim untuk Unreal Engine 5.8.
- βSaat Anda ingin membatasi peta mana saja yang disertakan dalam paket untuk menghemat ruang atau waktu.
- βSaat build paket melaporkan sukses tetapi Anda perlu memastikan paket itu berfungsi saat dijalankan.
Link skill
https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/ue58/package-carla-ue58/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βBisakah Anda mengemas server CARLA saya untuk Unreal 5.8 hanya dengan beberapa peta pilihan, dan memastikan paketnya benar-benar berjalan?β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent menetapkan peta mana yang disertakan, menjalankan build pengemasan, lalu memeriksa hasilnya dari masalah tersembunyi yang umum. Build yang berhasil saja tidak membuktikan bahwa paket berfungsi, sehingga pemeriksaan itu penting.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Package CARLA on UE 5.8
Paths.
scripts/β¦andreferences/β¦below are relative to the directory holding this SKILL.md. Your working directory is the user's project, not that directory, so prefix them with its absolute path or the command is not found.
cmake --build Build/Release --target package # = package-shipping
That is the whole command. Everything hard about packaging here is in the two things around it:
- The cook scope is a configure-time option, not a build argument.
-DCARLA_MAPS_TO_COOK=is baked into the CMake cache, so changing which maps ship means re-configuring β and re-specifying every other option at the same time. BUILD SUCCESSFULdoes not mean the package is usable. Four separate defects produce a package that builds clean and then fails at runtime. All four are detectable after the fact, which is what this skill'sinspectmode is for.
Instructions
Progress:
- [ ] Step 1: Check prerequisites (bash scripts/check_env.sh)
- [ ] Step 2: Decide the cook scope and re-configure for it
- [ ] Step 3: Package (1-2 h)
- [ ] Step 3b (optional): AdditionalMaps pack for the towns not cooked
- [ ] Step 4: Inspect the artifact β do NOT trust the exit code
- [ ] Step 5: Run it (run-carla-ue58-server)
Step 2: Cook scope
source scripts/env.sh
bash scripts/package.sh scope # what is configured right now
ROS2=1 MAPS="Town10HD_Opt,Town12,Town13,Town_C" \
bash ../build-carla-ue58/scripts/build.sh configure
Package paths, +-separated. Small maps are /Game/Carla/Maps/<Town>; large
World Partition maps are /Game/Carla/Maps/<Town>/<Town>.
Exclude Town15. Its one-file-per-actor packages each carry a serialized
reference to a MaterialInstanceDynamic that lives in the map package β MIDs are
transient and never saved, so the import can never resolve. 573 unique
LoadErrors, and the cook fails on the error count:
Failure - 573 error(s) β AutomationTool exiting with ExitCode=25. It has never
cooked on Linux or Windows. This is a content defect, not a configuration mistake.
Leaving CARLA_MAPS_TO_COOK empty does not cook everything β bCookAll=False,
so UAT falls back to DefaultGame.ini's five MapsToCook entries:
Town10HD_Opt, OpenDriveMap, TestMaps/EmptyMap, Mine_01, Town15/Town15.
Town15 is in that list, so the out-of-the-box package build fails. An explicit
scope is effectively mandatory. check_env.sh warns on both cases.
Keep OpenDriveMap in the scope unless you know you do not need it: it is the
host level for client.generate_opendrive_world(). Measured β with it excluded,
that call fails with a bare std::exception while the same call against -game
mode succeeds in 7.3 s.
Step 3: Package
bash scripts/package.sh build # shipping (default)
CONFIG=development bash scripts/package.sh build # package-development
or directly:
cmake --build Build/Release --target package # shipping
cmake --build Build/Release --target package-development
cmake --build Build/Release --target package-debug
cmake --build Build/Release --target package-test
cmake --build Build/Release --target package-debuggame
Under the hood this is UAT BuildCookRun with -pak -iostore, so the output is
an IoStore container (.ucas + .utoc) plus a .pak, not a loose file tree.
Expect 1β2 h and ~12 GB.
Delete Build/<preset>/Package/ first if you care what ends up inside. The
archive step copies over a previous archive without deleting
(Unreal/Package/RemoveUnrealPackageExtraFiles.cmake says so), so a package can
carry files from builds long past. Measured: a pre-existing package contained
Carla/Maps/Town12/OpenDrive/Town12.xodr that a clean build does not produce.
Stop any running packaged server first. It holds the pak files open; UAT then
fails to replace the .ucas, retries, and can still exit BUILD SUCCESSFUL with
a fresh .pak/.utoc beside a stale .ucas β internally inconsistent,
because the .utoc indexes the .ucas by byte offset. POSIX unlink semantics
make this less likely on Linux than on Windows, but the check costs nothing.
Step 3b: AdditionalMaps pack (optional)
The towns outside the cook scope ship as one content pack, AdditionalMaps,
cooked as DLC against this package's base release β so build it right after
Step 3, from the same tree, and ship it wit
Pertanyaan umum
Apakah perlu mengatur ulang build untuk mengubah peta?
Ya. Daftar peta ditetapkan saat pengaturan, sehingga mengubahnya berarti mengatur build kembali.
Mengapa tidak mempercayai build yang berhasil?
Beberapa masalah, seperti file yang tidak cocok atau data jalan yang hilang, baru terlihat saat server dijalankan.
Berapa lama pengemasan memakan waktu?
Skill mencatat bahwa pengemasan bisa memakan waktu satu sampai dua jam.
Detail
Deskripsi asli dari pembuat
Cooks and packages a shippable CARLA server from a UE 5.8 ue58-dev checkout via the CMake `package` targets (shipping/development/debug/test), scoping the cook with CARLA_MAPS_TO_COOK, and inspects an existing package for the failures a green build hides β stale pak/ucas mismatch, missing staged OpenDrive/TM road data, missing post-process profiles, and Town15's uncookable content. Use when the user asks to "package CARLA UE5", "cook a map", "build a shipping server", "make a distributable CARLA", or a package builds but renders black / has no maps.
repo: carla-simulator/carla
Popularitas
- Bintang GitHub
- 15k
- Peringkat
- #11134
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- β¦
Skill lain dari repositori ini
create-leaderboard-route
15kMembantu agent Anda membuat file rute CARLA Leaderboard dengan menempatkan waypoint dan pemicu skenario dari kamera simulator, lalu memeriksa dan mengurutkannya.
package-leaderboard-agent
15kMembantu agent Anda memaketkan agent mengemudi ke dalam image Docker untuk pengiriman CARLA Leaderboard, dengan memeriksa tata letak folder dan menguji bahwa image memuatnya.
read-leaderboard-results
15kMembantu agent Anda membaca file hasil CARLA Leaderboard, menjelaskan skor dan pelanggaran setiap rute, dan menilai ulang sebuah run dengan versi aturan lain.
run-leaderboard-evaluation
15kMembantu agent Anda menjalankan evaluator CARLA Leaderboard pada sekumpulan rute dengan agent mengemudi Anda, memeriksa pengaturan terlebih dahulu dan menyimpan checkpoint yang bisa dilanjutkan.
Skill serupa
openclaw-update
394kMembantu agent Anda memperbarui OpenClaw Gateway yang sudah ada, dengan memilih metode pembaruan yang sesuai cara pemasangannya dan menjaga sesi Anda tetap berjalan.
diagnose-gateway
394kMembantu agent Anda mencari tahu mengapa OpenClaw Gateway gagal dengan memeriksa pengaturan, channel, dan port tanpa mengubah apa pun.
crabbox-apps
394kMembantu agent Anda membuka dan menjalankan aplikasi di mesin cloud sementara, lalu menampilkan tampilannya di panel samping chat Anda.