Release Notes Background

Unity 2022.2.9f1

Released on Mar 3, 2023

Manual installs

Component installers

Release

Known Issues in 2022.2.9f1

  • FrameDebugger: Frame Debugger VRAM memory leak (UUM-28065)

  • IL2CPP: Build argument doesn't get passed when exporting the project (UUM-25446)

  • Metal: [iOS]Unable to maintain 120fps consistently in a near-empty scene on iPhone 13 Pro (UUM-5944)

  • RP Foundation: [Silicon] Crash on ScriptableRenderLoopJob when machine is left idle while the Editor is in Play mode (UUM-25831)

  • UI Toolkit Framework: Cannot change scripts in Inspector window when in Debug mode (UUM-14069)

  • Universal RP: Flickering orbs appear when using RenderTargetHandle (UUM-26513)

  • Visual Effects: SDF Baking causes memory to be allocated that isn't deallocated when in Play Mode and in Builds (UUM-25814)

  • Web Platform: "wasm-ld.exe" is not terminated when canceling a WebGL Build during the "Linking build.js (wasm)" phase (UUM-20797)

  • XR SRP: [URP] The Scene View flickers when hovering over it with the cursor (UUM-24656)

2022.2.9f1 Release Notes

Improvements

  • Burst: Added a Burst AOT setting for the kind of debug information generated for player builds.

  • Burst: Added a toggle for filtering out ".Generated" jobs from the Burst Inspector target job list.

  • Burst: Added selection of line and highlight of selected line and selected lines register usage.

  • Burst: Added SIMD smell test to the Burst Inspector, highlighting ARM or x86-64 SIMD instruction differently depending on whether they work for packed or scalar inputs.

  • Burst: FunctionPointer<delegate>()::Invoke usage is now checked and patched to ensure the calling convention is compatible with burst.

  • Networking: Clarified error message in the logs when attempting to build a dedicated server player without having that platform's corresponding Dedicated Server Build support module installed. (UUM-22128)

Changes

  • Burst: Burst now only generates full debug information when "Native Debug Mode Compilation" and script debug information is enabled.

  • Burst: Changed burst inspector source location comments from "===" to either ";" or "#" depending on the given assembly kind.

  • Burst: Changed horizontal code focus in the Burst Inspector to only scroll when branches fill more than half the space.

  • Burst: Changed so target job list in the Burst Inspector is a fold-able/expandable tree view, instead of a simple list.

  • Burst: Improved how optimisation remarks are displayed in the "LLVM IR Optimisation Diagnostics" tab in Burst Inspector to make them more useful.

