import-carla-ue58-prop
Fungsinya
Skill ini mengimpor mesh 3D ke simulator CARLA pada Unreal Engine 5.8 sebagai properti, yaitu objek seperti bangku dan rambu. Untuk orang yang menambahkan item kustom ke jalan simulasi mereka pada versi yang lebih baru.
Kapan dipakai
- βSaat Anda punya model 3D objek jalan dan ingin memasukkannya ke build CARLA yang lebih baru.
- βSaat properti baru tidak muncul di simulator dan Anda perlu memulai ulang dan memeriksanya.
- βSaat Anda ingin ukuran properti diatur dari dimensi asli, bukan ditebak.
Link skill
https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/ue58/import-carla-ue58-prop/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 mengimpor model bangku 3D saya ke CARLA pada Unreal 5.8 dan memeriksa bahwa ia muncul sebagai properti?β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent mengimpor mesh ke dalam editor tanpa membuka jendelanya, mengukur ukurannya, dan menambahkannya ke daftar properti. Lalu Anda memulai ulang server agar properti dapat dipakai dan diverifikasi.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum
Mengapa perlu memulai ulang?
Daftar properti dibaca saat simulator dimulai, sehingga properti baru hanya muncul setelah dimulai ulang.
Apakah skill memperbaiki ukuran model saya?
Ukuran diturunkan dari batas yang diukur, yang membantu mengatasi masalah skala satuan pada file 3D.
Bisakah membatalkan impor?
Bisa. Skill dapat mengembalikan impor dengan bersih.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 15k
- Peringkat
- #11132
- 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
diffs
394kMemungkinkan agent Anda menghasilkan diff perubahan yang nyata dan dapat dibagikan sebagai tautan viewer atau file gambar, bukan ringkasan yang ditulis manual.
coding-agent
394kMembantu agent Anda menyerahkan pekerjaan pemrograman besar ke Codex, Claude Code, atau OpenCode di latar belakang, lalu memeriksa kemajuannya.
gh-issues
394kMembantu agent Anda menemukan issue GitHub, memilih yang dikerjakan, dan membuka pull request perbaikan, termasuk tindak lanjut komentar tinjauan.