# \[Feature Request\] C++ ActorComponent importing/exporting

**URL:** <https://forums.unrealengine.com/t/feature-request-c-actorcomponent-importing-exporting/354404>\
**Category:** Feedback & Requests\
**Tags:** actorcomponent, unreal-engine, FeatureRequest, request, CPP, question\
**Created:** [April 16, 2016, 4:48pm UTC](https://forums.unrealengine.com/t/feature-request-c-actorcomponent-importing-exporting/354404 "2016-04-16T16:48:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![peicou](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@peicou](https://forums.unrealengine.com/u/peicou)\
**Post date:** [April 16, 2016, 4:48pm UTC](https://forums.unrealengine.com/t/feature-request-c-actorcomponent-importing-exporting/354404/1 "2016-04-16T16:48:22Z")

</div>

Hello,

Whenever I implement a new ActorComponent and I want to use it in a different project, I have to create a new one and copy/paste my old code. This works, but can easily lead to problems and it’s a waste of time.

There should be an easier/more elegant way to export an ActorComponent so it can be reused in different projects.

---

<div class="post-metadata">

**Author:** ![ryanjon2040](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ryanjon2040/32/906587_2.png) [@ryanjon2040](https://forums.unrealengine.com/u/ryanjon2040)\
**Post date:** [April 16, 2016, 5:12pm UTC](https://forums.unrealengine.com/t/feature-request-c-actorcomponent-importing-exporting/354404/2 "2016-04-16T17:12:40Z")

</div>

You can Migrate your ActorComponent from one project to another. This will also migrate any dependencies.

> **[Migrating Assets](https://docs.unrealengine.com/4.27/en-US/Basics/AssetsAndPackages/Migrate/)**
>
> This document covers how to migrate assets into other projects within the Content Browser

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

---

<div class="post-metadata">

**Author:** ![peicou](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@peicou](https://forums.unrealengine.com/u/peicou)\
**Post date:** [April 16, 2016, 8:39pm UTC](https://forums.unrealengine.com/t/feature-request-c-actorcomponent-importing-exporting/354404/3 "2016-04-16T20:39:33Z")

</div>

This works OK for blueprints and some other assets, but I don’t get the “Migrate” option when right clicking on my ActorComponent. I checked both provided links and didn’t really address Actor Components. I guess an Actor Component is not an asset?  
It’s worth mentioning that I created the Actor Component as a C++ class.

That being said, thank you for your answer!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33d428af1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33d428af1](https://forums.unrealengine.com/u/anonymous_user_33d428af1)\
**Post date:** [April 16, 2016, 9:18pm UTC](https://forums.unrealengine.com/t/feature-request-c-actorcomponent-importing-exporting/354404/4 "2016-04-16T21:18:19Z")

</div>

What i do is create a plugin for useful classes, you can use plugins between projects very easily!
