Repository navigation
FAQ
Unity Remote Server is a lightweight HTTP server that runs inside Unity Editor, providing REST APIs for remote control and automation. It enables automated testing, CI/CD integration, and remote development workflows.
The server starts automatically when Unity Editor launches and listens on port 8787 (by default). It provides REST API endpoints that allow external tools and scripts to control Unity operations like building, refreshing assets, and monitoring compilation.
Yes, by default the server only binds to localhost (127.0.0.1), preventing external access. All operations require Unity Editor to be running locally.
Unity 2020.3 LTS and higher. The package has been tested with:
- Unity 2020.3 LTS
- Unity 2021.3 LTS
- Unity 2022.3 LTS
- Unity 2023.1+
Yes, Unity Remote Server is open source under the MIT License.
Three methods:
-
Unity Package Manager (Recommended):
- Add via git URL:
https://github.com/dsgarage/UnityRemoteServer.git
- Add via git URL:
-
Unity Package File:
- Download
.unitypackagefrom Releases - Import into Unity
- Download
-
Manual:
- Download and extract to your project's
PackagesorAssetsfolder
- Download and extract to your project's
No, the server starts automatically with zero configuration. You can optionally customize settings like port number.
Yes, it's designed to be non-intrusive and works with any Unity project.
Check the Unity Console for:
[Remote] Listening on http://127.0.0.1:8787/
Or test with:
curl http://127.0.0.1:8787/healthYes! The REST API can be accessed from any language that supports HTTP:
- Shell scripts (curl)
- Python
- Node.js
- C#
- Java
- Any other language with HTTP support
- Build projects for any platform
- Refresh and reimport assets
- Monitor compilation status
- Read console logs and errors
- Clear console
- Custom operations via extension
Yes, you can register custom endpoints:
RemoteServer.RegisterCustomEndpoint("/custom/hello", (context) => {
RemoteServer.SendJsonResponse(context, new { message = "Hello!" });
});Yes, we provide examples for GitHub Actions integration. See CI/CD Integration guide.
Yes, it works with any CI/CD system that can make HTTP requests. We provide examples for popular CI/CD platforms.
Unity can run in Docker with Remote Server. See our Docker examples in the CI/CD Integration guide.
Yes, as long as Unity Editor can run on the build server (with appropriate license).
Common causes:
- Unity Editor is not running
- Package not installed correctly
- Port 8787 is blocked or in use
- Firewall blocking local connections
Check:
- Unity Console for errors
- Build settings are configured correctly
- Required platform modules are installed
- Sufficient disk space
Yes:
DSGarage.UnityRemoteServer.RemoteServer.Port = 8080;Enable debug logging:
DSGarage.UnityRemoteServer.RemoteServer.EnableDebugLogging = true;Minimal impact. The server runs on a separate thread and only processes requests when received.
The server can handle multiple concurrent requests, but Unity operations are queued to the main thread for safety.
Yes, it's designed to work efficiently with projects of any size.
Yes, each instance needs a different port:
- Instance 1: Port 8787
- Instance 2: Port 8788
- etc.
Not recommended for security. The server binds to localhost only. If absolutely needed, you can modify the binding address, but this exposes your Unity Editor to network attacks.
No, Unity Cloud Build doesn't run Unity Editor. Remote Server requires a local Unity Editor instance.
While not designed for real-time multiplayer, you could use it to orchestrate multiple Unity instances for testing.
Yes, fully supported on Windows 10 and 11.
Yes, fully supported on macOS 10.14 and higher, including Apple Silicon.
Yes, works on Ubuntu, Debian, and other distributions that support Unity Editor.
Yes, you can build for:
- Android (APK/AAB)
- iOS (Xcode project)
Ensure you have the appropriate platform modules installed.
Unity Remote Server provides:
- REST API interface (no Unity knowledge required)
- Language-agnostic (use any programming language)
- Real-time status monitoring
- Easy CI/CD integration
Batch mode is command-line only. Remote Server provides:
- Interactive API while Unity runs
- Real-time feedback
- Multiple operations without restart
- Better error reporting
Unity Cloud Build is a cloud service. Remote Server:
- Runs locally (no cloud dependency)
- Free and open source
- Full control over build environment
- Instant feedback
- Report bugs via GitHub Issues
- Submit pull requests
- Improve documentation
- Share your use cases
Create an issue on GitHub with:
- Unity version
- Operating system
- Steps to reproduce
- Error messages
Yes, the MIT License allows commercial use.
- WebSocket support for real-time updates
- More built-in endpoints
- Unity Cloud Build integration
- Performance profiling endpoints
- Asset bundle building
We focus on LTS versions. Older versions might work but aren't officially supported.
Check our GitHub Projects for planned features.
- Check Documentation
- Read Troubleshooting guide
- Ask in Discussions
- Create an Issue