Skip to content

RuntimeError: Unknown error while trying to spawn actor #4363

Open
@dbersan

Description

@dbersan

Carla version: 0.9.11

I tried following the tutorial to add Props to carla here. More specifically, I followed the "Ingestion in a build from source", i.e., I have a locally compiled Carla, which I run through Unreal Engine.

Added the files to the Import/ folder exactly like the tutorial described:

carla/
--Import/
----Package01/
----|--Package01.json
----|--Props/
----|--|--Ball/
----|--|--|--Ball.fbx

Package01.json:

{
    "maps": [
    ],
    "props": [
      {
        "name": "Football",
        "size": "small",
        "source": "./Props/Ball/Ball.fbx",
        "tag": "Other"
      }
    ]
  }

Used this object.

I ran make import, make PythonAPI and make launch in this order, and then started simulation inside Unreal Editor.

I tried spawning it (world.spawn_actor()...), even though it finds it on the Blueprint list (with blueprint_library.filter('static.prop.football')[0]), I get an error:

RuntimeError: Unknown error while trying to spawn actor

Also tried exporting it as a package and importing to a pre-compiled carla installation. Got the same error when trying to spawn.

edit: Tried with this object instead now. Didn't get any error, but I can't see anything spawned on the map.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions