Containerizing Unity WebGL/WebGPU builds: Host Your Game with Docker and Nginx
When working with Unity projects supporting WebGL/WebGPU, setting up a consistent environment for development, testing, and production can quickly become a challenge. Docker solves this problem by providing lightweight, reproducible containers that bundle your Unity Web build with everything it needs to run. Developers can spin up an identical environment on their local machine, a staging server, or in production – ensuring consistent behavior across the entire pipeline. With Docker, testing is more reliable, deployment is streamlined, and scaling becomes as simple as running more containers, and moving from a cloud provider to your own servers is as simple as…
Automating Unity Builds with CI/CD
In this article, we’ll look at Unity APIs and supporting tools that can help you create a robust CI/CD pipeline for your projects. A complete example project – including the Unity project, Jenkins configuration, Docker containerization templates, and scripts – is available here: GitHub Repository Why Automate Builds? Save Development Time Over the lifetime of a project, you’ll probably create hundreds or even thousands of builds for QA, internal testing, and release. Automating these steps saves countless hours compared to manual workflows, far outweighing the time required to build the automation system. Ensure Consistency Build pipelines eliminate human error. Instead…
iOS SwiftUI Apple Maps: Show User Location and Prevent Map Annotations from Rotating with the Map
While working on an iOS app that uses Apple Maps, I was surprised to discover that there’s no built-in option to prevent map annotations (markers) from rotating with the map, nor is there a standard way to keep the user’s location and heading visible at all times. This short blog post demonstrates a practical approach to always displaying the user’s position and showing device rotation alongside it. How It Works In this example, the ViewModel uses CLLocationManager to receive updates about the device’s location and heading. We also track changes to the map camera and store the camera’s heading angle.…