Systems | Development | Analytics | API | Testing



Why you should use caching for your Codemagic Unity projects

TL;DR: Caching the Library folder can significantly speed up your Unity builds in CI/CD environments. Codemagic CI/CD also allows you to cache the Unity version of your project so that you don’t need to re-download it each time. When you work on complex Unity projects and start adding more and more resources, you’ll quickly notice that the build times in your Codemagic workflow grow as well.


How to automate delivering Unity apps to testers with CI/CD

TL;DR: It’s critical to deliver the latest builds of your Unity game to testers and stakeholders. You can automate this process by setting up a Codemagic CI/CD pipeline and either using public Codemagic dashboards to access build artifacts or setting up notifications in Discord with links to builds and release notes. Let’s see how we can use automation tools to share our game builds with QA testers and stakeholders!


How to deploy game updates with Unity Cloud Content Delivery and Codemagic

TL;DR: The Unity Cloud Content Delivery tool is a solution that helps deliver data to users in a synchronized way, which speeds up patching and enables live game updates. You can set up a project in Unity’s CCD cloud to deliver your game’s assets to customers’ devices. Additionally, you can integrate CCD with a CI/CD service to ensure consistent delivery of all parts of the updated app and to automate deployment, reducing the amount of manual work.


Building a robust dev/artist collaboration pipeline for your Unity projects with Git and Codemagic

TL;DR: Collaboration between Unity developers and artists can be enhanced by adding some automation tools. For example, using automatic build triggering once a new asset is added allows the artist to see how it looks in the game without bothering the developer, which reduces waiting times and context switching.


Build a live multiplayer game in Unity with Ably

Here at Ably one of our most recent additions has been to introduce beta support for Unity within our.NET SDK. This has been exciting for us: multiplayer functionalities are at the core of so many games these days, and we’re keen to better support and enable developers in creating these amazing experiences.


What is GameCI?

TL;DR: GameCI is a toolbox for building Unity games, which contains a collection of Dockerized Unity Editors for different target platforms, and documentation to set up pipelines using GitLab CI and GitHub Actions. You can use GameCI with any CI platfrom that supports Docker, even with Codemagic. Alternatively, you can use Codemagic’s preinstalled Unity Editor, or install another version.


How to set up Firebase Crashlytics for a Unity Android app

TL;DR: To add events monitoring with Crashlytics to a Unity Android app, you’ll first need to prepare a Firebase project, then add the Firebase plugin to Unity and configure Unity to work with Firebase. Finally, you also need to update your CI/CD pipeline to support the changes. Let’s see how to integrate Firebase Crashlytics into a Unity Android app to monitor and troubleshoot errors easily!


Codemagic publicly launches Unity CI/CD

As you may have noticed from our blog, we’ve been talking a lot about Unity lately. Obviously, this is for a reason. And now I can officially say that Codemagic supports Unity CI/CD. What’s more, it’s publicly available — you can try it out right now! Try Unity CI/CD now! For those of you who are still reading, let me tell you a story.


Building and publishing a VR Unity game for Oculus with Codemagic!

TL;DR: You can automate the publishing of your Unity VR apps to the Oculus Store using Codemagic and the Oculus CLI tools. Creating VR Unity apps is really cool… but how can you easily share them with your friends during the dev phase? In a previous article, I discussed why automating building and publishing of your Unity projects can be interesting and useful, particularly when you want to get continuous feedback from your nice beta testers.


Getting detailed Unity unit test reports with Codemagic!

TL;DR: Unity does give you the test reports but not in a format that is readable by CI/CD. We write a C# script that transforms the NUnit XML format to JUnit XML that Codemagic can read and use to present you with a report on how your tests went. A few weeks ago, I wrote an article about unit testing Unity projects in which I discussed why testing is so valuable for game devs and showed how to re-create a basic Pong game with some unit tests.