package-carla-ue58
하는 일
이 스킬은 Unreal Engine 5.8에서 만든 CARLA 서버를 cook 단계를 거쳐 패키지하여, 다른 곳에 배포하거나 실행할 수 있는 파일로 만듭니다. 개발 빌드가 아니라 완성된 서버 패키지가 필요한 사람을 위한 스킬입니다.
사용하는 경우
- ✓Unreal Engine 5.8용 배포 가능한 CARLA 서버 패키지가 필요할 때.
- ✓공간이나 시간을 줄이려고 패키지에 포함할 지도를 제한하고 싶을 때.
- ✓패키지 빌드가 성공이라고 보고하지만, 실행할 때 작동하는지 확인해야 할 때.
스킬 링크
https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/ue58/package-carla-ue58/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“Unreal 5.8용 CARLA 서버를 선택한 몇 개의 지도만 포함해 패키지하고, 패키지가 실제로 실행되는지 확인해 줄 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 포함할 지도를 정하고, 패키징 빌드를 실행한 뒤, 흔히 숨어 있는 실패가 있는지 결과를 검사합니다. 빌드가 성공했다는 것만으로는 패키지가 작동한다는 증거가 되지 않으므로, 이 검사가 중요합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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
자주 묻는 질문
지도를 바꾸려면 빌드를 다시 설정해야 하나요?
네. 지도 목록은 설정 과정에서 정해지므로, 바꾸려면 빌드를 다시 설정해야 합니다.
빌드가 성공했는데 왜 믿으면 안 되나요?
파일이 서로 맞지 않거나 도로 데이터가 빠진 문제는 서버를 실행해야만 드러나기 때문입니다.
패키징에는 시간이 얼마나 걸리나요?
스킬은 패키징에 한두 시간 정도 걸릴 수 있다고 알려 줍니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 15k
- 순위
- #11134
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
create-leaderboard-route
15k카메라 화면에서 웨이포인트와 시나리오 트리거를 배치하고, 확인하고, 순서를 정해 CARLA 리더보드 경로 파일을 만들도록 에이전트를 돕습니다.
package-leaderboard-agent
15k주행 에이전트를 CARLA Leaderboard 제출용 Docker 이미지로 패키징하고, 폴더 구조를 확인하며 이미지가 에이전트를 로드하는지 테스트하도록 돕습니다.
read-leaderboard-results
15kCARLA Leaderboard 결과 파일을 읽고 경로별 점수와 위반 사항을 설명하며, 다른 규칙 버전에서 실행을 다시 채점하도록 에이전트를 돕습니다.
run-leaderboard-evaluation
15k주행 에이전트로 경로 세트에 대한 CARLA Leaderboard 평가를 실행하도록 돕습니다. 먼저 설정을 확인하고, 재개할 수 있는 체크포인트를 저장합니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.