A tool to receive ArtNet in Unity(C#).
This library allows you to handle ArtNet in Unity(C#). It includes an editor extension for checking the status of ArtNet reception and saving and sending ArtNet DMX packets without running the game.
magicq_demo.mp4
You can install it with Unity Package Manager.
- Open
Window
>Package Manager
in Unity. - Click the
+
button and selectAdd package from git URL
. - Enter the following URL and click the
Add
button.
https://github.com/nasshu2916/ArtNet-Unity.git?path=/Assets/ArtNet#master
Note
Unity 2021.3.1 (C# 9) or later is required.

- Add
ArtNet
prefab to your scene orArtNetReceiver
to GameObject. - set your script to
ArtNetReceiver
's callback property. (selectEditor or Runtime
) - start
ArtNetReceiver
'sautoStart
property or callStartReceive
method.
- OpPoll
- OpPollReply
- OpDmx
This editor extension can check the received ArtNet status without running the editor.
When the window is displayed, ArtNet packets are not received. Therefore, you need to press the Start Receive ArtNet Packet
button to start receiving.
You can check the time of the last ArtNet packet received and the contents of the OP Code. You can also check the last received DMX value per Universe.
This editor extension can save ArtNet packets without playing the editor.
By pressing the record start button, the reception and saving of ArtNet packets will start. You can save the received ArtNet packets in Animation Clip or Binary format until you press the stop button. The recorded Binary file is saved in a custom format, and you can play the recorded ArtNet packets using the DmxPlayer.
The recorded Animation Clip can be played using the Animation component. The recorded Binary file can be played using the DmxPlayer.
This editor extension can play recorded ArtNet packets by the saved Binary file
This Editor extension can re-transmit the recorded ArtNet packets by the saved DmxRecorder Binary file. You can loop the playback and change the playback speed. Also, this editor extension can transmit multiple destination IP addresses and ports.
An editor extension for checking the DMX values managed by DmxManager Class. This editor extension is only available when the game is running.