Skip to the main content.

Did you know?

 

RTI is the world’s largest DDS supplier and Connext is the most trusted software framework for critical systems.

Success-Plan-Services-DSSuccess-Plan Services

Our Professional Services and Customer Success teams bring extensive experience to train, problem-solve, mentor, and accelerate customer success.

Learn more

Developers

From downloads to Hello World, we've got you covered. Find all of the tutorials, documentation, peer conversations and inspiration you need to get started using Connext today.

Try the Connectivity Selection Tool ⇢

Resources

RTI provides a broad range of technical and high-level resources designed to assist in understanding industry applications, the RTI Connext product line and its underlying data-centric technology.

Company

RTI is the infrastructure software company for smart-world systems. The company’s RTI Connext product is the world's leading software framework for intelligent distributed systems.

Contact Us

News & Events
Cooperation

Gaming Visualizations with RTI Connext and Unity® Integration

⇠ All Case + Code Examples

Case-Code-hero

Introduction

RTI Connext is a peer-to-peer connectivity framework that fits the requirements of high-performance distributed simulation environments. Connext lets you fine-tune data streams for your network, and trade off latency and throughput – all through configuration – to allow you to get  the performance and scalability you need without changing your source. In this Case + Code example, we show how  Connext can feed real-time data into an Unity project and vice versa, for a more immersive and realistic simulation experience.

The following sections show coding examples of step-by-step instructions on how RTI Connext Professional can be used in conjunction with Unity. The example builds on the popular RTI Shapes demo application. 

What This Example Does

This example walks through a simple shapes publisher and subscriber within Unity. It addresses many of the Connext features such as dynamic data types, handling of instances, scalability considerations, etc. You can build the examples yourself to look at the source code, or if you are only interested in configuration, you can run the pre-built applications and look at just the XML configuration.

This example shows a Shapes publisher and subscriber in Unity. The Unity application can subscribe and publish Squares, Triangles, and Circles of different colors, similar to the RTI Shapes demo application. RTI Shapes Demo (Shapes) is a tool you can use to learn about basic and some advanced DDS concepts, such as publish-subscribe messaging, data centricity, and Quality of Service (QoS). Shapes is a standalone graphical application that does not require any programming. Starting with our walkthrough, anyone, including developers, students and business professionals, can learn DDS with Shapes. Check out Shapes for more information.

Instructions

Each training module builds on the one before, so it is advised to follow them in order. Each module has been recorded and the links to each video are found within each module.

See Module 6 for Next Steps and links to this Case + Code example on GitHub.

Unity Case + Code Modules

Module #1

Configuring your Unity Application

Get Started ⇢

Module #2

Testing your Connection

Get Started ⇢

Module #3

Subscribing to a Single Topic

Get Started ⇢

Module #4

Using an Object Manager to Subscribe to Multiple Instances

Get Started ⇢

Module #5

Expanding to Multiple Topics

Get Started ⇢

Module #6

Publishing a Shape in 3 Dimensions 

Get Started ⇢