Fixes

  • 2D: Enabled storing the directory path instead of the file path as the last used asset path when performing a drag and drop to create a Tile Asset. (UUM-25250)

  • Android: Build will fail, if custom asset pack does not have a valid structure. (UUM-25501)

  • Android: Fixed an issue to not move files in custom asset packs to src/main/assets, the directory structure is preserved as it is. (UUM-15109)

  • Android: Fixed an issue where Network.OperationalStatus would always return Unknown for Android. (UUM-19683)

  • Android: Fixed the Time.deltaTime values so they are now stable on Android devices. (UUM-10244)

  • Asset Bundles: Fixed an issue where UnloadAllAssetBundles does not unload scene bundles. (UUM-13510)

  • Asset Import: Fixed import of file with extension as file name. (UUM-21730)

  • Build Pipeline: Fixed a BuildPipeline issue for the Android platform and MacStandalone builds which asks for a name and directory, despite having the last saved location details. This is triggered by using Ctrl+B (Windows) or Cmd+B (macOS). (UUM-19897)

  • Burst: "LLVM IR Optimisation Diagnostics" tab in Burst Inspector was blank if "Native Debug Mode Compilation" was enabled; this is now fixed.

  • Burst: An issue that could cause function pointers to point to the wrong burst function, if a domain reload occurs and a compilation started before the reload, completes soon after.

  • Burst: Burst now updates its list of assembly paths if they change, for instance - adding packages that contain precompiled assemblies.

  • Burst: Crashes on 32bit cpus when an entry point with byvalue paramaters was called, when using dispatch (multiple supported cpu targets).

  • Burst: Enum values cast to integers in a format string previously output the enum type name; now the integer value is correctly output.

  • Burst: Fixed "Assertion failed on expression: "exception == SCRIPTING_NULL" errors and editor crash when the project path contained multi-byte Unicode characters.

  • Burst: Fixed "Callee/caller attribute ABI did not match!" error that could occur in certain player builds when calling an entry point that had at least one struct-by-value parameter.

  • Burst: Fixed "Plain Without Debug Information" outputting assembly with debug information.

  • Burst: Fixed a hashing error that could occur when a struct implements a generic interface multiple times with different generic parameters.

  • Burst: Fixed a stall that could occur at Editor shutdown.

  • Burst: Fixed a BadImageFormatException error that could occur in DOTS Runtime builds.

  • Burst: Fixed an issue the definition order of overloaded methods with function pointer parameters would decide which overload was actually being used.

  • Burst: Fixed AoT linking error on Windows Link based linkers when file paths (typically user names/home folders) contain non-ASCII characters.

  • Burst: Fixed ARM vector registers not being highlighted.

  • Burst: Fixed BC1361 error when trying to compile large static readonly arrays.

  • Burst: Fixed bug in a small set of managed fallback versions of intrinsics, where the bitwise representation of float values would not be maintained.

  • Burst: Fixed Burst compilation on QNX Arm.

  • Burst: Fixed Burst Inspector sometimes throwing ArugmentOutOfRangeException when copying without color-tags from assembly that is colored.

  • Burst: Fixed burst tree view items leading to wrong job if some jobs where hidden from view by filter or similar.

  • Burst: Fixed compilation error when using CompileFunctionPointer from Burst in code compiled with Roslyn on .NET 7+.

  • Burst: Fixed compiler AccessViolationException that could occur when compiling two or more types with the same name but different source assemblies.

  • Burst: Fixed compiler crash when invoking FunctionPointers based on a generic delegate in DOTS Runtime.

  • Burst: Fixed error when calling direct call method from background thread without having previously called a BurstCompiler API from the main thread.

  • Burst: Fixed internal compiler error that occurred when creating debug metadata from certain obfuscated dlls.

  • Burst: Fixed internal compiler error when implcitly converting an array to a Span.

  • Burst: Fixed managed fallback implementation of Sse4_2.cmpestrs.

  • Burst: Fixed module verification errors when using overloaded functions as function pointers.

  • Burst: Fixed namespace collision that could occur between Unity.Burst.Cecil.dll and the com.unity.nuget.mono-cecil package.

  • Burst: Fixed player build error that could occur if the project contains an assembly whose name doesn't match the assembly filename.

  • Burst: Fixed the inspector job tree view splitting jobs, with '.' in their parameters.

  • Burst: Fixed visual artifact in Burst Inspector, where block of enhanced code was cut at the bottom.

  • Editor: Added protection for errors occuring when loading a layout. (UUM-12892)

  • Editor: Enabled display of a simple Unity version in release build. In source build or devMode, the full version is displayed with revision. (UUM-23056)

  • Editor: Enabled opening Focus inspector on non multi-edit objects. (UUM-19504)

  • Editor: Fixed a bug where AssetBundle builds could fail due to incorrectly reported errors about script serialization mismatches. (UUM-19452)

  • Editor: Fixed a crash on shutdown when using the cli option -cacheServerWaitForUploadCompletion.

  • Editor: Fixed a Mac Editor crash on you drag Sprites into the Scene view. (UUM-20950)

  • Editor: Fixed a regression that changed the default behaviour of animators on disabled. (UUM-27229)

  • Editor: Fixed an Editor hang when evaluating SearchExpression, synchronous in main thread. (UUM-14546)

  • Editor: Fixed an issue copying hideflags to the cloned object when instantiating a GameObject. (UUM-22863)

  • Editor: Fixed an issue so that Light Probes are affected by back-facing triangles when baking with the GPU Lightmapper. (UUM-7699)

  • Editor: Fixed an issue with the initialization of raytracing which could fail during certain frames. (UUM-26885)

  • Editor: Fixed backspace allowing deletion of a script name in AddComponent dialog. (UUM-3440)

  • Editor: Fixed drag and drop crashes the editor if the window is docked. (UUM-23241)

  • Editor: Fixed error when opening the "Select Preset" window while having a user defined Preset class assets. (UUM-11334)

  • Editor: Fixed error while deleting a QueryBlock. (UUM-19945)

  • Editor: Fixed potential crash with non-gameobject selections during domain reload.

  • Editor: Fixed the Inspector Transform Component foldout so it now responds to input on the top half. (UUM-16138)

  • Editor: Fixed the lag spikes in the scene view caused by the PropertyDatabase. (UUM-22631)

  • Editor: Fixed the prefab override indicator not being shown when the component was overridden. (UUM-3473)

  • Editor: Updated the MeshFilter header title on multi edit. (UUM-19502)

  • Entities Graphics: Fixed an issue where lightmaps involving lights inside subscenes could be too bright. (UUM-26371)

  • Entities Graphics: Fixed the BatchRendererGroup occlusion probe sampling for HDRP. (UUM-24996)

  • GI: Fixed an issue where lightmaps would be swapped when entering playmode when the Reload Scene option is disabled. (UUM-21437)

  • GI: Fixed the help link at the top of the Lighting Window. (UUM-25787)

  • Graphics: Fixed glitches on macOS when the rendering path is set to deferred. (UUM-21567)

  • Graphics: Fixed SSAO in URP when using non-uniform rendering. (UUM-15795)

  • HDRP: Fixed a serialization issue affecting other objects.

  • IL2CPP: Fixed crash when memory profiler is enabled. (UUM-18685)

  • IL2CPP: Fixed the InvalidCastException being thrown when you serialize jagged arrays using BinaryFormatter. (UUM-23156)

  • IL2CPP: Fixed UnintializedDataAccessException when processing a function pointer that has a function pointer as a parameter. (UUM-9030)

  • Kernel: Fixed a potential crash at app shutdown. (UUM-26528)

  • Kernel: Fixed broken RECORD_ALLOCATION_SITES functionalit. (UUM-26702)

  • Kernel: Fixed crash resulting from UnityDefaultAllocator not tracking all allocations. (UUM-23090)

  • Kernel: Fixed unstable test ThreadSafeLinearAllocator AllocDealloc_On10Threads_DoesNotCrash. (UUM-20607)

  • Linux: Fixed the Null Reference Exception thrown when you rotate in Scene View and move the cursor outside the boundary. (UUM-21895)

  • Linux: Fixed the panel focus switching when arrow keys are pressed while in Play Mode. (UUM-21632)

  • macOS: Removed an empty area gap on the vertical side of each screen on the macOS Player when rendering fullscreen on Macs with a notch. (UUM-12632)

  • Particles: Corrected sub-emitter simulation to ensure particle ribbons are connected in the correct order. (UUM-945)

  • Particles: Fixed a Particle System rendering corruption. (UUM-21106)

  • Prefabs: Disabled IMGUI ReorderableList elements when previewing overridden values PrefabMode InContext. (UUM-13618)

  • Scene/Game View: Fixed windows implementing ISupportOverlays incorrectly showing Overlays targeting implementing classes. (UUM-26841)

  • Scripting: Fixed an issue where moving scripts around in a project breaks GameObjects. (UUM-25445)

  • Scripting: Fixed an issue where using additional files in RSP breaks MonoBehaviours. (UUM-25109)

  • Scripting: Fixed domain reload and reference issues on assets that reference scripts from a Plugin that's not loaded in the domain. (UUM-21935)

  • Scripting: Fixed possible crash when handling of asmdef compiled assemblies thats, thats been copied into the Project.

  • uGUI: Fixed an issue where the color did not stay when a disabled uGUI element is re-enabled again. This was fixed by removing the color reset in the Canvas Renderer with a uGUI element is disabled. (UUM-3527)

  • uGUI: Fixed NullReferenceException in Image.sprite when setting a new Sprite and the current Sprite.Texture is null. (UUM-13053)

  • uGUI: Fixed the behavior of the Additional Shader Channels property in the uGUI Canvas for all cases. (UUM-24730)

  • UI Elements: Enabled expanding the import result in the Inspector. The ListView with the Foldout header created by PropertyField now has a setting to receive pointer events when disabled. The Clickable manipulator now treats events properly when disabled. (UUM-26082)

  • UI Toolkit: Fixed the color tint transitions so it now works for sprites. (UUM-25743)

  • UI Toolkit: Fixed the ListView binding with negative indexes when a negative scroll offset was applied. (UUM-12868)

  • UI Toolkit: Fixed the UI document so it now has the correct size for multiple displays. (UUM-18757)

  • Universal RP: Fixed an issue so that deferred rendering now works correctly in builds with Accurate GBuffer Normals enabled. (UUM-25112)

  • Universal RP: Fixed issue where disabling/enabling ShadowCaster2Ds can create duplicate shadows. (UUM-16927)

  • URP: Fixed a bug with the shadow mesh bounds of ShadowCaster2D so that shadows no longer disappear. (UUM-19090)

  • URP: Fixed GC.Allocs with sorting layers in Light2D. (UUM-1929)

  • URP: Fixed the 2D Sprite Light & Freeform Light fast normal map quality setting to correctly use the normal map. (UUM-4613)

  • VFX Graph: Added extra memory to allow external threads to steal VFX update jobs. (UUM-22049)

  • VFX Graph: Added missing DepthNormal pass for Unlit & Unify SSAO integration with Unlit for URP. (UUM-19559)

  • VFX Graph: Enabled renamed blackboard categories that have been duplicated to stay on screen. (UUM-17435)

  • VFX Graph: Fixed a serialization issue causing a potential crash due to bounds computation. (UUM-25009)

  • VFX Graph: Fixed an error raised in the console when undoing shader assignment in the Mesh output node. (UUM-16367)

  • VFX Graph: Fixed an issue where VFXs were not culled properly, causing flickering shadows. (UUM-14271)

  • VFX Graph: Fixed bounds padding so they are no longer ignored. (UUM-15655)

  • VFX Graph: Fixed the play / pause button in the VFX Graph control panel so it now switches the icon depending on the current state. (UUM-5065)

  • VFX Graph: Fixed unroll related shader compilation issue on DXC. (UUM-6058)

  • VFX Graph: Removed blackboard category with only spaces in the name. (UUM-17495)

  • VFX Graph: Safer GPUEvent when trying to append more event than destination capacity. (UUM-572)

  • Video: Fixed a crash on ImageFilters::Blit when saving a Timeline containing a Video while the Timeline is playing. (UUM-12908)

  • Video: Fixed error when adding file:// to point at a local file in the VideoPlayer on Android. (UUM-16166)

  • Windows: Fixed a potential crash during Windows Player cleanup. (UUM-25383)

  • Windows: Fixed Build to source folder when the project build dir is deleted. (UUM-25240)

  • XR: Fixed TAA to work correctly with Foveated Rendering when using Non-Uniform Raster. (UUM-16324)

Package changes in 2022.2.9f1

Packages updated

Changeset: 1cc571a6ec95

Third Party Notices

Looking for a different release?

Find the Unity version that’s compatible with your existing projects, or that provides you with specific features unavailable in newer versions.