Skip to content

Issue attaching VisionComponent to BP #36

@MatthewFehl365

Description

@MatthewFehl365

When attempting to create a new vision component through C++ as stated in the readme and then creating a blueprint from that C++ class, the editor crashes with this error message:
[2024.05.20-01.36.42:358][658]LogOutputDevice: Error: Ensure condition failed: false [File:D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\Components\SceneComponent.cpp] [Line: 2012]
[2024.05.20-01.36.42:358][658]LogOutputDevice: Error: Template Mismatch during attachment. Attaching instanced component to template component. Parent 'Vision' (Owner 'Default__RosActorBP_C') Self 'ColorCapture' (Owner 'RosActorBP_C_UAID_AC91A10E68F324F701_1254467327').

I've created a C++ class inheriting from the AActor class to so some things with the ROSIntegration plugin and have no issues using it to subscribe and publish topics. Its when I tried to attach the vision component to it either from C++ or to create a new blueprint class inheriting from VisionActor that this error occurs. Even just placing the VisionActor default into the scene crashes the editor I believe for the same reason.

Also, I'm using UE5. The plugin seems to compile fine in UE5.

I can't find much help online on this "Template Mismatch during attachment. Attaching instanced component to template component" error.

I'm fairly new to Unreal Engine so any help is appreciated!

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