Developer Documentation
Our new developer documentation is now available. Please check it out!

Unity Tech Demo

David Liebemann at SciCode Studio created a multiplayer playroom with Unity and Photon PUN 2, that showcases all features of ODIN with simple example scripts.

If you want to see it in action, we provide binary releases to download for Windows, Mac and Linux. Download it, run it and give it a try:

Grab the latest release

These ODIN features have been implemented in this sample:

  • Integration of ODIN into a multiplayer framework (in this case Photon PUN 2)
  • Spatial audio - creating a 3D proximity voice chat by using standard Unity components for voice audio playback
  • Usage of audio occlusion and directional effects
  • Ambient effects in some rooms that are automatically applied to voice audio
  • Simulating a radio channel by using a second ODIN room
  • Increasing performance by transmitting player position to the ODIN server to prevent streaming from players too far away
  • Making available various filters (APMs) to improve the audio capture quality

The project is open source and can be found in our Github repository. If you want to get started with ODIN, give it a try as it contains a lot of useful scripts that you can use in your own game (MIT License).

For more in-depth information, take a look at our Multiplayer with Photon guide.

Screenshot from the sample project

Screenshot from the sample project

User manual

After launching the demo you’ll see the lobby screen. Enter a name and press the Join button. You’ll see a cylinder character that you can navigate around using these keys:

InputDescription
WMove forward
SMove backward
AStrafe left
DStrafe right
QRotate left
ERotate right
SHIFTSprint
1Toggle between first person and third person view
CKeep pressed to talk in 3D space
VKeep pressed to talk via radio