package-carla-ue58
What it does
This skill cooks and packages a CARLA server built on Unreal Engine 5.8 into a file you can ship or run elsewhere. It is for people who need a finished server package rather than a development build.
When to use it
- βWhen you need a shippable CARLA server package for Unreal Engine 5.8.
- βWhen you want to limit which maps are included in the package to save space or time.
- βWhen a package build reports success but you need to confirm it works at runtime.
Skill link
https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/ue58/package-carla-ue58/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βCan you package my CARLA server for Unreal 5.8 with only a few chosen maps included, and check that the package actually runs?β
5 new skills a week. 1 minute to read.
How it works
The agent sets which maps to include, runs the packaging build, and then inspects the result for common hidden failures. A successful build alone does not prove the package works, so the check matters.
Technical content (original SKILL.md)
Original text by the author, straight from 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
FAQ
Do I need to re-set up the build to change maps?
Yes. The list of maps is set during setup, so changing it means setting the build up again.
Why not trust a build that succeeds?
Some problems, such as mismatched files or missing road data, only show up when the server runs.
How long does packaging take?
The skill notes that packaging can take an hour or two.
Details
Original description by the author
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
Popularity
- GitHub stars
- 15k
- Ranking position
- #11134
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
create-leaderboard-route
15kHelps your agent build CARLA Leaderboard route files by placing waypoints and scenario triggers from the simulator camera, then checking and ordering them.
package-leaderboard-agent
15kHelps your agent package a driving agent into a Docker image for CARLA Leaderboard submission, checking the folder layout and testing that the image loads it.
read-leaderboard-results
15kHelps your agent read a CARLA Leaderboard results file, explain each route's score and infractions, and rescore a run under the other rule version.
run-leaderboard-evaluation
15kHelps your agent run the CARLA Leaderboard evaluator on a set of routes with your driving agent, checking the setup first and saving checkpoints you can resume.
Similar skills
openclaw-update
394kHelps your agent update an existing OpenClaw Gateway, choosing the update method that fits how it was installed and keeping your session working.
diagnose-gateway
394kHelps your agent find out why your OpenClaw Gateway is failing by checking settings, channels, and ports without changing anything.
crabbox-apps
394kHelps your agent open and run an app on a temporary cloud machine, then show its view in your chat side panel.