# Is there anyway to get OSC Messages in and out of the engine?

**URL:** <https://forums.unrealengine.com/t/is-there-anyway-to-get-osc-messages-in-and-out-of-the-engine/279072>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [March 30, 2014, 9:25pm UTC](https://forums.unrealengine.com/t/is-there-anyway-to-get-osc-messages-in-and-out-of-the-engine/279072 "2014-03-30T21:25:24Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![reedandrader](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@reedandrader](https://forums.unrealengine.com/u/reedandrader)\
**Post date:** [March 30, 2014, 9:25pm UTC](https://forums.unrealengine.com/t/is-there-anyway-to-get-osc-messages-in-and-out-of-the-engine/279072/1 "2014-03-30T21:25:24Z")

</div>

Hello all,

Curious if there is a way to get OSC messages in and out of the engine much like there is in Unity3D. The purpose would be for computer vision tracking and other interactive installation type projects.

I’ve seen things like [this](https://ccrma.stanford.edu/wiki/UDKOSC) before for UE3 but was looking for a more native based solution. Support like this would bring over a lot of people from the hacker friendly Unity.

Thanks.

---

<div class="post-metadata">

**Author:** ![amigo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@amigo](https://forums.unrealengine.com/u/amigo)\
**Post date:** [March 31, 2014, 1:53am UTC](https://forums.unrealengine.com/t/is-there-anyway-to-get-osc-messages-in-and-out-of-the-engine/279072/2 "2014-03-31T01:53:36Z")

</div>

I have not done this myself as it is beyond my capabilities at the moment, but I would guess from other experience that you could directly implement whatever CV library you wish to use in UE4, perhaps through a blueprint or as middleware.

Same would go for OSC but then why have another layer in-between if it might not be necessary?

---

<div class="post-metadata">

**Author:** ![showpixel](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/showpixel/32/468801_2.png) [@showpixel](https://forums.unrealengine.com/u/showpixel)\
**Post date:** [June 16, 2014, 3:22pm UTC](https://forums.unrealengine.com/t/is-there-anyway-to-get-osc-messages-in-and-out-of-the-engine/279072/3 "2014-06-16T15:22:23Z")

</div>

Because, we want to control the UE scene from outside the gaming world over network with a osc software like Lemur.

---

<div class="post-metadata">

**Author:** ![showpixel](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/showpixel/32/468801_2.png) [@showpixel](https://forums.unrealengine.com/u/showpixel)\
**Post date:** [July 24, 2014, 3:34pm UTC](https://forums.unrealengine.com/t/is-there-anyway-to-get-osc-messages-in-and-out-of-the-engine/279072/4 "2014-07-24T15:34:52Z")

</div>

I found under Plugins/Devices the LiveEditor Version1.0.  
this looks as there is already some midi/osc functionality implemented, but its experimental and not documented

There is on the developerforum a thread from march14:  
https://forums.unrealengine.com/showthread.php?11621-Developerment-in-LiveEditor-plugin-to-MIDI-Protocols

---

<div class="post-metadata">

**Author:** ![Uninventive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Uninventive](https://forums.unrealengine.com/u/Uninventive)\
**Post date:** [September 28, 2014, 2:31pm UTC](https://forums.unrealengine.com/t/is-there-anyway-to-get-osc-messages-in-and-out-of-the-engine/279072/5 "2014-09-28T14:31:45Z")

</div>

I just published the first version of UE4OSC. It is a free, open-source plugin that allows Unreal Engine 4 to communicate send and receive OSC messages.

It has a page on the Unreal Engine Wiki, and is on GitHub.

> **[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...

> **[GitHub - zachrkn/UE4OSC: A plugin for Unreal Engine 4 allowing it to...](https://github.com/zachrkn/UE4OSC)**
>
> A plugin for Unreal Engine 4 allowing it to communicate with other applications over the Open Sound Control protocol. - GitHub - zachrkn/UE4OSC: A plugin for Unreal Engine 4 allowing it to commun...

It is has basic functionality at this point in time, but I will continue to expand it based on my own process and any feature requests I get.

---

<div class="post-metadata">

**Author:** ![reedandrader](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@reedandrader](https://forums.unrealengine.com/u/reedandrader)\
**Post date:** [September 29, 2014, 5:38pm UTC](https://forums.unrealengine.com/t/is-there-anyway-to-get-osc-messages-in-and-out-of-the-engine/279072/6 "2014-09-29T17:38:37Z")

</div>

This is great work!

I cannot wait to try this out.

---

<div class="post-metadata">

**Author:** ![showpixel](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/showpixel/32/468801_2.png) [@showpixel](https://forums.unrealengine.com/u/showpixel)\
**Post date:** [October 1, 2014, 11:04am UTC](https://forums.unrealengine.com/t/is-there-anyway-to-get-osc-messages-in-and-out-of-the-engine/279072/7 "2014-10-01T11:04:18Z")

</div>

I tried to run ue4osc. It gives me an compability error in 4.4.3 and it asks for recompile. Is there a fix for this without recompiling or what am i doing wrong?  
Thanks

---

<div class="post-metadata">

**Author:** ![Uninventive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Uninventive](https://forums.unrealengine.com/u/Uninventive)\
**Post date:** [October 1, 2014, 1:37pm UTC](https://forums.unrealengine.com/t/is-there-anyway-to-get-osc-messages-in-and-out-of-the-engine/279072/8 "2014-10-01T13:37:47Z")

</div>

Thanks for the bug report! I compiled this [the UE4OSC plugin] in 4.4.3, 64 bit. I’m new to this, so I don’t already have a solution for you, but perhaps we can find one. Can you give more information about the compatibility error you are receiving? Also, are you using a compiled-from-source version of UE4, or the installation version?

---

<div class="post-metadata">

**Author:** ![monsieurgustav](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@monsieurgustav](https://forums.unrealengine.com/u/monsieurgustav)\
**Post date:** [October 6, 2014, 11:17am UTC](https://forums.unrealengine.com/t/is-there-anyway-to-get-osc-messages-in-and-out-of-the-engine/279072/9 "2014-10-06T11:17:28Z")

</div>

I released my OSC plugin here:

> **[GitHub - monsieurgustav/UE4-OSC: OSC plugin for Unreal Engine 4 Blueprints](https://github.com/monsieurgustav/UE4-OSC)**
>
> OSC plugin for Unreal Engine 4 Blueprints. Contribute to monsieurgustav/UE4-OSC development by creating an account on GitHub.

It receives and sends OSC messages in Blueprints. It manages float, integer, bool and string parameters.

Right now, you must compile it yourself though…

---

<div class="post-metadata">

**Author:** ![showpixel](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/showpixel/32/468801_2.png) [@showpixel](https://forums.unrealengine.com/u/showpixel)\
**Post date:** [November 2, 2014, 11:23am UTC](https://forums.unrealengine.com/t/is-there-anyway-to-get-osc-messages-in-and-out-of-the-engine/279072/10 "2014-11-02T11:23:02Z")

</div>

Hello MonsieurGustav, i am really new to this, i am not able to compile your plugin. Could you please compile it for me to 4.5.1?? That would be a great help. Thanks in advance!

---

<div class="post-metadata">

**Author:** ![monsieurgustav](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@monsieurgustav](https://forums.unrealengine.com/u/monsieurgustav)\
**Post date:** [November 2, 2014, 4:48pm UTC](https://forums.unrealengine.com/t/is-there-anyway-to-get-osc-messages-in-and-out-of-the-engine/279072/11 "2014-11-02T16:48:45Z")

</div>

I’m sorry, but I won’t do it because it is a lot of work… and to be honest, unreal engine itself compiles just what is needed to match the need (editor, development, shipping, Windows, MacOS, etc.) very easily.

- I suggest you install Visual Studio Desktop 2013 (free) on Windows.
- Create a new C++ project, or “file/add code” to an existing project.
- Create a Plugins folder, where you put the OSC plugin code.
- Open the .uproject file.

And that’s it ! You don’t need any programming skill to do it, really.

Also, have a look there :

> **[\[Feature Request\] OSC, MIDI, and Syphon](https://forums.unrealengine.com/showthread.php?6353-Feature-Request-OSC-MIDI-and-Syphon)**
>
> Hello devs, I came here on behalf of some of my fellow live visual artist developer friends, casually called VJs. We often work in many different programming environments with various tools to try to accomplish our visions whether simple generative...

And post any question there :

> **[\[Plugin\] OSC for UE4](https://forums.unrealengine.com/showthread.php?49627)**
>
> I released my OSC plugin here: It receives and sends OSC messages in Blueprints. It manages any number of float, integer, bool and string parameters. Works in 4.4 and 4.5. Tested on Windows and MacOSX. Follows \[Feature Request\] OSC, MIDI, and...

Cheers,  
Guillaume

---

<div class="post-metadata">

**Author:** ![showpixel](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/showpixel/32/468801_2.png) [@showpixel](https://forums.unrealengine.com/u/showpixel)\
**Post date:** [November 2, 2014, 7:13pm UTC](https://forums.unrealengine.com/t/is-there-anyway-to-get-osc-messages-in-and-out-of-the-engine/279072/12 "2014-11-02T19:13:24Z")

</div>

Hi Guillaume,  
thanks a lot! I got it working and i am very happy!  
Thanks again!

---

<div class="post-metadata">

**Author:** ![showpixel](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/showpixel/32/468801_2.png) [@showpixel](https://forums.unrealengine.com/u/showpixel)\
**Post date:** [November 3, 2014, 11:05am UTC](https://forums.unrealengine.com/t/is-there-anyway-to-get-osc-messages-in-and-out-of-the-engine/279072/13 "2014-11-03T11:05:44Z")

</div>

![19858-osc_variables_readout.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/d/7/1d701b00f1e057301ea89862428c7e92f9aef2cc.png)

I want to readout two osc values and put them in 2 variables, so i can access them in the levelbp.  
At the moment i only set one variable, the other one stays at 0. What am i doing wrong here?  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![monsieurgustav](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@monsieurgustav](https://forums.unrealengine.com/u/monsieurgustav)\
**Post date:** [November 5, 2014, 7:42pm UTC](https://forums.unrealengine.com/t/is-there-anyway-to-get-osc-messages-in-and-out-of-the-engine/279072/14 "2014-11-05T19:42:58Z")

</div>

I just tried it at home, using the same graphes as you did, and it works…

Re-check that your OSC message has (at least) 2 parameters.  
And look at the blueprint execution…

I have no other idea.

---

<div class="post-metadata">

**Author:** ![mitjaprelovsek](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mitjaprelovsek](https://forums.unrealengine.com/u/mitjaprelovsek)\
**Post date:** [June 1, 2018, 12:25pm UTC](https://forums.unrealengine.com/t/is-there-anyway-to-get-osc-messages-in-and-out-of-the-engine/279072/15 "2018-06-01T12:25:23Z")

</div>

Hi,

Sorry for the self-promotion, but if you don’t mind using a third party software then you might want to have a look at [Lightact](http://lightact-systems.com).

Also, check out a tutorial on OSC inputs to UE4:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/7/f/97f2a900f36ea61979394aa2dd03d202b1b08245.jpeg "Unreal Engine 4 & OSC with Lightact Media Server | Lightact") ](https://www.youtube.com/watch?v=nakLMORjyc0)
