Posts Tagged editor

Job-Safe APIs in Unity 2019.3

Tags: , ,

Today’s article continues the series by finding all the job-safe APIs in the Unity engine as of 2019.3. We’ll compare against 2019.1 to see what’s new!

Read the rest of this article »

No Comments

Job-Safe APIs in Unity 2019.1

Tags: , ,

With each new release of Unity, more and more job-safe APIs are added. Today we’ll look at the new ones and learn how we can move even more code into high-performance C# jobs.

Read the rest of this article »

2 Comments

Job-Safe APIs in Unity 2018.3

Tags: , ,

Unity 2018.3 brings us even more thread-safe APIs that we can call from the C# job system. Today we’ll look at a systematic way to find them all so we know what’s safe to use and what’s not.

Read the rest of this article »

3 Comments

C++ Scripting: Part 8 – Platform-Dependent Compilation

Tags: , , , ,

The series continues today to fill a small, but important gap in the C++ plugin’s build script. Unity helpfully provides symbols like UNITY_IOS for us to check with #if. This lets us add and remove blocks of code that should only be present in a certain build of the game. We’d like the same functionality in C++ that Unity provides to C#, so today we’ll upgrade the build script to allow that.

Read the rest of this article »

No Comments

Unity Performance: Editor vs. Standalone

Tags: ,

Unity apps are usually developed within the Unity Editor and then published to standalone apps for iOS, Android, Windows, Mac, and so forth. We’d therefore like to think that what we’re seeing in the Editor is very close to what we’ll see once we publish the app. In many cases, this is true. However, when it comes to performance this is sometimes a bad assumption to make.

Read the rest of this article »

6 Comments