Search Unity

Tag archives: il2cpp

Scripting Runtime Improvements in Unity 2018.2

July 11, 201833

We’ve been hard at work improving the updated scripting runtime since our last update. Unity 2018.2 ships with dozens of bug fixes related t... Read more

IL2CPP Optimizations: Avoid Boxing

August 11, 201617

In this final episode of our IL2CPP micro-optimization miniseries, we’ll explore the high cost of something called “boxing”, and we’ll see h... Read more

IL2CPP Optimizations: Faster Virtual Method Calls

August 4, 20165

Last time we learned that virtual method calls are slower than direct calls, and we found out how to tell IL2CPP that a given virtual method... Read more

IL2CPP Optimizations: Devirtualization

July 26, 201660

The scripting virtual machine team at Unity is always looking for ways to make your code run faster. This is the first post in a three part ... Read more

Unity joins the .NET Foundation

April 1, 201646

Today at Build, Microsoft announced that Unity is joining the .NET Foundation. Quoting from the announcement: “This marks an important mil... Read more

10000 Update() calls

December 23, 201576

Unity has so-called Messaging system which allows you to define a bunch of magic methods in your scripts which will be called at specific ev... Read more

IL2CPP Internals: Testing frameworks

July 20, 20157

This is the eighth and final post in the IL2CPP Internals series. In this post I’ll deviate a bit from the content of previous posts, and no... Read more

IL2CPP Internals – Garbage collector integration

July 9, 201510

This is the seventh post in the IL2CPP Internals series. In this post, we will explore a bit about how the IL2CPP runtime integrates with a ... Read more

IL2CPP Internals: P/Invoke Wrappers

July 2, 201510

This is the sixth post in the IL2CPP Internals series. In this post, we will explore how il2cpp.exe generates wrapper methods and types use ... Read more

IL2CPP Internals: Generic sharing implementation

June 16, 201512

This is the fifth post in the IL2CPP Internals series. In the last post, we looked at how methods are called in the C++ code generated for t... Read more

IL2CPP Internals: Method calls

June 3, 201514

This is the fourth blog post in the IL2CPP Internals series. In this post, we will look at how il2cpp.exe generates C++ code for method call... Read more

IL2CPP Internals – Debugging tips for generated code

May 20, 20157

This is the third blog post in the IL2CPP Internals series. In this post, we will explore some tips which make debugging C++ code generated ... Read more

IL2CPP Internals: A Tour of Generated Code

May 13, 201524

This is the second blog post in the IL2CPP Internals series. In this post, we will investigate the C++ code generated by il2cpp.exe. Along t... Read more