# BCI-UE4-Plugin - Brain-Computer-Interface for Unreal Engine 4

**URL:** <https://forums.unrealengine.com/t/bci-ue4-plugin-brain-computer-interface-for-unreal-engine-4/68495>\
**Category:** UE Marketplace\
**Tags:** unreal-engine, fab\
**Created:** [July 8, 2016, 5:33pm UTC](https://forums.unrealengine.com/t/bci-ue4-plugin-brain-computer-interface-for-unreal-engine-4/68495 "2016-07-08T17:33:22Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![ThD-Lee](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/thd-lee/32/439751_2.png) [@ThD-Lee](https://forums.unrealengine.com/u/ThD-Lee)\
**Post date:** [July 8, 2016, 5:33pm UTC](https://forums.unrealengine.com/t/bci-ue4-plugin-brain-computer-interface-for-unreal-engine-4/68495/1 "2016-07-08T17:33:22Z")

</div>

![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/2/0/82011a2901675a62e69bcd00f366d72a75600b5b.png)  
**Brain-Computer-Interface Dev-Kit for Unreal Engine 4**

> **[Brain Computer Interface Plugin in Code Plugins - UE Marketplace](https://www.unrealengine.com/marketplace/en-US/product/braincomputerinterface-ue4plugin)**
>
> A Plugin to connect Brain-Computer-Interfaces with Unreal Engine

❉

**Features:**

- Fully open-source and customizable Brain-Computer-Interface for UE4
- Different levels of depth for usage: C++, Blueprint, optional GUI (for easier access)
- Compatible with nearly all available hardware via openvibe
- Compatible with multiple Acquisition Software Packages (ranging from consumer to professional research products)
- Focus on transparency and customizability
- Focus on simplicity and versatility, as far as technologies allow us
- Signal Generation for Simulated Inputs
- For experimentation, research, education, game design, art, training,  
…

❉

**Compatible Software:**

![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/5/d/05dbe31fbf97ca5ebe84ae2046628e1f04dc4a1d.png)

- [OpenVibe](http://openvibe.inria.fr) is “a software platform dedicated to designing, testing and using brain-computer interfaces”. It covers the signal-processing and can be very powerful. The community can be found in the [OpenVibe Forum](http://openvibe.inria.fr/forum/).

- [Neuromore](https://www.neuromore.com/)

- [BioEra](http://www.bioera.net/)

_Please note:_ The _preprocessing_ of signals is done with the EEG-Acquisition Software and _ **is not done** _ with our UE4-BCI-Interface. However, any signal can further be processed and used within Unreal Engine. To capture and export signals from UE4, take a look at our Data Tracker and Visualization Plugin. In general, please act responsibly!

❉

**UE4-BCI-Plugin Example:**  
[Download ExampleMap](https://drive.google.com/drive/folders/0BxObmjUEdjmiX29EZVdqUDAxY0U) (241 MB)

❉

**Screenshots:**

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/6/f/56fc07bfad432f442af60fd263ed6b8fb54ba05f.jpeg)  
 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/a/9/da98024b3eb65ae4ab26ed23041a3d8715c31cd1.jpeg)  
 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/5/4/e54c09ab96472bac56591c7f39ac53b1d3d49801.jpeg)  
 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/e/3/9e3a190ed21eff5e6b81f9a896daecd2f436398d.jpeg)  
 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/b/6/1b6f9f88870d62dcb325697210a67224d8274025.jpeg)  
 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/a/7/da712856e85369f900d699eba9a72644a568d3ba.jpeg)  
 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/b/e/ebe6fc73e1c0224b8d818bed6289aa55d9a34344.jpeg)  
 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/e/c/8ec2b373c7969426ca198072b8d23e2cca31acfe.jpeg)  
 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/4/1/24122870d394bb903434fbbf9541fc1c39ea0173.jpeg)  
❉

