Crash iOS Stability Unity

How To Fix Deep Link/Push Notifications Crashes On Unity iOS (and Why Software Design Matters)

A crash that happens when opening the app via a notification or a deep link occurred after the Unity version update due to the Apple Privacy Manifest requirement.
Strangely, it was reproduced only on iOS 15 and 16, while working correctly on iOS 17.
It affected various versions, including 2021.3, 2022.3, and 2023.3. Let’s dissect how to fix it and what was the cause.

DOTS ECS Entities Job System Optimization Performance Testing

Unity ECS Performance Testing: The Way To The Best Performance

In this series extension, we deep dive into performance testing for Unity ECS. With Unity’s multiple approaches to do the same thing, testing has been crucial in optimizing my game. Many developers, like me, held off using Unity.Entities until the 1.0 launch because the API kept changing. Performance testing allows us to compare different techniques quickly. Talking about parallelization, it’s hard to tell if your code is running better on the main thread or otherwise, unless you test it. Through testing, we can decipher minute performance differences. I also use tests to track performance after optimization attempts and minor code updates. I’ve further explained the test setup and provided code examples for clarity.

DOTS ECS Entities Testability Testing

Unit Testing Made Easy: Unity ECS Best Practices

Incorporating automated testing in game development helps ensure core logic functions correctly despite data modifications from other systems. This post explores unit testing within ECS games, particularly in Unity.Entities. I will share how I write unit tests for key systems and demonstrate how to easily set up testing for games built with Unity ECS, using my game as an example.

BatchRendererGroup Rendering Shader

How To Write A Custom URP Shader With DOTS Instancing Support

I wanted to enhance the look of my boids BatchRendererGroup (BRG) sample with more suitable meshes instead of cubes. For that I decided to use a custom shader with some simple procedural vertex animation. For me, who hasn’t worked with URP or HDRP in production, this turned out to be quite a journey. So I am sharing the solution so you don’t have to spend your time.