# Game Plugin: Copied Class and it doesnt work

**URL:** <https://forums.unrealengine.com/t/game-plugin-copied-class-and-it-doesnt-work/334668>\
**Category:** Plugins\
**Tags:** fvector, unreal-engine, procedural-mesh, Visual-Studio, Plugins, question\
**Created:** [October 8, 2015, 2:56pm UTC](https://forums.unrealengine.com/t/game-plugin-copied-class-and-it-doesnt-work/334668 "2015-10-08T14:56:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raidfire.Net](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Raidfire.Net](https://forums.unrealengine.com/u/Raidfire.Net)\
**Post date:** [October 8, 2015, 2:56pm UTC](https://forums.unrealengine.com/t/game-plugin-copied-class-and-it-doesnt-work/334668/1 "2015-10-08T14:56:57Z")

</div>

Hi,

i have created a game plugin.

Now i have copied the code of ProceduralMeshComponent.h and -.cpp into my own files.

Then i have renamed the class.

And: It doesnt work ☹

Sometimes visual studio do not recognize “FVector” and sometimes it does?!

When it does the compiler tells me something about incompatibility.

Here is the plugin: [link text][1]

Here is the error list:

 ![61880-error+list.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/c/d/ecd70be27097b87e4528d273b503975de38dc7e1.jpeg)

Would be nice, if someone can tell me, why such an easy task fails 😃 (But i am not the C++ Master)

---

<div class="post-metadata">

**Author:** ![Raidfire.Net](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Raidfire.Net](https://forums.unrealengine.com/u/Raidfire.Net)\
**Post date:** [October 9, 2015, 5:07pm UTC](https://forums.unrealengine.com/t/game-plugin-copied-class-and-it-doesnt-work/334668/2 "2015-10-09T17:07:22Z")

</div>

Solution found.

For anybody who has a similar error output, it just means that there are class conflicts.

Just rename the affected classes. You can see the current affected class by selecting the output channel in Visual Studio and read the current error.