**Introduction Video:**

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/7/9/d793f75e3aa4c2e8e33af8587a104f3e674dd98b.jpeg "BCI-Plugin for Unreal Engine 4") ](https://www.youtube.com/watch?v=7tLI-SLBQ_E)

❉

**Community Projects and Customers:**

- [[UE4] BCITreeShadow](https://www.bryanzhu.com/projects/ue4/bcitreeshadow.html) by Bryan Zhu  
_Art Project for the Guangzhou Academy of Fine Arts_  
(he also made a nice documentationon / tutorial on the project)

- Brain computer interface (BCI) generated music in Games by Richard Smith  
_School of Design and Informatics Abertay University. [In progress. [Draft](https://drive.google.com/open?id=130PhwvAG7kRCZFhbKMMRussItmoSxlFL)]_

- [StoryUP](http://www.story-up.com/)

❉

**Communication Channel:**  
Thauros-Development ✧@✧ [outlook.com](http://outlook.com)

_If you are a student or you simply want to do something awesome with our plugin,  
but you can’t afford it, feel free to get in contact with us_

---

<div class="post-metadata">

**Author:** ![J.C.Smith](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@J.C.Smith](https://forums.unrealengine.com/u/J.C.Smith)\
**Post date:** [August 1, 2016, 3:18pm UTC](https://forums.unrealengine.com/t/bci-ue4-plugin-brain-computer-interface-for-unreal-engine-4/68495/2 "2016-08-01T15:18:32Z")

</div>

Very nice.

---

<div class="post-metadata">

**Author:** ![ThD\_ManiaC](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/thd_maniac/32/1194665_2.png) [@ThD\_ManiaC](https://forums.unrealengine.com/u/ThD_ManiaC)\
**Post date:** [September 30, 2016, 9:50pm UTC](https://forums.unrealengine.com/t/bci-ue4-plugin-brain-computer-interface-for-unreal-engine-4/68495/3 "2016-09-30T21:50:25Z")

</div>

We are happy to present you the [Brain Computer Interface](https://www.unrealengine.com/marketplace/braincomputerinterface-ue4plugin) for Unreal Engine 4.

Have fun and let us know about your ideas for future updates!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_108e793a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_108e793a](https://forums.unrealengine.com/u/anonymous_user_108e793a)\
**Post date:** [November 12, 2016, 5:33am UTC](https://forums.unrealengine.com/t/bci-ue4-plugin-brain-computer-interface-for-unreal-engine-4/68495/4 "2016-11-12T05:33:25Z")

</div>

This is great!  
But i Can’t seem to download on the market place link.

---

<div class="post-metadata">

**Author:** ![ThD-Lee](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/thd-lee/32/439751_2.png) [@ThD-Lee](https://forums.unrealengine.com/u/ThD-Lee)\
**Post date:** [November 13, 2016, 11:33am UTC](https://forums.unrealengine.com/t/bci-ue4-plugin-brain-computer-interface-for-unreal-engine-4/68495/5 "2016-11-13T11:33:24Z")

</div>

thanks Superxcm, the marketplace team has this on their high priority list! 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_108e793a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_108e793a](https://forums.unrealengine.com/u/anonymous_user_108e793a)\
**Post date:** [November 15, 2016, 4:26am UTC](https://forums.unrealengine.com/t/bci-ue4-plugin-brain-computer-interface-for-unreal-engine-4/68495/6 "2016-11-15T04:26:41Z")

</div>

Thanks! Will wait for it 🙂

---

<div class="post-metadata">

**Author:** ![ThD-Lee](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/thd-lee/32/439751_2.png) [@ThD-Lee](https://forums.unrealengine.com/u/ThD-Lee)\
**Post date:** [November 15, 2016, 4:11pm UTC](https://forums.unrealengine.com/t/bci-ue4-plugin-brain-computer-interface-for-unreal-engine-4/68495/7 "2016-11-15T16:11:28Z")

</div>

should be up again! feel free to get in touch with us if you experience any problems

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_1fa36976](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1fa36976](https://forums.unrealengine.com/u/anonymous_user_1fa36976)\
**Post date:** [December 20, 2016, 9:04am UTC](https://forums.unrealengine.com/t/bci-ue4-plugin-brain-computer-interface-for-unreal-engine-4/68495/9 "2016-12-20T09:04:04Z")

</div>

Thanks @LeeF for releasing this great plugin. From your video it seems OpenVibe is interfaced using its TCP-IP outlet. How about LSL compatibility? https://.com/sccn/labstreaminglayer  
This open format is getting widespread and allows to connect not only to OpenVibe, but also QUSP and more…

---

<div class="post-metadata">

**Author:** ![ThD-Lee](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/thd-lee/32/439751_2.png) [@ThD-Lee](https://forums.unrealengine.com/u/ThD-Lee)\
**Post date:** [January 3, 2017, 12:58pm UTC](https://forums.unrealengine.com/t/bci-ue4-plugin-brain-computer-interface-for-unreal-engine-4/68495/10 "2017-01-03T12:58:49Z")

</div>

> [@Jonas\_OMI;640489](#):
>
> Thanks @LeeF for releasing this great plugin. From your video it seems OpenVibe is interfaced using its TCP-IP outlet. How about LSL compatibility? https://.com/sccn/labstreaminglayer  
> This open format is getting widespread and allows to connect not only to OpenVibe, but also QUSP and more…

Thank you for this info Jonas\_OMI! We are always interested in increasing the compatibility to other products. Are you interested in using LSL?  
Openvibe supports LSL in principle, see this [post](http://openvibe.inria.fr/how-to-use-labstreaminglayer-in-openvibe/), so the Plugin should work with LSL Data as well.

---

<div class="post-metadata">

**Author:** ![PeterLNewton](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PeterLNewton](https://forums.unrealengine.com/u/PeterLNewton)\
**Post date:** [January 3, 2017, 1:07pm UTC](https://forums.unrealengine.com/t/bci-ue4-plugin-brain-computer-interface-for-unreal-engine-4/68495/11 "2017-01-03T13:07:52Z")

</div>

This is so cool! What a way to release something that has received great transaction this year (2016). I have a Muse for meditation. I am fascinated about other uses. 🆒

---

<div class="post-metadata">

**Author:** ![ThD-Lee](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/thd-lee/32/439751_2.png) [@ThD-Lee](https://forums.unrealengine.com/u/ThD-Lee)\
**Post date:** [January 3, 2017, 1:23pm UTC](https://forums.unrealengine.com/t/bci-ue4-plugin-brain-computer-interface-for-unreal-engine-4/68495/12 "2017-01-03T13:23:16Z")

</div>

Thank you PeterLNewton, yes it is quite an undiscovered frontier 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_1fa36976](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1fa36976](https://forums.unrealengine.com/u/anonymous_user_1fa36976)\
**Post date:** [January 3, 2017, 1:53pm UTC](https://forums.unrealengine.com/t/bci-ue4-plugin-brain-computer-interface-for-unreal-engine-4/68495/13 "2017-01-03T13:53:09Z")

</div>

> [@LeeFX;645444](#):
>
> Thank you for this info @anonymous_user_1fa36976! We are always interested in increasing the compatibility to other products. Are you interested in using LSL?  
> Openvibe supports LSL in principle, see this [post](http://openvibe.inria.fr/how-to-use-labstreaminglayer-in-openvibe/), so the Plugin should work with LSL Data as well.

Actually I would be especially interested in using LSL _directly_ in order to stay “software agnostic” and be able to later get rid or change this third-party biosignal analysis plateform. Please keep me informed if you decide to integrate this LSL compatibility in your plugin!  
best,

---

<div class="post-metadata">

**Author:** ![ThD-Lee](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/thd-lee/32/439751_2.png) [@ThD-Lee](https://forums.unrealengine.com/u/ThD-Lee)\
**Post date:** [January 4, 2017, 12:36pm UTC](https://forums.unrealengine.com/t/bci-ue4-plugin-brain-computer-interface-for-unreal-engine-4/68495/14 "2017-01-04T12:36:56Z")

</div>

thanks Jonas\_OMI  
At least one way to process raw EEG-Data must exist, either a third-party tool like openvibe, or you must write a custom interface for acquisition, which is in someway obsolete, because Openvibe (based mainly on python) is powerful to calculate any kind of parameter or can be fully integrated into own software chains (because open-source) to run in the background and to pass-through signals with a minimum of preprocessing.  
We can recommend it, because it is free and provides an incredible amount of inter-compatibility of hardware inputs and outgoing data streams, including LSL.

If you are interested in doing some simple signal-processing within Unreal Engine 4, you can take a look at our [Signal- and Data-Processing Plugin](https://forums.unrealengine.com/showthread.php?122048-DataTracker-for-Unreal-Engine-4-interactive-In-Game-Displays) that features Interactive Real-Time Visualization within your game

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_61cf48131](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_61cf48131](https://forums.unrealengine.com/u/anonymous_user_61cf48131)\
**Post date:** [February 2, 2017, 1:54am UTC](https://forums.unrealengine.com/t/bci-ue4-plugin-brain-computer-interface-for-unreal-engine-4/68495/15 "2017-02-02T01:54:05Z")

</div>

@LeeFx,

You can still use LSL in that context. I do. My data is streamed from the hardware via LSL. Then, I use Python to do my signal processing and send the result on yet another stream; if I’m feeling fancy then I’ll use NeuroPype to do the signal processing and it has both inlets and outlets for LSL. Then UE4 or Unity picks up the processed signal stream.

---

<div class="post-metadata">

**Author:** ![ThD-Lee](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/thd-lee/32/439751_2.png) [@ThD-Lee](https://forums.unrealengine.com/u/ThD-Lee)\
**Post date:** [February 4, 2017, 2:23pm UTC](https://forums.unrealengine.com/t/bci-ue4-plugin-brain-computer-interface-for-unreal-engine-4/68495/16 "2017-02-04T14:23:21Z")

</div>

Thanks bullale, I will mention a LSL implementation in our next dev meeting. I think an LSL interface for Unreal Engine shouldn’t be too hard to implement. If you already did some development and you want to contribute - you’re welcome!

---

<div class="post-metadata">

**Author:** ![Osok](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Osok](https://forums.unrealengine.com/u/Osok)\
**Post date:** [September 6, 2017, 8:57am UTC](https://forums.unrealengine.com/t/bci-ue4-plugin-brain-computer-interface-for-unreal-engine-4/68495/17 "2017-09-06T08:57:08Z")

</div>

I’ve sent an email to your marketplace email with questions, thanks in advance.

---

<div class="post-metadata">

**Author:** ![ChevCheliosSun](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ChevCheliosSun](https://forums.unrealengine.com/u/ChevCheliosSun)\
**Post date:** [October 25, 2017, 3:08pm UTC](https://forums.unrealengine.com/t/bci-ue4-plugin-brain-computer-interface-for-unreal-engine-4/68495/19 "2017-10-25T15:08:56Z")

</div>

Hello!  
Today I bought BCI Plugin.  
When I try to play the example map I get this error:

> [@](#):
>
> LogBCI: Error: EmotivSDK not installed! Place ‘community-sdk-master’ from ‘.com/Emotiv’ into ‘…/Engine/Source/ThirdParty/Emotiv/’ and edk.dll from ‘…/community-sdk-master/bin/win64/edk.dll’ into ‘…/Engine/Binaries/win64/’ and re-compile the plugin by removing …/Plugins/BCIUE4Plugin/Binaries.

I really need to use this plugin in the version UE4.17. and found no Emotiv plugin for this version.  
I hope you got some solution and I didn’t buy this great plugin for nothing.  
​​​​​​​Thanks

---

<div class="post-metadata">

**Author:** ![ThD-Lee](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/thd-lee/32/439751_2.png) [@ThD-Lee](https://forums.unrealengine.com/u/ThD-Lee)\
**Post date:** [October 30, 2017, 2:11pm UTC](https://forums.unrealengine.com/t/bci-ue4-plugin-brain-computer-interface-for-unreal-engine-4/68495/21 "2017-10-30T14:11:06Z")

</div>

Hello ChevCheliosSun,

you got mail 🙂

We are really sorry, but the Marketplace Rules don’t allow us to include the third party software from emotiv within the marketplace release!  
Though these are the right steps you mentioned, we made the instructions on the forum a little bit more clearer!

We will send you a precompiled 4.17 version with the emotiv sdk included!

Best

Thauros-Clan

---

<div class="post-metadata">

**Author:** ![ChevCheliosSun](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ChevCheliosSun](https://forums.unrealengine.com/u/ChevCheliosSun)\
**Post date:** [October 31, 2017, 7:42am UTC](https://forums.unrealengine.com/t/bci-ue4-plugin-brain-computer-interface-for-unreal-engine-4/68495/22 "2017-10-31T07:42:17Z")

</div>

Hello Lee!  
Ok, now it is not giving the error message. Great I see the plugin is working.  
BUT: The example project does not completely clear for me. I mean what to do now? I did not find any tutorial step-by-step. Please give me the right directions.  
I need to use Only the Emotiv Mental Commands. I just need to get a mental command for an action event.

And when I try to train the command in the example level, it doesn’t do anything.

Thank you in advance.

---

<div class="post-metadata">

**Author:** ![ChevCheliosSun](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ChevCheliosSun](https://forums.unrealengine.com/u/ChevCheliosSun)\
**Post date:** [November 3, 2017, 7:23pm UTC](https://forums.unrealengine.com/t/bci-ue4-plugin-brain-computer-interface-for-unreal-engine-4/68495/23 "2017-11-03T19:23:06Z")

</div>

Sorry for this but it’s me again 🙂  
Why do I have this error?  
LogBCI: Error: EDK\_INVALID\_USER\_ID: The user ID supplied to the function is invalid!

And when I hit train reference start button, nothing happens it wont start.  
I’m using Unreal Engine and free SDK version.  
I’ve just set up everything I have another username wich is working correctly with EPOC+ in Emotiv Control panel.  
But when I try it in my project with the same username then it fails.  
I get these two lines in my output log:  
EDK\_OK: success!  
Connection to EmoEngine established!

I just want to use the cloud computing only free method I don’t need raw EEG or other fancy things.

Please tell me how to fix this.

EDIT:  
Propably in the plugin the engine connect should have use remote connect?  
I’m talking about this:  
The EDK needs to be initialized via IEE\_EngineConnect() or IEE\_EngineRemoteConnect()!

I’m not sure but maybe you wrote the plugin the way it connects only via IEE\_EngineConnect() wich requires raw EEG as well as paid emotiv SDK license?

And Maybe if you would use IEE\_EngineRemoteConnect()! it would working as it should be completely for free?

If above is true, how to make it to be functional for free?  
Or else: Why does the user ID beeing invalid?

[Next page](https://forums.unrealengine.com/t/bci-ue4-plugin-brain-computer-interface-for-unreal-engine-4/68495.md?page=2)
