Plain-text version of this page: --- title: "UNIGINE 2.22.0.2 Hotfix" version: "2.22.0.2" release_date: 2026-11-12 lang: en slug: "unigine2.22.0.2" entry_id: "160_2" author: "fox@unigine.com" source: "20261112-unigine-2.22.0.2/index.xml" source_url: "https://developer.unigine.com/devlog/20261112-unigine-2.22.0.2" --- # UNIGINE 2.22.0.2 Hotfix **2.22.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.22. **Upgrading to 2.22.0.2 does not require any code or content migration.** The updated version of the documentation is available as [2.22](https://developer.unigine.com/en/docs/2.22). ## Gaussian Splatting *Gaussian Splatting* received a major overhaul aimed at large, real-world captures. Splat data is now stored in a dedicated streaming format and drawn through a GPU-driven render path with a built-in level-of-detail tree, so scenes with tens of millions of splats can be displayed within a fixed video-memory budget instead of being kept fully resident. Plugin-wide global settings were added to control that budget, and several rendering issues were fixed along the way. - **Custom streaming format and LOD tree.** Splat data is cooked into a chunked, paged format with a precomputed LOD tree and streamed from disk, so only the splats needed for the current view are kept in video memory. - **GPU-driven rendering.** Splat selection, sorting and drawing run on the GPU, cutting CPU overhead for dense scenes. - **New global settings** (the *GaussianSettings* property, available in the Editor): ***Streaming Memory (MB)*** caps the video memory used for resident splat data, while ***Max Rendered Splats*** and ***Max Rendered Splats Scale*** bound how many splats are drawn in a single pass. - Per-asset parameters were streamlined with a *Spherical Harmonics* order control (view-dependent color detail) and a *Use LOD* toggle; obsolete per-asset settings were removed. - Fixed the render order of Gaussian Splatting and a property typo. For more information please refer to the updated [GaussianSplatting Plugin](https://developer.unigine.com/en/docs/2.22/code/plugins/gaussian/) article. ## MCP / MCPBridge The *MCPBridge* plugin lets an external AI agent drive the UNIGINE Editor through the *Model Context Protocol* (MCP). It exposes a registry of tools covering scene and node editing, materials, properties, assets, settings, the viewport, profiling and the console, so an assistant can inspect a project and make changes the same way a user would. Each editor listens on a local port, and the plugin's MCP panel (*Windows → MCP Bridge*) provides ready-made client configurations. This hotfix adds a client-launched MCP proxy server with support for several editors at once, routing each command to the right project or instance, and keeping connections across editor restarts. The tool set and batch operations were extended as well. - **Scene editing and batches.** Added node and primitive creation under a parent, node creation from an asset, vector particle modifiers, and a script-mode hint. ***node_property*** edits are now undoable and batchable, with support for setting property parameters by path. Improved validation of property values and node XML paths to prevent silent conversions and edits to the wrong element. World-changing batch operations are now refused while physics simulation is running, matching individual tool calls. - **Asset import and settings.** Improved mesh import axes and normals, and fixed FBX import of *Immovable* nodes. Asset imports now accept enum labels as well as valid indices; invalid enum values and values that do not match a parameter's type are rejected instead of silently changing the import settings. - **Materials, properties and settings.** Improved the reliability of edits and validation of integer values and fixed-size material arrays. Fixed material descriptions returning empty parameter arrays or invalid JSON for non-finite values; array types that the Engine API cannot return are now identified explicitly. - **Viewport and placement.** Added viewport flags and round snap, and improved terrain/clutter probes, ground/surface probes and node-transform actions. Fixed camera direction changes when looking straight up or down; a zero-length direction is now rejected without moving the camera. - **Editor control and background operation.** Unified tool contracts and added asynchronous console calls, ***get_status***, ***editor_quit*** and ***editor_plugin*** commands. The bridge now answers calls and supports asset refreshes while the Editor is unfocused; shutdown also completes when thumbnail rendering delays its exit. Physics status no longer reports a running simulation before a world is loaded. ## Engine - Improved handling of disoccluded areas in the reactive mask: reactivity on disocclusion edges is now combined with *max* blending, reducing artifacts where geometry disoccludes (follow-up to the 2.22 disocclusion work). - Rendering fixes: resolved a froxel-bounds assertion; the render streaming task now also runs in outside-loop frames so render pools are trimmed there (***Engine::endOutsideLoopRender***); and ***Image::removeMipmaps()*** now unpacks and recompresses the data instead of copying the top mip as-is. - *Surface ID* output was fixed for more object types and platforms: *ObjectTerrainGlobal* and *ObjectExtern* now set their surface/material id, and *Surface ID* is reported correctly. Fixed water rendering overwriting the mask used by emission decals: water *Surface ID* data is now always stored in a separate buffer, and decal *Surface ID* data is composed after emission decals are rendered. - Fixed material parameters not refreshing when a surface's *Material Mask* changes: the material parameters buffer is now updated together with the mask. Fixed duplicate launches of the material-parameter upload task and improved synchronization of material uploads and depth rendering. - Fixed dynamic vegetation materials enabling vertex velocity even when ***vegetation_velocity*** was disabled. - Fixed height blending at *Landscape Layer Map* boundaries, including maps with height opacity, and corrected texture padding at map edges and corners after painting. Fixed a ***max_memory*** overflow in the terrain cache. - Fixed a crash (observed under ASAN) in *ObjectMeshSkinnedLegacy* on remount. - Fixed the camera jumping and cursor jitter when controlling an application over Remote Desktop with a grabbed mouse (*SystemProxySDL*): the grabbed cursor is now recentered less often and the client's merged warp packet is skipped. - Enabled tearing for the first 20 seconds on AMD RX 6000-series GPUs to avoid a device-removed error triggered by the AMD overlay hook. - Made ***lock_fps*** consistent with ***use_lock_fps***. Fixed a loading-screen slowdown that occurred when an FPS limit was set. - Fixed ***Atomic::swap()*** failing to compile for *bool*, *float*, *double*, enums and structs up to 8 bytes. Fixed strict-aliasing and unknown-warning-option warnings in public C++ headers, and missing includes that prevented the Engine from building without precompiled headers. - Shader cache: made shader-source hashes consistent when shaders are loaded and cleared, and corrected deferred-pass cache generation for materials without a G-buffer pass. Added ***Materials::isPrecompileAllShadersActive()*** to monitor shader precompilation, plus the ***utils/generate_cache/generate_editor_cache.usc*** script to populate the shader cache for a specified world, including shader variants rendered when the Editor opens it. - Added GPU indirect dispatch and drawing APIs (***Material::renderComputeIndirect()***, ***Render::dispatchIndirect()*** and ***Render::renderIndirect()***), along with ***StructuredBuffer::USAGE_INDIRECT***, ***isUsageIndirect()*** and ***setData()*** for preparing and updating argument buffers. - Animation scripts: improved detection of the installed C++ compiler. - The *NULLSound* device no longer spawns an idle thread. - Fixed rotated clutter and grass placement on *Terrain* and geodetic terrain, with further intersection fixes for *Landscape Layer Maps* and *Terrain Global*, including 90-degree rotations and flat terrain. Reduced clutter data-fetch spikes and improved processing of sparse landscape cells by splitting large fetches into smaller chunks and avoiding unnecessary worker-thread overhead for small batches. Added ***Intersection Distance Min / Max*** parameters to *Mesh Clutter*, *Grass* and *World Clutter*: when intersection is enabled, placement is now restricted to surfaces within a configurable distance range. A related crash was also fixed. - *Syncker*: *NodeSequencePlayer* and *NodeSkeletonPose* are now synchronized across the network. ## VR Improvements - Fixed several VR controller input issues across OpenXR and OpenVR: controller button *touches* were never reported (***isButtonTouchPressed/Down/Up()*** always returned *0* and touch signals never fired), the OpenXR *Dpad Center* button and the primary/secondary buttons of the *khr/generic_controller* profile were not read, OpenVR did not report *Y* as a supported button, and Valve Index controllers were misidentified as *khr/simple_controller* on Varjo OpenXR. - Fixed ***xrEndFrame*** failing with *XR_ERROR_CALL_ORDER_INVALID* after frames rendered without VR (for example during world loading or when there is no VR player): a begun frame is now handed to submission exactly once. VR input is also shut down in the correct order, so the OpenXR loader no longer logs a *"No active XrInstance handle"* error. - Fixed the OpenXR hidden area (visibility) mask being built incorrectly for runtimes that return indexed masks - it is now de-indexed into a flat triangle list, matching the existing OpenVR path. - Fixed hand-tracking joint velocity vectors pointing in wrong directions: they now go through the player's *imodelview* like joint positions do, matching how controller velocities are converted. - Fixed ***getVRHead()*** staying null after the HMD lost focus on OpenVR, which prevented the headset from ever re-registering; related out-of-bounds device indexing and slot-reuse on reconnect were fixed as well. - Improved VR peripheral (foveated) rendering: on OpenXR the focus region is no longer rendered at the full context resolution - quad-view sizes now come from the runtime - and aliasing/shimmer in the focus area was fixed using a stereo-sized context swapchain (***vr_peripheral_rendering_stereo_resolution_swapchain_enabled***, on by default). New ***vr_peripheral_rendering_emulated_context_scale*** and ***vr_peripheral_rendering_emulated_focus_scale*** console variables scale the runtime resolution. - **VR resolution API change:** ***VR::getHMDResolution()*** was removed. Update calls to use ***VR::getRuntimeResolution()***, ***VR::getSwapchainResolution()*** or ***VR::getRenderResolution()***, depending on whether the code needs the runtime, swapchain or render resolution. - Fixed several Varjo stability issues: a shutdown hang caused by a mixed-reality data-stream deadlock, a device hang when swapchains were resized during the first frames (resized swapchains are no longer freed while the GPU is still rendering into them), and a crash in the OpenXR loader caused by opening session debug labels from the render flush thread. - Fixed the VR head (*InputVRHead*) not being created when Varjo runs without the OpenVR input backend initialized. - The engine now builds and links correctly with VR disabled: the Varjo and OpenXR wrapper sources are properly guarded by the VR/Varjo/OpenXR build switches. ## Editor - A newly created camera now copies the active camera's world transform and projection setup instead of being created with default settings. Fixed the camera list not removing a camera's row when the corresponding node is deleted. - The transform widget is now hidden when the camera stands inside it. Fixed the wireframe depth bias under an orthographic projection by deriving it from the depth range. Fixed swapped titles of the *Show Bones* and *Show Selected Objects Wireframe* shortcuts. - Remote Desktop: the Editor no longer warps the cursor every frame in an RDP session (*SystemProxyQt*), and bogus Qt dark window border warnings on switching the Windows theme are now muted. - The import log now takes the asset size from the *FileSystem* rather than from the OS by a virtual path. Asset import: fixed assigning the source skeleton on import, added default import logic for skeletons and skinned meshes, and improved the import of morph-target normals. - Fixed crashes: the *MeshRender* ***isLoaded*** check now runs before dereferencing surfaces, a crash observed under ASAN was fixed, and an assertion crash when docking several *Parameters* windows into the same area was fixed. - The Editor now warns when a *Rigid* or *Fracture* body will reset a node's scale: the *Physics* tab shows a warning for a selected node with a non-unit world scale (including a parent's scale), since the body resets it to 1 once it moves, and the *Node* tab shows a warning icon next to *Scale*. Assigning a non-dummy body to an *Immovable* object now offers to switch it to *Dynamic*, changing the mobility and assigning the body in a single undo step. - Fixed floating tool windows (such as the *Content Profiler*) blocking viewport manipulators on Linux even after the window moved behind the main window - a regression since 2.21. - Improved background processing and focus handling: the Editor loop and asset file watcher now follow a shared state, keeping required background work and asset refreshes running while the Editor is unfocused. Asset-import progress dialogs are deferred until the application becomes active. - License validation now runs before the Engine and plugins start and remains enforced while the Editor is unfocused, busy or displaying a native dialog. The license-loss dialog stays visible until the license is restored, and failed SDK Browser connections show troubleshooting guidance with an error code. ## Other Improvements - Fixed a crash in the *RTSP* video source (*RTSPStreamer*) on shutdown. - The *RTSP* video source (*RTSPStreamer*) now raises the live555 NAL buffer on Windows as well, fixing truncated 1080p frames that previously decoded with visible artifacts.