# EyeX Plugin for Unreal Engine 4 \[eye tracking\]

**URL:** <https://forums.unrealengine.com/t/eyex-plugin-for-unreal-engine-4-eye-tracking/13353>\
**Category:** Game Development\
**Tags:** unreal-engine\
**Created:** [October 16, 2014, 2:06pm UTC](https://forums.unrealengine.com/t/eyex-plugin-for-unreal-engine-4-eye-tracking/13353 "2014-10-16T14:06:22Z")\
**Posts on this page:** 13\
**Page:** 2

<div class="post-metadata">

**Author:** ![prcn3dlight](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@prcn3dlight](https://forums.unrealengine.com/u/prcn3dlight)\
**Post date:** [December 15, 2014, 1:17am UTC](https://forums.unrealengine.com/t/eyex-plugin-for-unreal-engine-4-eye-tracking/13353/21 "2014-12-15T01:17:43Z")

</div>

I was an psychology graduate before I enter VR. I missed eye-tracking devices in the visual perception lab. I tried the unity sdk once, that was good enough, and was thinking if there could be one for UE4. If your products can be combined with Oculus Rift. You gonna shake the world!.

Great job, you guys!

---

<div class="post-metadata">

**Author:** ![Tom\_Looman](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tom_looman/32/1215549_2.png) [@Tom\_Looman](https://forums.unrealengine.com/u/Tom_Looman)\
**Post date:** [December 15, 2014, 4:10am UTC](https://forums.unrealengine.com/t/eyex-plugin-for-unreal-engine-4-eye-tracking/13353/22 "2014-12-15T04:10:12Z")

</div>

Looking forward to trying this out in our game!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b8063003](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b8063003](https://forums.unrealengine.com/u/anonymous_user_b8063003)\
**Post date:** [December 16, 2014, 10:17am UTC](https://forums.unrealengine.com/t/eyex-plugin-for-unreal-engine-4-eye-tracking/13353/23 "2014-12-16T10:17:23Z")

</div>

> [@prcn3dlight;192791](#):
>
> I was an psychology graduate before I enter VR. I missed eye-tracking devices in the visual perception lab. I tried the unity sdk once, that was good enough, and was thinking if there could be one for UE4. If your products can be combined with Oculus Rift. You gonna shake the world!.
> 
> Great job, you guys!

We do have a unityplugin aswell. Sorry mods and devs for linking this here but feels somewhat relevant. [http://developer](http://developer)…com/getting-started–eyex-sdk-for-unity/ It gets you started in 3mins with unity.

VR devices would be silly not to include eye tracking in their devices for reasons like this:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/6/9/869d2a19aa8503b06a74d1a62044f4e6674043ce.jpeg "More on Eye Tracking (or Lack Thereof) in Oculus Rift") ](https://www.youtube.com/watch?v=SC9vbV-zjBk)

> [@Tom Looman;192865](#):
>
> Looking forward to trying this out in our game!

And i’m looking forward to seeing it in your game, I litterly can’t wait to try it out!

---

<div class="post-metadata">

**Author:** ![Nawrot](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nawrot/32/618260_2.png) [@Nawrot](https://forums.unrealengine.com/u/Nawrot)\
**Post date:** [December 16, 2014, 11:43am UTC](https://forums.unrealengine.com/t/eyex-plugin-for-unreal-engine-4-eye-tracking/13353/24 "2014-12-16T11:43:19Z")

</div>

Does this work with 3d glasses?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b8063003](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b8063003](https://forums.unrealengine.com/u/anonymous_user_b8063003)\
**Post date:** [December 16, 2014, 12:39pm UTC](https://forums.unrealengine.com/t/eyex-plugin-for-unreal-engine-4-eye-tracking/13353/25 "2014-12-16T12:39:00Z")

</div>

> [@Nawrot;193507](#):
>
> Does this work with 3d glasses?

What kind of 3D glasses are we talking about?

VR or wearable glasses you wear for cinema?

 ![eb3dc554dd1b532c1fb113ddad0eda052f59c860.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/b/3/eb3dc554dd1b532c1fb113ddad0eda052f59c860.jpeg)

Or these

![7258_nVidia_GEFORCE-3D-glasses.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/d/1/d112fa8a52d6b109d9e3a8dda43b53d6c7e354c3.jpeg)

---

<div class="post-metadata">

**Author:** ![Nawrot](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nawrot/32/618260_2.png) [@Nawrot](https://forums.unrealengine.com/u/Nawrot)\
**Post date:** [December 17, 2014, 11:19am UTC](https://forums.unrealengine.com/t/eyex-plugin-for-unreal-engine-4-eye-tracking/13353/26 "2014-12-17T11:19:23Z")

</div>

Nvidia, or any of this type. I think for them only one eye is visible at a time.

---

<div class="post-metadata">

**Author:** ![Drexciya](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Drexciya](https://forums.unrealengine.com/u/Drexciya)\
**Post date:** [December 18, 2014, 12:03am UTC](https://forums.unrealengine.com/t/eyex-plugin-for-unreal-engine-4-eye-tracking/13353/27 "2014-12-18T00:03:35Z")

</div>

Cool, I’ll have to check the eyeX out. I’ve worked with your more advanced eye trackers at the Norwegian University of Science and Technology, which had a rather cumbersome calibration procedure - I’m hoping that’s changed for this consumer product 😃

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b8063003](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b8063003](https://forums.unrealengine.com/u/anonymous_user_b8063003)\
**Post date:** [December 18, 2014, 9:17am UTC](https://forums.unrealengine.com/t/eyex-plugin-for-unreal-engine-4-eye-tracking/13353/28 "2014-12-18T09:17:52Z")

</div>

> [@Nawrot;194051](#):
>
> Nvidia, or any of this type. I think for them only one eye is visible at a time.

We can track each eye individually. I’ve been searching the office for our 3D glasses but they seem to be lost and it’s not superhigh on the todo list of hardware QA.

3D glasses uses an active shutter system([Active shutter 3D system - Wikipedia](http://en.wikipedia.org/wiki/Active_shutter_3D_system)) so techwise/theoretically it might work, assuming we get the data while one of the glasses is closed.

Unfortunly i cannot tell you a straight answear regarding this and untill the 3D glasses we have here shows up i can’t test it out myself either. 😕

If i do find them i’ll post about it again for sure!

> [@Drexciya;194502](#):
>
> Cool, I’ll have to check the eyeX out. I’ve worked with your more advanced eye trackers at the Norwegian University of Science and Technology, which had a rather cumbersome calibration procedure - I’m hoping that’s changed for this consumer product 😃

The EyeX has a quite a fast calibration, it’s based of profiles and each profile(so you can switch between users easily) is calibrated by looking at 9 spots on the screen. It’s over and done in 20seconds and only needs to be done once per user.

In short, it’s very pain-free to calibrate. The calibrate process is also exposed in the API’s since our last engineupdate 1.1.0  
[http://developer](http://developer)…com/eyex-1-1-0-and-eyex-sdk-1-2/

---

<div class="post-metadata">

**Author:** ![StuButler](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/stubutler/32/1046539_2.png) [@StuButler](https://forums.unrealengine.com/u/StuButler)\
**Post date:** [September 8, 2015, 11:02am UTC](https://forums.unrealengine.com/t/eyex-plugin-for-unreal-engine-4-eye-tracking/13353/29 "2015-09-08T11:02:00Z")

</div>

Hi,

I posted this over on the developer but figured I’d post here to.

We’ve tried building the project from the git resource with UE4.9, added the include to the EyeXPlayerController.h as mentioned by others on the however we still get the following compile errors.

Any ideas?

```auto

1>------ Build started: Project: EyeXSamples, Configuration: Development_Editor x64 ------
1> Creating makefile for EyeXSamplesEditor (no existing makefile)
1> Performing full C++ include scan (no include cache file)
1> Parsing headers for EyeXSamplesEditor
1> Running UnrealHeaderTool "C:\Users\Greg\Desktop\EyeXforUE4-master\EyeXSamples.uproject" "C:\Users\Greg\Desktop\EyeXforUE4-master\Intermediate\Build\Win64\EyeXSamplesEditor\Development\UnrealHeaderTool.manifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -rocket -installed
1> C:/Users/Greg/Desktop/EyeXforUE4-master/Plugins/TobiiEyeX/Source/TobiiEyeX/Public/EyeXActorBase.h(60) : LogCompile:Error: BlueprintImplementableEvents should not be virtual. Use BlueprintNativeEvent instead.
1> C:/Users/Greg/Desktop/EyeXforUE4-master/Plugins/TobiiEyeX/Source/TobiiEyeX/Public/EyeXActorBase.h(67) : LogCompile:Error: BlueprintImplementableEvents should not be virtual. Use BlueprintNativeEvent instead.
1> Reflection code generated for EyeXSamplesEditor in 7.1229886 seconds
1> Performing 21 actions (4 in parallel)
1> [3/21] Resource PCLaunch.rc
1> [4/21] Resource ModuleVersionResource.rc.inl
1> PCH.EyeXPluginPrivatePCH.h.cpp
1> PCH.EyeXSamples.h.cpp
1> [5/21] Resource ModuleVersionResource.rc.inl
1> [6/21] Resource EyeXSamples.rc
1> EyeXSamples.cpp
1> MyActor.cpp
1> EyeXSamples.generated.cpp
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Source\EyeXSamples\MyActor.cpp(5): error C2059: syntax error : 'string'
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Source\EyeXSamples\MyActor.cpp(5): error C2143: syntax error : missing ',' before '&'
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Source\EyeXSamples\MyActor.cpp(5): error C2059: syntax error : '&'
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Source\EyeXSamples\MyActor.cpp(6): error C2511: 'AMyActor::AMyActor(const FObjectInitializer (__cdecl *)(void))' : overloaded member function not found in 'AMyActor'
1> c:\users\greg\desktop\eyexforue4-master\source\eyexsamples\MyActor.h(11) : see declaration of 'AMyActor'
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Source\EyeXSamples\MyActor.cpp(6): error C2065: 'PCIP' : undeclared identifier
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Source\EyeXSamples\MyActor.cpp(7): error C2550: 'AMyActor::{ctor}' : constructor initializer lists are only allowed on constructor definitions
1> EyeXUtils.cpp
1> EyeXPlugin.cpp
1> EyeXStateAccessor.cpp
1> EyeXPlayerController.cpp
1> TobiiEyeX.generated.cpp
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(47): error C2059: syntax error : 'string'
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(47): error C2143: syntax error : missing ',' before '&'
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(47): error C2059: syntax error : '&'
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(48): error C2511: 'AEyeXPlayerController::AEyeXPlayerController(const FObjectInitializer (__cdecl *)(void))' : overloaded member function not found in 'AEyeXPlayerController'
1> C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Public\EyeXPlayerController.h(63) : see declaration of 'AEyeXPlayerController'
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(48): error C2065: 'PCIP' : undeclared identifier
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(49): error C2550: 'AEyeXPlayerController::{ctor}' : constructor initializer lists are only allowed on constructor definitions
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(51): error C2228: left of '.bCanEverTick' must have class/struct/union
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(54): error C2597: illegal reference to non-static member 'AEyeXPlayerController::DetectionMode'
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(55): error C2597: illegal reference to non-static member 'AEyeXPlayerController::GazePointMode'
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(56): error C2597: illegal reference to non-static member 'AEyeXPlayerController::MaxDistance'
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(57): error C2228: left of '.Add' must have class/struct/union
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(58): error C2597: illegal reference to non-static member 'AEyeXPlayerController::MinUpdateDistance'
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(59): error C2597: illegal reference to non-static member 'AEyeXPlayerController::bVisualizeDetection'
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(60): error C2597: illegal reference to non-static member 'AEyeXPlayerController::SweepSphereRadius'
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(61): error C2597: illegal reference to non-static member 'AEyeXPlayerController::SweepIntervals'
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(62): error C2597: illegal reference to non-static member 'AEyeXPlayerController::BoxSize'
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(65): error C2597: illegal reference to non-static member 'AEyeXPlayerController::EyeX'
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(66): error C2597: illegal reference to non-static member 'AEyeXPlayerController::LastUsedGazePoint'
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXPlayerController.cpp(67): error C2597: illegal reference to non-static member 'AEyeXPlayerController::LastFocusedActor'
1> EyeXDataStream.cpp
1> EyeXClientLibraryLoader.cpp
1> EyeXBlueprintLibrary.cpp
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXBlueprintLibrary.cpp(8): error C2059: syntax error : 'string'
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXBlueprintLibrary.cpp(8): error C2143: syntax error : missing ',' before '&'
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXBlueprintLibrary.cpp(8): error C2059: syntax error : '&'
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXBlueprintLibrary.cpp(9): error C2511: 'UEyeXBlueprintLibrary::UEyeXBlueprintLibrary(const FObjectInitializer (__cdecl *)(void))' : overloaded member function not found in 'UEyeXBlueprintLibrary'
1> c:\users\greg\desktop\eyexforue4-master\plugins	obiieyex\source	obiieyex\private\EyeXBlueprintLibrary.h(15) : see declaration of 'UEyeXBlueprintLibrary'
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXBlueprintLibrary.cpp(9): error C2065: 'PCIP' : undeclared identifier
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXBlueprintLibrary.cpp(10): error C2550: 'UEyeXBlueprintLibrary::{ctor}' : constructor initializer lists are only allowed on constructor definitions
1> EyeXActorBase.cpp
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXActorBase.cpp(7): error C2059: syntax error : 'string'
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXActorBase.cpp(7): error C2143: syntax error : missing ',' before '&'
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXActorBase.cpp(7): error C2059: syntax error : '&'
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXActorBase.cpp(8): error C2511: 'AEyeXActorBase::AEyeXActorBase(const FObjectInitializer (__cdecl *)(void))' : overloaded member function not found in 'AEyeXActorBase'
1> C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Public\EyeXActorBase.h(20) : see declaration of 'AEyeXActorBase'
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXActorBase.cpp(8): error C2065: 'PCIP' : undeclared identifier
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXActorBase.cpp(9): error C2550: 'AEyeXActorBase::{ctor}' : constructor initializer lists are only allowed on constructor definitions
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXActorBase.cpp(11): error C2228: left of '.bCanEverTick' must have class/struct/union
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXActorBase.cpp(14): error C2597: illegal reference to non-static member 'AEyeXActorBase::MinDistance'
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXActorBase.cpp(15): error C2597: illegal reference to non-static member 'AEyeXActorBase::MaxDistance'
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXActorBase.cpp(16): error C2597: illegal reference to non-static member 'AEyeXActorBase::bIgnoreHeightInDistanceCalculation'
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXActorBase.cpp(17): error C2597: illegal reference to non-static member 'AEyeXActorBase::bVisualizeDistance'
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXActorBase.cpp(18): error C2597: illegal reference to non-static member 'AEyeXActorBase::DwellTimeActivate'
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXActorBase.cpp(19): error C2597: illegal reference to non-static member 'AEyeXActorBase::DwellTimeDeactivate'
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXActorBase.cpp(22): error C2597: illegal reference to non-static member 'AEyeXActorBase::bTraceHit'
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXActorBase.cpp(23): error C2597: illegal reference to non-static member 'AEyeXActorBase::bHasFocus'
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXActorBase.cpp(24): error C2597: illegal reference to non-static member 'AEyeXActorBase::CurrentTimeIn'
1>C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Source\TobiiEyeX\Private\EyeXActorBase.cpp(25): error C2597: illegal reference to non-static member 'AEyeXActorBase::CurrentTimeOut'
1> EyeXMathHelpers.cpp
1> -------- End Detailed Actions Stats -----------------------------------------------------------
1>ERROR : UBT error : Failed to produce item: C:\Users\Greg\Desktop\EyeXforUE4-master\Plugins\TobiiEyeX\Binaries\Win64\UE4Editor-TobiiEyeX.dll
1> Total build time: 50.75 seconds
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command ""D:\Games\Unreal\Epic Games\4.9\Engine\Build\BatchFiles\Build.bat" EyeXSamplesEditor Win64 Development "C:\Users\Greg\Desktop\EyeXforUE4-master\EyeXSamples.uproject" -rocket" exited with code -1.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

```

---

<div class="post-metadata">

**Author:** ![TensaiSumo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TensaiSumo](https://forums.unrealengine.com/u/TensaiSumo)\
**Post date:** [March 16, 2016, 4:59pm UTC](https://forums.unrealengine.com/t/eyex-plugin-for-unreal-engine-4-eye-tracking/13353/30 "2016-03-16T16:59:18Z")

</div>

I am currently building a demo with the TobiiEyeX , the plugin works fine in the editor but when I take a build it doesn’t seem to be working . Has anyone else encountered this issue , if yes is there a solution for this.

---

<div class="post-metadata">

**Author:** ![TensaiSumo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TensaiSumo](https://forums.unrealengine.com/u/TensaiSumo)\
**Post date:** [March 17, 2016, 7:25am UTC](https://forums.unrealengine.com/t/eyex-plugin-for-unreal-engine-4-eye-tracking/13353/31 "2016-03-17T07:25:37Z")

</div>

The issue was with the dll , not being found. So either copying the dll manually or add the following line to the plugins build.cs solved the issue for me.

RuntimeDependencies.Add(new RuntimeDependency(“$(ProjectDir)/Plugins/TobiiEyeX/ThirdParty/EyeX/lib/x64/.EyeX.Client.dll”));

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_4b26ad6d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_4b26ad6d](https://forums.unrealengine.com/u/anonymous_user_4b26ad6d)\
**Post date:** [June 20, 2017, 1:10am UTC](https://forums.unrealengine.com/t/eyex-plugin-for-unreal-engine-4-eye-tracking/13353/32 "2017-06-20T01:10:02Z")

</div>

Hi, . Good job  
How does this plug-in be used in UE4, thanks for your guidance

---

<div class="post-metadata">

**Author:** ![Bi2022](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bi2022/32/934168_2.png) [@Bi2022](https://forums.unrealengine.com/u/Bi2022)\
**Post date:** [July 22, 2021, 5:05pm UTC](https://forums.unrealengine.com/t/eyex-plugin-for-unreal-engine-4-eye-tracking/13353/33 "2021-07-22T17:05:08Z")

</div>

Well, if the plugin allow eyetracking, would the VRS plugin work for the same system? As same thing works in VR headset with eyetracker and VRS plugin.

[Previous page](https://forums.unrealengine.com/t/eyex-plugin-for-unreal-engine-4-eye-tracking/13353.md?page=1)
