Skip to content
Skillpedia
General coding15k Β· #11132

import-carla-ue58-prop

What it does

This skill imports 3D meshes into the CARLA simulator on Unreal Engine 5.8 as props, which are objects like benches and signs. It is for people adding custom items to their simulated streets on the newer version.

When to use it

  • βœ“When you have a 3D model of a street object and want it in the newer CARLA build.
  • βœ“When the new prop does not appear in the simulator and you need to restart and check it.
  • βœ“When you want the prop's size set from its real measurements instead of guessed.

Skill link

https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/ue58/import-carla-ue58-prop/SKILL.md

Copy 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

Use this skill to help me: https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/ue58/import-carla-ue58-prop/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œCan you import my bench 3D model into CARLA on Unreal 5.8 and check that it shows up as a prop?”

5 new skills a week. 1 minute to read.

How it works

The agent imports the mesh into the editor without opening its window, measures its size, and adds it to the prop list. You then restart the server so the prop can be used and verified.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Import a prop on UE 5.8

Paths. scripts/… and references/… 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

FAQ

Why do I need to restart?

The prop list is read when the simulator starts, so the new prop appears only after a restart.

Does the skill fix the size of my model?

It derives the size from the measured bounds, which helps with unit-scale problems in 3D files.

Can it undo the import?

Yes. The skill can revert the import cleanly.

Details

Original description by the author

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

Popularity

GitHub stars
15k
Ranking position
#11132
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills