Insights From The Blog
What’s New in Unity Release 2021.2.8?
Yes, okay, we know that it’s now 2022, but Unity releases don’t come long that often, however, when they do, it’s usually well worthwhile. There are a huge range of updates and improvements in the latest release, and if you haven’t already upgraded, now is the time to do it.
Unity is becoming increasingly powerful, and with greater than ever content, it is fast becoming the platform of choice for a growing number of developers for creating real-time 3D projects for games, animation, cinema, automotive, transportation, architecture, engineering, manufacturing, and construction projects. Additionally, Unity features many new sophisticated tools, such as Timeline and Cinemachine, that enable artists to create cinematic-level material and advanced gameplay sequences without the assistance of a specialist developer. The Unity software is now fully free for beginners, students, and hobbyists who wish to learn more about and get started with it. There is no need to pay royalties or provide credit card information. Furthermore, you, as the developer, retain complete ownership of any material you create!
Unity Personal is a fantastic resource for beginners and enthusiasts alike, and is sufficiently intuitive to make access to innovative features easy. It gives you access to all of the core game engine capabilities, as well as to continual upgrades, beta releases, and all of the publishing channels available today. However, for the more advanced users who want to take advantage of their recent improvements, the current edition is brimming with upgrades and fixes that will make their workflow more productive. Some of the features that were introduced, altered, or improved in release 2021.2.8, include:
- An added support for Il2CppSetOption attribute on structs and assemblies. The IL2CPP provides better support for applications across a wider range of platforms. The upgrade in support means that it has even greater range and wider support functions.
- API Changes. The Unity Scripting API is a programming interface that allows you to interact with Unity’s game engine and editor programmatically. Every item you may place in a scene has a Class, and each class has an API that you can use to modify the object via programming. The latest changes make interfacing with the API easier and more intuitive.
- There is a new version of GetTrails that doesn’t allocate any garbage. The GetTrails extension is an inherent part of the particle system and this upgrade gives it even greater range and flexibility.
In addition to these updates, there are, as always, a large number of fixes that have been carried out on the core code to make it stronger, safer, and more flexible. The Unity engine is now an enormous amalgamation of code and some bugs and issues may take time to surface however, once they do, Unity’s team of developers are quickly on the case to remedy it. Among the many fixes that have been addressed in this latest release are:
- Android-interface related: Fixed a Java local reference leak when array is returned when using AndroidJavaObject/AndroidJavaClass, remedied a crash when modifying an animation override controller which was in use during a state machine enter/exit behaviour callback, and fixed the app crashing when calling Cursor.visible or Cursor.SetCursor many times during a frame.
- Editor related: Unity have fixed a Null reference exception on enabling constrain proportions scale for a freshly created Rect Transform object as well as addressing an issue where keyUp events were never received in the macOS editor under play mode. Developers have also fixed an issue where selecting a scene template modified its dependencies.
- Shader fixes: The developers have fixed an issue where the shader name was not added to the error description when failing to compile or link GLSL shaders, and fixed an issue where the output of the “Compile and show code” button was capped to 2GB on Windows. They have also addressed an OOM crash when preparing shaders with a large number of variants (>100 million) for compilation.
- UI toolkit fixes. Unity have modified a UIDocument sort order issue when multiple ones had the same sort order value but some of them were disabled, and fixed an issue where the icon in the UXML preview header would not open the UXML file in the IDE (the UI Builder module).
These are just a few of the issues that Unity have addressed in the latest release, and they are dealing with more as they become uncovered.
The continuous upgrades enable developers to work with the most up-to-date and most sophisticated capabilities for high-end graphics, music, animation, and physics – everything you need to create any kind of video game or an application. Get the latest version of Unity, and start creating with greater confidence today.