Skip to content

Unity: Could not find metadata files #123

@ottog10

Description

@ottog10

I am trying to test the ros2-for-unity asset, I have complied everything following your instructions, upload the asset to Unity, create a block and add Component and Listener. when I do play I get the message Could not find metadata files. Tried to run python3 metadata_generator.py but give errors. Also, when I finish the build I get: cp: cannot stat '/home/otto/clearpath_ws/src/ros2-for-unity/src/Ros2ForUnity/metadata_ros2cs.xml': No such file or directory.
All videos uploaded to YouTube don't do any extra steps and cant find any info about this two files.. any ideas on how to fix the problem?

Using:
Ros2 humble
Unity 6

Problem in code:
ros2csMetadata.Load(GetPluginPath() + separator + "metadata_ros2cs.xml");
ros2ForUnityMetadata.Load(GetRos2ForUnityPath() + separator + "metadata_ros2_for_unity.xml");
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions