• Image
  • Image
  • Image
  • Image
  • Image
  • Image
  • Image
  • Image
  • Image
  • Current Version: 1.13.0: 2024-05-02T12:31:13Z
  • First Published: 2022-03-14T17:04:12Z
  • Size: 841680
  • Supported Unity Versions: 2020.3.47
tools utilities

Websocket and REST Server

(3 Votes)
$9.97 $9.97

Documentation | ChangeLog | Support Form | Feature Requests | Tutorials


Create a REST server within Unity to provide an Http API for other tools to call into your Unity application.


Use cases:

  • 📱 Mobile Browser Apps
  • 🤝 Companion apps for games
  • 👾 Twitch Overlays
  • 🧑‍💻️ Render Servers
  • 🖥 Remote Installations / Displays
  • ...

This is useful to accept commands from companion apps and/or other applications to make Unity more interactive.


Also useful to have remote light installations or displays, that can then be controlled by other commanding software.


Features:

  • Supports Visual Scripting
  • Auto Endpoints (Position/Rotation/Scale, Material and more)
  • Fast, handles multithreading so unity objects can be accessed safely
  • Includes the NetCoreServer library (MIT License), which is a C# server library
  • Supports HEAD, GET, POST, PUT, DELETE, OPTIONS by default and, with a custom implementation, all other methods
  • Register endpoints either directly or with regular expression support
  • Supports query parameters like ?x=3&y=3
  • Includes helper functions to call unity objects from rest server code.
  • Debugging Utilities
  • Simple WebSocket support
  • Handle Multipart Form Uploads
  • Platform Support (tested)
    • Windows (Mono/IL2CPP)
    • Mac M1/Intel (Mono/IL2CPP)
    • Android
    • iOS
    • ⛔ Game Consoles (Untested, I doubt that a platform would allow a game to create servers)
    • ⛔ WebGL (Technically not possible in Unity)


Add to cart
This site contains affiliate links, which means that we can receive a commission if you click on a link and buy something that we have recommended.
Although clicking on these links will not cost you anything, they will help us finance our development projects while recommending good products!