---
title: "UNIGINE 2.21.0.2 Hotfix"
version: "2.21.0.2"
release_date: 2026-05-05
lang: en
slug: "unigine2.21.0.2"
entry_id: "159_2"
author: "fox@unigine.com"
source: "20260505-unigine-2.21.0.2/index.xml"
source_url: "https://developer.unigine.com/devlog/20260505-unigine-2.21.0.2"
---

# UNIGINE 2.21.0.2 Hotfix

**2.21.0.2** Hotfix has been released!

Thank you all for your valuable feedback and bug reports helping us get better. This hotfix resolves a number of issues introduced in 2.21.

**Upgrading to 2.21.0.2 does not require any code or content migration.**

The updated version of the documentation is available as [2.21](https://developer.unigine.com/en/docs/2.21).

## Engine

- Adjusted viewport post-processing control so ***VIEWPORT_SKIP_POSTEFFECTS*** skips only post-effects while preserving upscalers by default, as upscalers are now only disabled when explicitly requested via their own flag (***SKIP_UPSCALE***) introduced in the previous Hotfix (2.21.0.1), preventing unintended skipping in multi-viewport rendering setups.
- Fixed an issue with incorrect migration of GLB models in 2.21, where disrupted runtime order in the ***.glb.meta*** file caused meshes to be assigned to wrong nodes.
- Fixed a crash in the GLTF importer when importing skinned meshes containing multiple weight/joint sets, caused by incorrect handling of skinning data during surface creation.
- Fixed a crash and freeze in *ObjectLandscapeTerrain* during the *RestoreState* operation caused by incorrect resizing logic of terrain details, where inverted conditions could lead to infinite detail allocation or invalid deletion.
- Fixed a non-deterministic D3D12 device removal crash when force streaming was enabled, caused by unsafe multithreaded command list usage during streaming operations.
- Fixed an issue with incorrect interaction of the *WorldTrigger* with physical objects (such as *Rigid* bodies) after some fixes in 2.21, that caused issues with detection of trigger overlap events.
- Fixed an issue where child nodes of *ObjectWaterGlobal* were offset after upgrading projects from version 2.21 or earlier. During migration, transforms are now preserved by introducing a parent Dummy node to compensate for position shifts, preventing unintended movement of water-related objects. Note: ***this fix does not apply to projects that were already migrated to version 2.21.0.1***.
- Fixed an issue where migrating ***.anim*** files incorrectly generated non-functional .skeleton assets (with invalid file type metadata), resulting in unnecessary skeleton files being created during animation migration from /data, without affecting runtime behavior.
- Fixed a case-sensitive issue in ***.mesh*** file migration where legacy mesh files with uppercase or mixed-case extensions (e.g. ***.MESH, .MeSh***) were skipped due to case-sensitive extension filtering in migration scripts.
- Improved ***.mesh*** migration robustness by introducing handling for corrupted mesh files with invalid index buffers: such files are now skipped with a warning instead of causing migration failures, and are reported for manual inspection after migration.
- Fixed an issue where source migration (*Patching Project Files*) failed when the project path contained spaces, causing ***.csproj*** files not to be migrated correctly.
- Fixed an issue in the migration pipeline where errors in a specific migration step (e.g. 2.20) did not stop the overall process, allowing subsequent migrations (e.g. 2.21) to continue and resulting in partially migrated project data; migration is now fully aborted on any error with a clear diagnostic message indicating the exact stage and source of failure.
- Improved Device Removed handling by replacing fatal logs with a clearer "*GPU Crash Detected*" message and adding basic troubleshooting steps. Added integration of DirectX Device Removed Extended Data (DRED), its output is to be added to the new "GPU Crash Detected" error message, improving initial diagnostics of GPU device removal issues.
- Fixed excessive VRAM growth and GPU load on window minimize (with *background_update* enabled), especially at high DPI, caused by incorrect rendering behavior when minimized.
- Fixed Linux startup crash in *ALExt::init()* by reverting bundled OpenAL to 1.22.2, resolving incompatibility with newer versions that prevented audio device initialization.
- Fixed a debug assertion on window resize in Vulkan and D3D when using low render_supersampling values (≤ 0.26) with video_debug enabled, caused by incorrect handling of render targets during dynamic resolution changes without an active world.
- Fixed a crash on Linux (debug) with multiple DLSS viewports caused by invalid NGX handle creation and insufficient/incorrect upscaler context handling in multi-viewport rendering.

## Editor

- Fixed an issue with resetting component parameter values to defaults when the component was stored in a *Node Reference* or a *Node Layer*.
- Fixed an issue where C# component properties were not generated due to a runtime mismatch between C# property generator (built with .NET 6) and main C# app (running on .NET 8), which caused assembly loading failures.
- Fixed an issue where the *Show Bake Lighting* button in *Voxel Probe* did not open the *Bake Lighting* window after a change in window visibility behavior, restoring correct window opening on button click.
- Fixed an issue in *Content Profiler* where surfaces were not displayed in the treemap after reopening the tool, causing the right-side surface view to remain empty until a full refresh.
- Fixed an issue where ***core.ung*** could be removed via *Remove Archive* in the *Asset Browser*, which led to project corruption and crash; core archive is now protected from deletion in the Editor.
- Fixed incorrect error message encoding in Animation Graph when *Visual Studio Build Tools* are missing, causing garbled text instead of a readable diagnostic message.
- Fixed an issue where dragging a C# component without a .meta file into the Asset Browser triggered a false "*Asset edition does not match the SDK edition of the Editor*" error, caused by incorrect metadata generation during migration.

## IG

- Adjusted world initialization callbacks for IG to use *PreWorldInit/PostWorldShutdown* and execute before the user's init and after the user's world shutdown logic respectively and enforced a consistent plugin load order (*Geodetics → IG → Weather*), fixing an issue where *Game::getPlayer()* and node retrieval function calls returned null in *AppWorldLogic::init()* when using IG and Weather.

## Samples and Templates

- Fixed an issue on Linux where *SQL* samples in ***C# Sim Samples*** failed to run due to database driver initialization errors and duplicate loading of the *UnigineSql* plugin.
