import-carla-ue58-prop
하는 일
이 스킬은 Unreal Engine 5.8의 CARLA 시뮬레이터에 3D 메시를 소품으로 가져옵니다. 소품은 벤치나 표지판 같은 물체입니다. 새 버전의 시뮬레이션 거리에 맞춤 물체를 추가하려는 사람을 위한 스킬입니다.
사용하는 경우
- ✓거리 물체의 3D 모델이 있고, 새 CARLA 빌드에 넣고 싶을 때.
- ✓새 소품이 시뮬레이터에 나타나지 않아서 재시작하고 확인해야 할 때.
- ✓소품 크기를 추측하지 않고 실제 측정값으로 맞추고 싶을 때.
스킬 링크
https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/ue58/import-carla-ue58-prop/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“내 벤치 3D 모델을 Unreal 5.8의 CARLA에 가져오고, 소품으로 나타나는지 확인해 줄 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 편집기 창을 열지 않고 메시를 편집기로 가져온 뒤, 크기를 측정해 소품 목록에 추가합니다. 그다음 서버를 재시작하면 소품을 사용하고 확인할 수 있습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Import a prop 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.
Three steps, and the middle one is where UE4 recipes break:
FBX --(editor, headless)--> StaticMesh in Content
--(PropParameters.json)--> static.prop.<name> in the blueprint library
--(PropActorFactory)--> spawnable actor
Registration moved. On UE4 a prop is declared in a *.Package.json that
UCarlaBlueprintRegistry::LoadPropDefinitions scans for. On ue58 that function
has zero callers — it is dead code. Props are loaded by APropActorFactory
from Content/Carla/Config/PropParameters.json (key "Props", fields
Name/Mesh/Size). Writing a .Package.json changes nothing: verified by
doing it and watching the prop count stay at 83.
Instructions
Progress:
- [ ] Step 1: Check prerequisites (bash scripts/check_env.sh)
- [ ] Step 2: plan — see where the asset lands and what it will be called
- [ ] Step 3: import — get the scale right on the first go if you can
- [ ] Step 4: RESTART the server or editor, then verify
Step 2-3: Plan, then import
source scripts/env.sh
python3 scripts/import_prop.py plan ~/meshes/Bench.fbx
python3 scripts/import_prop.py import ~/meshes/Bench.fbx --tag Static
A directory works too, and a level of subdirectory is read as the tag — the same shape as the destination:
~/meshes/
├── Static/Bench.fbx -> /Game/Carla/Static/Static/Bench
└── Building/Kiosk.fbx -> /Game/Carla/Static/Building/Kiosk
| Flag | Effect |
|---|---|
--tag |
subfolder under the destination root (default Static) |
--scale |
import_uniform_scale; see below |
--size |
override the derived Tiny/Small/Medium/Big |
--dest-root |
default /Game/Carla/Static — keep it under /Game/Carla |
--no-register |
import the mesh without touching the registry |
--no-combine / --no-collision |
disable mesh combining / auto collision |
--verbose |
stream the editor log |
Get the scale right
FBX unit metadata is frequently absent or wrong, and nothing warns you. A door
from CARLA's own HoudiniEngine/Pieces imported at --scale 1.0 measured
0.43 × 250 × 400 m — a 400-metre door, spawnable and towering over the town.
At --scale 0.01 the same file measured 0.43 × 2.5 × 4.0 m and classified as
Medium.
import prints the measured dimensions and warns when the longest side exceeds
30 m, which is the practical "this is building-scale" threshold. Re-import with the
right factor; replace_existing is on, so it overwrites cleanly.
Size, when not overridden, comes from the measured longest dimension:
<=0.5 m Tiny, <=2 m Small, <=8 m Medium, else Big.
Keep the destination under /Game/Carla
An asset elsewhere in Content/ imports fine and works in the editor, but a
packaged server resolves content only under /Game/Carla/... — the same
single-fallback limitation that stops nested large maps loading from a package
([[run-carla-ue58-server]]). list flags any registered prop whose mesh sits
outside /Game/Carla.
Step 4: Restart, then verify
Prop definitions are read once at startup. A prop registered while a server is running will not appear until you restart it.
cd ../run-carla-ue58-server && bash scripts/run_server.sh stop
DETACH=1 bash scripts/run_server.sh game
cd ../import-carla-ue58-prop
python3 scripts/import_prop.py verify --name Bench --spawn
python3 scripts/import_prop.py list
verify checks the registry entry, that the .uasset is on disk, that the
blueprint is in the library with the right mesh_path, and — with --spawn —
spawns it, reports its bounding box and destroys it.
Undo
python3 scripts/import_prop.py revert --name Bench # dry run
python3 scripts/import_prop.py revert --name Bench --yes
Unregisters and deletes the asset directory. import and revert both back
PropParameters.json up to PropParameters.json.bak first.
Examples
Example 1: "add this bench mesh so I can spawn it"
plan, then import ~/bench.fbx. If the printed dimensions look wrong, re-import
with --scale. Restart the server, verify --spawn. The blueprint is
static.prop.bench.
**Example 2: "I imported a prop but it's not in the blueprint li
자주 묻는 질문
왜 재시작해야 하나요?
소품 목록은 시뮬레이터가 시작할 때 읽히므로, 새 소품은 재시작 후에야 나타납니다.
스킬이 모델의 크기를 고치나요?
측정된 경계 값에서 크기를 구하므로, 3D 파일의 단위 배율(unit-scale) 문제를 해결하는 데 도움이 됩니다.
가져오기를 되돌릴 수 있나요?
네. 스킬이 가져오기를 깔끔하게 되돌릴 수 있습니다.
상세 정보
작성자의 원본 설명
Imports FBX meshes into CARLA on UE 5.8 as spawnable props — drives the editor headlessly to import the mesh, derives the prop size from its measured bounds, and registers it in PropParameters.json so it appears in the blueprint library as static.prop.<name>. Handles the FBX unit-scale problem, verifies the result against a running server, and can revert cleanly. Use when the user asks to "import a prop", "add a custom mesh/object to CARLA", "make my model spawnable", or a prop imports but never shows up in the blueprint library.
repo: carla-simulator/carla
인기도
- GitHub 스타
- 15k
- 순위
- #11132
- 라이선스
- 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 평가를 실행하도록 돕습니다. 먼저 설정을 확인하고, 재개할 수 있는 체크포인트를 저장합니다.