Notes sur la version

Known Issues in 2021.2.0a5

  • Asset Pipeline: Fixed problem with missing profiler EndSample errors (1306178)
    This is a change to a 2021.2.0a1 change, not seen in any released version, and will not be mentioned in final notes.
    Fixed in 2021.2.0a6.

  • Editor: Fixes mouse hide issues in windows editor playmode (1273522)
    Fixed in 2021.2.0a6.

  • Graphics: More work on alpha blending of canvas in the scene. (1313236)
    This is a change to a 2021.2.0a5 change, not seen in any released version, and will not be mentioned in final notes.
    Fixed in 2021.2.0a6.

  • Profiler: Fixed GLES performance regression caused by the new GPU Recorder GLES backend (1297080)
    Fixed in 2021.2.0a6.

  • Shaders: Fixed a crash on OOB access when calling disassembleShader (1312596)
    This is a change to a 2021.2.0a4 change, not seen in any released version, and will not be mentioned in final notes.
    Fixed in 2021.2.0a6.

  • Scripting: Editor crashes on RaiseException when allocating huge amount of memory (1313492)

  • Profiling: Silent Crash when selecting a Profiler Module (1315473)

  • Android: Editor crashes at mono_print_method_from_ip when entering Play Mode having Unity remote device set to "Any Android Device" (1313800)

  • Scene Management: Freeze or crash on EditorSceneManager::ReloadScene when importing an Asset and reloading the opened Scene (1309393)

  • Scripting: Application.quitting event is not raised when closing build (1309540)

  • Templates: Editor Crashes when performing Undo and Redo after duplicating Game Object with LEGO Model Asset component (1298503)

  • Editor - Functionality: Menu does not appear where the mouse Left or Right clicked, when Left or Right clicking to open Menu (1309452)

  • Asset Importers: [Performance Regression] Importing an fbx model is noticeably slower when the model contains Animations (1265275)

  • Metal: [Apple M1] Crash on MTLGetEnvCase on startup when 'm_Automatic' is set to 0 in the ProjectSettings (1306688)

  • Project Browser: Basic primitive Meshes are not shown in Select Mesh window (1314696)

  • Texture: uGUI in Texture2D is different than in the Game view when calling ToTexture2D() method on a RenderTexture (1301378)

  • CodeEditors: Crash on System.Net.Sockets.Socket:QueueIOSelectorJob when using a VPN and opening a project that uses Visual Studio (1308797)

  • Terrain: Terrain Lit Opacity as Density option causes alpha'd areas on the 5th layer or greater to appear with artifacts (1283124)

  • MacOS: macOS builds now contain a quarantine attribute (1304455)

  • Universal RP: [URP Template] Major performance drop in the Editor during Play Mode (1277222)

  • Global Illumination: [GPUPLM] Crash in RadeonRaysMeshManager::RemoveGeometry while baking Terrain game object with 4k lightmaps on certain GPU (1255993)

  • Templates: [Linux] Missing libdl.so library causes crash when entering Playmode for the second time or closing the Editor (1237642)

  • Build Pipeline: [Cache Server] Building process freezes on compiling shader variants when connected to Accelerator (1296800)

  • Global Illumination: GI bake isn't started with multiple Editors warning after pressing Generate GI button after individual reflection probe bake (1312881)

  • Shader System: Upgrading a HDRP project results in numerous Kernel at index invalid errors (1306116)

  • UI Toolkit: [Shadergraph] Undocking and redocking a shadergraph and then selecting a property on the blackboard throws UIElement errors (1302295)

  • UI Builder: Visual Studio opens up instead of UI Builder on double-clicking on uXML file in the Project window (1298297)

  • WebGL: [Audio] "Cannot create FMOD" Error when importing 3D Game Kit project on webGL (1293595)

  • MacOS: [Mac OS] Building Standalone project for Mac when Generate Xcode project is enabled generates both a folder and .xcodeproj (1288729)

  • MacOS: [Metal][Editor] Memory grows continuously until Editor crashes when importing 100k materials (1214197)

2021.2.0a5 Release Notes

Fixes

  • 2D: 2D light is rendered in half in its Y-axis when two Sprite Shape objects with same Order In Layer are visible on the Screen (1274010)

  • 2D: Add null arguments checks for Sprite.GetPhysicsShape, Sprite.OverridePhysicsShape and Sprite.OverrideGeometry (1306258)

  • 2D: Fix duplication of Tilemap Selection Box when the Grid and the Tilemap are offset in transform. (1293341)

  • 2D: Fix NullReferenceException from being thrown when doing a Grid Select on a Grid which is not enabled. (1295122)

  • 2D: Fix PVRTC altas variant size adjustment leading to incorrect sprite UVs. (1284374)

  • 2D: Fix Sprite Preview in inspector becomes unrecognizable when Sprite size is big (1299189)

  • 2D: Fixed an issue where Name and Texture fields were overlapping with each other in the Secondary Textures module of the Sprite Editor. (1284356)

  • 2D: Fixed vertices winding order for square polygonal Sprite generation (1289069)

  • 2D: Make tooltips appear closer to the label for Tilemap Info in the Tilemap Editor rather than in the center. (1294929)

  • 2D: Mark com.unity.2d.tilemap.extras as discoverable

  • 2D: Sprite Atlas importer does not show name on top (1300861)

  • 2D: Unable to exclude Objects for Packing property from Sprite Atlas preset (1294393)

  • AI: Fixed nav mesh query initialization with invalid node pool sizes. (1197062)

  • AI: Fixed rare crash that happened when an OffMeshLink on the path of the NavMeshAgent gets disconnected due to modifications to the underlying NavMesh. (1298211)

  • Android: Clamp Android minimum bundle version to greater than 0 (1307476)

  • Android: Fix all microphones reporting same recording state when bluetooth microphone is connected. (1298249)

  • Android: Fix artifacts when exceeding geometry working set memory limit on Mali GPUs when using Vulkan GraphicsJobs

  • Android: Fix black Unity view after pausing the app when in-app purchase dialog is shown (1249179)

  • Android: Fix computeBufferStartIndex of ComputeBuffer.GetData being ignored when using Vulkan (1299902)

  • Android: Fix GLSL compile error when using a particle system with instancing (1255008)

  • Android: Fix Java local reference leaking in UnityWebRequest, VideoPlayer. (1297185)

  • Android: Fix Java local reference leaking when using AndroidJavaClass/Object. (1283209)

  • Android: Fix performance issue when using GPU skinning on Mali with OpenGL ES (1300914)

  • Android: Fixed incorrect resolution scaling on PowerVR devices when BlitType Auto is used (1287131)

  • Android: Fixes unresponsive area just above keyboard when "Hide mobile input" is checked. (1305663)

  • Android: Preserve ComputeBuffer data when doing partial updates using ComputeBuffer.SetData (1300424)

  • Android: Update Android Logcat package to version 1.2.1

  • Android: When Input.compensateSensors is set to true, give 45 degree slack for overtilt before changing compass heading. (1186040)

  • Animation: 1D BlendTree's threshold values were draggable when not the hot control. (1217253)

  • Animation: Added a tooltip for the auto live link button in the animator window (1283065)

  • Animation: Fix a regression caused when overriding and animator controller. (1271499)

  • Animation: Fix slow performance depend on the first selected (1236353)

  • Animation: Fixed a bug where the parameters list being previewed would not display in the inspector window (1190190)

  • Animation: Fixed an issue where an animation playable events would still fire while it was paused (1227098)

  • Animation: Fixed an issue where Animations played in Timeline with offsets would play incorrectly in some Avatar/Humanoid setups (1295759)

  • Animation: Fixed an issue where setting the speed to an animatorControllerPlayable would not affect the speed of its child animation clips (1304259)

  • Animation: Fixed an issue where the animation values in the import settings could not be changed if an event was selected (1304022)

  • Animation: Fixed an issue where the animator parameter values would truncate float values to 1 decimal (1308930)

  • Animation: Fixed an issue where the application would crash if modifying the graph while being traversed (1282046)

  • Animation: Fixed an issue where the checkbox wouldn't align properly with its label in the transition list (1259438)

  • Animation: Fixed an issue where the destination state would indicate INVALID instead of the known destination state in the transition list of the inspector window

  • Animation: Fixed an issue where the slider of the animation window would go into the hierarchy part of the window when the animation window was too small width wise (1288823)

  • Animation: Fixed an issue where the transition to a base layer state machine would be invisible (1287749)

  • Animation: Fixed an issue where the transition would automatically disappear if made from a lower layer state machine to an upper layer one. (1188984)

  • Animation: Fixed manipulation of the Current Blend Value (the red line)in BlendTree Inspector.

  • Animation: Fixed static analysis warning. (1232341)

  • Animation: Fixing an issue where an Animator with Animate Physics ON would apply physics to every transform except the root transform (1154835)

  • Animation: Force grouped animation of GroupColor for material color in URP (1212805)

  • Animation: Improved SetTime and GetTime documentation for playables (1196250)

  • Animation: Removed multi edit on animator override controller (1082045)

  • Animation: Stop animation preview when exiting edit mode with Play Mode with Reload Domain disabled to prevent accessing destroyed object. (1214031)

  • Animation: Updated documentation of playable to document feature of auto adding new port (1227724)

  • Asset Bundles: AssetBundle.Unload waits for all asset bundle async operations to be completed before proceeding.

  • Asset Bundles: Fixed issue where loading an asset from a bundle asynchronously while loading a texture synchronously causes a deadlock on the main thread.

  • Asset Import: Allow materials to be extracted into packages (1282867)

  • Asset Import: Apply/Revert buttons in the inspector are correctly disabled after changing a value that is being overridden by the Importer script or an AssetPostprocessor. (1287345)

  • Asset Import: Editing the animation clip directly from the sub-asset on first import is no longer broken. (1304418)

  • Asset Import: External Objects no longer displayed when selecting a Text Asset (1301327)

  • Asset Import: Fixed issue where the Texture Inspector would notify of 'Unapplied import settings' when no import settings were changed (1294009)

  • Asset Import: Fixed missing normal property values from materials imported from 3DsMax 2021's Physical materials. (1313450)

  • Asset Import: Fixed Texture Import Platform settings getting reset when multi editing.

  • Asset Import: GatherDependenciesFromSourceFile declared in parent classes is now properly called from derived classes. (1203843)

  • Asset Import: Import correctly updates Avatar settings when switching from "Copy From Avatar" (1213138)

  • Asset Import: New flag to allow rigs with different topologies to be swapped. (974120)

  • Asset Import: Only call frame rate errors when animations are imported. (1222562)

  • Asset Import: Preventing a crash after an Assembly reload triggered by editing a Monobehaviour added to the currently selected GameObject in the inspector. (1302872)

  • Asset Import: Rename of Inspector labels to make them more consistent.

  • Asset Import: Texture Importer no longer secretly defaults values to a negative. (1204566)

  • Asset Import: The Default Clip selection no longer gets stuck. (1279563)

  • Asset Import: The ModelImporter inspector refreshes the avatar configuration button state correctly after switching to humanoid. (1197249)

  • Asset Pipeline: Enabled PluginSettingsWorks.WSASettings integration test (1086909)

  • Asset Pipeline: Fixed an issue where a scene could become corrupt if renamed to match the name of a recently deleted scene. (1263621)

  • Asset Pipeline: Fixed an issue where duplicated assets with children could select the wrong main object. (1302399)

  • Asset Pipeline: Fixed assert that could get reported when projectsetting.asset file is modified directly. (1270162)

  • Asset Pipeline: Fixed issue where an invalid GUID was being reported, but the file in which it resided was not. (1275878)

  • Asset Pipeline: Fixed the progress bar being full during the import of assets. (1298760)

  • Asset Pipeline: Fixes rare deadlock when uploading to an accelerator. (1301187)

  • Asset Pipeline: Fixes to script type dependency hash generation. The issues could cause unnecessary imports and in some cases missing reimports. (1295635)

  • Asset Pipeline: Improved performance of flushing the preload operation queue from the main thread. This can occur when accessing an operation's result on the main thread before it is completed.

  • Audio: Fix DSPGraph playback not pausing when player is paused

  • Audio: Fix missing domain unload callback and excessive number of registrations for each instantiation of a custom DSP that caused an "Callback registration failed. Increase kMaxCallback." error. (1306511)

  • Audio: Fixed deadlock caused by interaction between output suspend/resume logic and DSPGraph output hooks

  • Audio: SoundManager optimizations for lowering main thread performance degradations caused by having a large amount of loaded audio clips in a scene. (1146312)

  • Bug Reporter: Fixed a bug where the crash reporting symbol uploader process would crash on parsing certain dSYM files.

  • Bug Reporter: Reset Bug Reporter style to match Windows styling (1296042)

  • Burst: clang segmentation fault on iOS when member function debug information was emitted, it is disabled for this platform now.

  • Burst: Fix a macOS hang that could occur when a native hardware exception was thrown from Burst code while a dylib was being loaded from disk. (1307691)

  • Burst: Fixed a bug that occurred when an explicitly laid out struct was used by a dup instruction, which caused an internal compiler error.

  • Burst: Fixed a bug where explicitly casting from an int to IntPtr would not sign extend the value.

  • Burst: Fixed a bug where if a user had defined multiple implicit or explicit casts, the compiler could resolve to the wrong cast.

  • Burst: Fixed a bug where loading from a vector within a struct, that was got from a NativeArray using an indexer, would cause the compiler to crash.

  • Burst: Fixed alignment issues associated with xxHash3 on ArmV7 (case 1288992)

  • Burst: Fixed an issue where Burst would erroneously error on BurstCompile.CompileFunctionPointer calls when building for the DOTS Runtime.

  • Burst: Fixed managed implementation of sub_ss intrinsic

  • Burst: Fixed managed implementations of blend_epi32 and mm256_blend_epi32 intrinsics on Mono

  • Burst: Fixes DOTS Runtime JobProducer Bursting code to support JobProducers with multiple generic arguments, complex job wrapper and generic jobs.

  • Burst: Intrinsics: Neon - fixed vget_low and vget_high producing suboptimal code

  • Burst: Multiple bugfixes (please look at https://docs.unity3d.com/Packages/com.unity.burst@1.5/changelog/CHANGELOG.html for a detailed list)

  • Burst: Private [BurstCompile] methods no longer throw MethodAccessException

  • Burst: Strings can now be passed between methods

  • DX12: Fix int shader uniforms in .raytrace shaders being displayed as Floats in the Frame Debugger. (1305552)

  • DX12: Fixed wrong error message saying that vertex format SNorm16 is not supported when building a Ray Tracing Acceleration Structure. The format is supported.

  • DX12: Significant performance cost of using SRP batcher on DX12 reduced. (1286694)

  • Editor: Added API Updater rule to update global API AssetModificationProcessor to UnityEditor namespace (1064480)

  • Editor: Added new functionality to decouple the PlayerLoop() when the targetFrameRate is set to a finite value, so that it does not effect/slow down the other Editor windows. (1158168)

  • Editor: Added System.IO.Compression to reference assemblies when targeting .NET 4.7.1 (editor only contexts). (1275859)

  • Editor: Adds support for dragging across delayed UI fields to change variables. (1263630)

  • Editor: Allow multiple Unity versions to display in the "Open With..." menu and dialog. Allow the user to choose one as the default. (1202338)

  • Editor: close add ratio window after selecting from aspect ratio menu (1284690)

  • Editor: Custom editors that live in a Unity package will now be used only is a user defined custom editor is not found. (1300193)

  • Editor: Disabled preset for ThemeStyleSheet (1298540)

  • Editor: Display the menu item name when its execution time is longer than the user wait threshold (i.e. 3 seconds) (1313062)

  • Editor: Editor: 'Create Empty Parent' does not rely on Scene View position anymore (1292746)

  • Editor: enable tabbing in the editor while modifier keys are pressed excluding command, control, and alt (1299846)

  • Editor: Ensure invalid Sketchup model UVs are initialized to zero.

  • Editor: Event.current.type scrollWheel pointerType value is now registered as PointerType.Mouse in the mac editor (1261326)

  • Editor: Excluded Keyword Enums from caching in the material inspector to ensure changes from shader files propagate correctly. (1176077)

  • Editor: Fix a crash when using middle mouse button in SceneView during play mode in a scene that uses meshes from asset bundles. (1250013)

  • Editor: Fix arrow key functionality in dialogs in the Mac Editor. (1279832)

  • Editor: Fix blue line that appears when component can not be placed while reordering or adding new components in the Inspector (1300581)

  • Editor: Fix dragging horizontally along the last sibling in the Hierachy and other TreeViews to specify an alternative parent and sibling for the dragged items. (1294910)

  • Editor: Fix for detecting and warning the user on imbalanced GUI layout groups (1289223)

  • Editor: Fix for layer names being clipped in Culling Mask and Volume Mask dropdowns of a HDRP project (1307655)

  • Editor: Fix popup windows in the Linux Editor to show on the right-hand monitor if requested from the right-hand monitor (1294722)

  • Editor: fix so that undocked windows can exit full screen/unmaximize (1293516)

  • Editor: Fix the issue with missing tooltip for Editor tools button (1296952)

  • Editor: Fix to allow multiple instances of derived EventSystem objects in a scene (1303961)

  • Editor: Fix top of Game View is black when "Use display in HDR mode" is enabled and "Color Space" is set to "Linear" (1285015)

  • Editor: Fixed "Lightmap Static" being displayed instead of "Contribute GI" in the editor Static flags dropdown. (1298221)

  • Editor: Fixed an issue causing invalid ScriptableObjects to added as a sub-asset causing the editor to crash during serialisation. (1257558)

  • Editor: Fixed an issue causing MonoScript.GetClass to return a null System.Type in certain situations. (1218837)

  • Editor: Fixed an issue to avoid difference in Width and Height for EditorGUI.RectIntField fields compared to other fields in the Transform section. (1297283)

  • Editor: Fixed an issue to display checkmark next to "Everything" in drop-down for "Culling Mask" property value (1299181)

  • Editor: Fixed an issue to display Rect Transform Anchors in Scene View, with multiple Inspector windows open and when firstly opened one has been locked (1221384)

  • Editor: Fixed an issue to display tooltip for "Maximum LOD Level" and "LOD Bias" Properties under Quality settings. (1296474)

  • Editor: Fixed an issue to enable cut and copy in context when Array Size field is selected. (1290634)

  • Editor: Fixed an issue where calling EditorGUI.PropertyField with a serialized LayerMask and GUIContent.none prints a label. (1304172)

  • Editor: Fixed an issue where check box is shown on Inspector Titlebar for ScriptableObjects (1301335)

  • Editor: Fixed an issue where Shift-Delete does not delete the property for Object field. (1286390)

  • Editor: Fixed an issue where the icon selector window does not close on selection undo. (1305625)

  • Editor: Fixed an issue where Time.unscaledTime and Time.fixedUnscaledTime do not update when stepping through frames (1294730)

  • Editor: Fixed an issue where warning appears when Scrollbar Navigation is set to Vertical and Direction is set to "Top To Bottom" (1245473)

  • Editor: Fixed an issue where Window title tooltip does not disappear after closing Editor window (1283915)

  • Editor: Fixed and issue with toolbar dropdown buttons while resizing editor window on OSX (1299763)

  • Editor: Fixed ArgumentNullException when selecting 'Static-dropdown' in the Prefab Overrides window. (1295412)

  • Editor: Fixed cursor flickering from double arrow to single arrow over splitter on Mac and Windows. (1295344)

  • Editor: Fixed incorrect bounds when LineRenderer GameObject was not enabled and point editing mode was activated (1288693)

  • Editor: fixed issue with Reference Icon overlapping with Preset Manager text on decreasing the width of the Project Settings window. (1282739)

  • Editor: Fixed issue with Stack trace input Field being Misaligned on resizing Player setting Preset (1276715)

  • Editor: Fixed LayoutGroup errors when renaming prefab after changes in isolation mode (1291996)

  • Editor: Fixed missing comma in the manifest file used by the guardian tool

  • Editor: Fixed NullReferenceException when trying to open Object Picker for ScriptableObject variable. (1293117)

  • Editor: Fixed Object Picker's initial selection highlight. (1302335)

  • Editor: Fixed ReorderableList having wrong label/field width ratio

  • Editor: Fixed settings move erratically when the setting you are looking for is located in another platform's tab (1293497)

  • Editor: Fixed Simulator Control Bar menus and buttons so that they don't shrink or overlap when minimising the width of the Simulator window. (1288425)

  • Editor: Fixed status bar's progress bar not refreshing correctly when progress finishes. (1310102)

  • Editor: Fixed the background color of toolbar dropdowns when hovered and pressed (1313159)

  • Editor: Fixed the behavior where anchor preset window remains open even after a double click (1302650)

  • Editor: Fixed the editor trying to move an already moved file after dragging a component from the Inspector to the Project Window. (1301332)

  • Editor: Fixed the gradient picker closing when clicking on the gradient field (1285035)

  • Editor: Fixed the GUI error in the console when a media file is opened. (1294494)

  • Editor: Fixed the LOD Group Inspector frames being too dark when using the Light Skin. (1311960)

  • Editor: Fixed the Recent Scenes menu not being updated after saving via Save As and moved scenes not being correctly tracked.

  • Editor: Fixed the Scene View not updating when the LineRenderer Show Wireframe option was changed.

  • Editor: Generate Release Notes URL according to unity version (1301927)

  • Editor: Improved model import performance by a tiny amount.

  • Editor: Menu Bar doesn't flicker anymore when dragging across monitors (1219094)

  • Editor: Multiple improvements around automatic test-run of tests

  • Editor: Refactoring to make placing windows in the Mac editor more robust and ensure windows are opened on one screen. (1297362)

  • Editor: release mouse if it is dragging when a dialog is opened in the windows editor (1271832)

  • Editor: Removed EditorGUIUtility.GetSkinnedIcon and EditorGUIUtility.GetSkinnedIconForDpi to fix unloading of unused textures. Moved part of the implementation in C++ while keeping the features provided by the removed functions. (1308097)

  • Editor: Resolve variables before reading style values (1297227)

  • Editor: set gdk cursor invisible when forcing software cursor in editor playmode (1212108)

  • Editor: String, Integer, Float, Character and BoundsInt type SerializedProperties now have Copy/Paste context menu options

  • Editor: The arrow cursor in the Linux Editor is no longer slightly offset (1256724)

  • Editor: The Unity Documentation shortcut is no longer installed to the Windows start menu if documentation is not installed. (921689)

  • Editor: While Editor is entering Play Mode clicking menu doesn't return wrong entry anymore (1263313)

  • GI: Baking from the Reflection Probe Inspector works. (1311231)

  • GI: Fix case 1291662: OIDN crashes on AVX512 on MacOS (1291662)

  • GI: Fix clearing of lighting data for duplicate scenes saved with the "Save As" option. (1292192)

  • GI: Fix issue with experimental lightmapping.BakeAsync(Scene) interface getting stuck when baking reflection probes in additively opened scenes in the Editor. (1303788)

  • GI: Fix Reflection probe (gizmo and texture inspector) appearance in linear color space mode. (1293558)

  • GI: Fixed an issue where sometimes the Bug Reporter would not launch when Unity crashed. (1219458)

  • GI: Fixed an issue where sometimes the callstack in Editor.log was incomplete on Windows. (1221524)

  • GI: Fixed assertion failure due to duplicate lightprobe assests being detected during an additive scene merge. (1211198)

  • GI: Fixed automated GI tests in HDRP and URP where multiple editors are used.

  • GI: Fixed crash on baking GI, moving reflection probe, baking only reflection probe. (1310112)

  • GI: Fixed prefab instances losing their lighting when they are unpacked, and the scene is reloaded. (1285269)

  • GI: Fixed progressive updates not working for the first bake of an editor session. (1300926)

  • GI: Fixed reflection probes not being zeroed out when lighting is cleared.

  • GI: Fixed scene lighting data not getting updated when the selected Lighting Data Asset for the scene is changed. (1263683)

  • GI: Fixes an issue where the GPU lightmapper seems to be stuck in an endless loop before finishing a bake. (1258690)

  • GI: Ignore OpenCL CPU devices that are incompatible with the GPU lightmapper on macOS due to insufficient local workgroup size. (1293520)

  • GI: Make it possible for the job manager to shut down the editor even if the OpenCL driver stopped working. (1276653)

  • GI: Make the compression label in Lighting Window - Baked Lightmaps better. (1297198)

  • GI: Removed the Unity process count check that is used to guard the GI Cache from getting trimmed by other Editors, as the asset import workers are counted as Editors. (1313354)

  • GI: Removes terrain trees from being drawn in the shadowmask scene visualization mode as background objects as they do not receive a shadowmask, anyway. (1295410)

  • Graphics: Add CameraBuffer VFX type to encapsulate camera buffers that can be Texture2D or Texture2DArray depending on the platform (1213482)

  • Graphics: Add support for having multiple different Renderers on the same Game Object when using ray tracing. (1305305)

  • Graphics: added exception when creating 3d textures with depth/stencil format on metal, as this is not supported (1296524)

  • Graphics: Added Metal Compute Pipeline Validation to the Editor (1283446)

  • Graphics: Disable "create material" button in terrain inspector when viewed through a preset. (1290453)

  • Graphics: First Material data is used for Shadowmap rendering when using multiple Materials with the same Shader and different properties (1304644)

  • Graphics: Fix bug where in some situations the AsyncUploadBuffer was not persisting even when QualitySettings.asyncUploadPersistentBuffer was set to true. (1150408)

  • Graphics: Fix crash when using RenderPass without depth on Metal devices

  • Graphics: Fix hang when loading texture from AssetBundles in the Editor that were built for other platforms. (1286994)

  • Graphics: Fix issue with GrayScaleRGBToAlpha for 16bpc textures (1295408)

  • Graphics: Fix rare deadlock that can occur when a texture fails to load. (1265360)

  • Graphics: Fix readback/blit from backbuffer in Editor when running GLES (1301446)

  • Graphics: Fix selection of sRGB format for rendertextures inspector (1295276)

  • Graphics: Fix skybox cubemap corruption in Vulkan (1195394)

  • Graphics: Fix SystemInfo.supportsRenderTargetArrayIndexFromVertexShader when using Vulkan (1269732)

  • Graphics: Fix unintentional crossfades for LODs when the animated cross-fading flag is enabled. (1305495)

  • Graphics: Fixed a bug with Cubemap.GetPixel(CubemapFace face, int x, int y) not passing its parameters correctly. (1305539)

  • Graphics: Fixed a VT assert checking < instead of <= on the number of layers. (1285522)

  • Graphics: Fixed an issue where calling RenderTexture.ReleaseTemporary and then RenderTexture.GetTemporary could cause invalid load/store actions if the RenderTexture was active before being released. (1279714)

  • Graphics: fixed crash wrong format desc of GraphicsFormat.VideoAuto on metal (1296529)

  • Graphics: Fixed false-positive error message during ReadbackImage on GLCore (1297065)

  • Graphics: Fixed incorrect GeometryJob Fence initialisation causing graphical corruption in UI canvas rendering.

  • Graphics: Fixed line & trails deforming when points were too close together. (1275386)

  • Graphics: Fixed loading Renderdoc causing textures to disappear in the texture inspector (1296238)

  • Graphics: Fixed Metal Graphics Jobs crash caused by uncommitted encoder (1227236)

  • Graphics: Fixed missing support for coarse/fine derivatives in shader code.

  • Graphics: Fixed Renderer Scenehandles becoming invalid due to the flush of pending changes after a Render. (1292526)

  • Graphics: Fixed ScriptableRenderContext.ExecuteCommandBuffer crashing when called with a disposed command buffer (1306222)

  • Graphics: Fixed situation where Hybrid Renderer could throw errors because of invalid reflection data

  • Graphics: Fixed Texture2D.GetPixel(int x, int y, int miplevel) internally passing the miplevel parameter incorrectly. (1284757)

  • Graphics: Fixed the documentation of CommandBuffer.EndSample. (1264605)

  • Graphics: Fixing bug were a very strong emissive could leak if placed behind a canvas surface in the scene. (1295722)

  • Graphics: Force reload of VFX graph compute shaders when reloading assembly (1107178)

  • Graphics: GetGraphicsApiMask should be called in VisualEffectImporter to force reimport while changing API (1300054)

  • Graphics: GetPixels,SetPixels,GetPixels32,SetPixels32 will now throw exceptions when failing instead of printing error messages. A number of bugs were fixed that could crash unity. (1293040)

  • Graphics: make metal query max tessellation factor from the driver instead of clamping to 16 always (1289859)

  • Graphics: Metal shaders will compile correctly when referencing tessellation factors in the domain shader. (1139698)

  • Graphics: Missing objects when highly static batched scene + SRP Batcher (1294742)

  • Graphics: Now grabpass should work for opengl/opengles/vulkan in VR for single pass instanced and multiview. (1160876)

  • Graphics: Properly handle terrain pixel error calculations for orthographic cameras (1244606)

  • Graphics: Put objects with negative scale into separate static batch. This makes normal maps display correctly on those objects. (1205209)

  • Graphics: Removed GraphicsFormat warning for RenderTextures when changing color space to gamma. (1284779)

  • Graphics: RenderTextures are no longer forced to use Clamp border sampling if a format with depth is used. (1292651)

  • Graphics: Resolves pixel-like grid artifacts that were present on MacOS Catalina with some Intel graphics cards in the Scene View and Prefab view. (1255995)

  • Graphics: Texture2DArray, Texture3D and Texture2D inspectors now allow undo (ctrl+z) actions.
    Runtime CustomRenderTextures can now be exported to .png from the inspector.
    Color space change prompt can now be localized.
    Fixed crash due to invalid shaderpass index when changing materials in a CustomRenderTexture. (1175907, 1284784, 1288007)

  • Graphics: Virtual texturing stats are now correctly gathered and displayed while capturing the editor. (1286033)

  • Graphics: Visual Effects in prefabs always show as modified (1285787)

  • IL2CPP: Emit correct code for virtual methods with an in parameter of an array type. (1302459)

  • IL2CPP: Fixed issue that caused IL2CPP builds to fail when destination path had spaces and/or non-ASCII characters. (1287860)

  • IL2CPP: Fixed UnityLinker bug that caused callvirt instruction to be removed without removing the corresponding constrained instruction. (1297609)

  • IMGUI: Fixed an issue where clearing search field using 'x' button does not register changed event. (1306036)

  • IMGUI: Fixed an issue where cursor does not jump to start of text on home key in project browser window. (1287121)

  • IMGUI: Fixed an issue where custom editor without CanEditMultipleObjects attribute is not displaying the script fields. (1279145)

  • Input: Fix so that pen and touch work in gameview. (1285873)

  • iOS: EditorUserBuildSettings.symlinkLibraries will affect sources in packages which are referenced by file tag in Packages/manifest.json (1301157)

  • iOS: Fixed incorrect "Plugins colliding with each other" errors when using certain framework combinations (1287862)

  • iOS: Fixed Screen.dpi returning zero on some iPads. (1300359)

  • iOS: UaaL displays properly if embedded in app with SceneDelegate support. (1266702)

  • iOS: Update the list of available frameworks in Plugin Inspector. (1194821)

  • iOS: When selected XCode project build destination is not allowed (root project folder, Assets folder, etc.) warning is displayed.

  • Kernel: Fixed potential crash while extracting detangled name on OSX. (1308423)

  • License: Add Licensing Client version into Editor Analytics.

  • License: Fix serverDirectory in license server configuration file

  • Linux: Add handling for Norwegian Bokmal and Nynorsk in SystemInfo for macOS and Linux, and to SystemInfo in Runtime/Misc used by WebGL and MetroPlayer

  • Linux: Fixed ArgumentException errors being thrown when clicking on the camera settings button on the scene view. (1286300)

  • Linux: Fixed broken automated test, test now passes and is re-enabled. (1252268)

  • Linux: Fixed code path that allows OnGUI() to be called before Awake() in user scripts. (1273603)

  • Linux: Fixed crash when Unity Editor was closed while running the profiler. (1278719)

  • Linux: Fixed gizmo dropdown not closing when clicking on the scene or game view. (1289590)

  • Linux: Fixed issue where calling SetResolutionImmediate in HDRP would display blue. (1309848)

  • Linux: Fixed OnGUIDepth errors that spam the console when docking and undocking the Inspector window. (1299223)

  • Linux: Fixed profiler throwing BeginSample/EndSample mismatch errors when opening preferences from the profile window while profiling. (1286545)

  • Linux: NullReferenceException no longer appears when clicking the "Setting icon" under the "Profiler Module" dropdown (1290647)

  • macOS: Add handling for Norwegian Bokmal and Nynorsk in SystemInfo for macOS and Linux, and to SystemInfo in Runtime/Misc used by WebGL and MetroPlayer (1288528)

  • macOS: Fix Screen.resolutions refreshRate property. (1284854)

  • macOS: Fixed crash in pthread_wait_cond when launching Unity with -importPackage option (1301071)

  • macOS: Fixed Input.inputString not updating when cmd key is held down (1296862)

  • macOS: Fixed Screen.currentResolution when Mac Retina Support Player Setting is off. (1286140)

  • macOS: When selected XCode project build destination is not allowed (root project folder, Assets folder, etc.) warning is displayed.

  • Package Manager: Deletion of root package folders from Project Browser is now prohibited. Users should use Package Manager Window to ensure proper removal of packages from their projects. (1285197)

  • Package Manager: Fix sample display name error info box when package is not in development and package manager set to lowest width.

  • Package Manager: Fix size of add bouton

  • Package Manager: Fixed an issue with Perforce where embedded packages would be checked out for edit after being fetched and imported into the project. (1279371)

  • Package Manager: Package Manager asks for writable access when opening a project even though it only needs readable access (1263378)

  • Package Manager: Project manifest and lock file aren't checked out when they are made writable by Package Manager upon opening a project while upgrading project. (1263362)

  • Package Manager: Put a descriptive error message when open asset with different account

  • Package Manager: Release Candidate packages will just be tagged as 'RC' again. Users on alpha/beta versions will no longer see packages tagged as 'Pre' if they don't have 'Enable Pre-release' setting enabled. (1297779)

  • Package Manager: When the project manifest and the lock file are unchanged after an UPM operation, they should not be checked out. (1263363)

  • Particles: Fixed inspector locking when editing sub-emitters that were not descendants. (1311111)

  • Particles: Fixed Simulate behaviour being incorrectly labelled as Prewarm in the profiler. (1296365)

  • Particles: The create button("+") is now hidden in the Particles Window when editing a Prefab Asset. (1287185)

  • Physics: Clarified how certain HideFlags affected physics (1239147)

  • Physics: Fix crash when calling ArticulationBody.GetDenseJacobian method with a ArticulationJacobian that was initialized with the default constructor (1275091)

  • Physics: Fix Rigidbody.angularVelocity setter that constrained the velocity wrongly; it's now doing it in mass-space to match what should happen actually (1083573)

  • Physics: Fix the kinematic flag not being not being applied correctly when off and when there were concave meshes attached (1299855)

  • Physics: Fix the physics debug window being lost forever after entering the playmode (1230368)

  • Physics: Fixed a crash when the maximum allowed ArticulationBody components (64) was reached in a single hierarchy (1284372)

  • Physics: Fixed an issue where adding a Cloth component would not compute the correct bounds for the related SkinnedMeshRenderer, unless update off-screen was toggled on (1290726)

  • Physics: Fixed an issue with Cloth getting residual forces from meshes with bones. (1294086)

  • Physics: Fixed an issue with Cloth where attempting to use Undo functionality would result in a NullReferenceException (1289060)

  • Physics: Fixed an issue with Cloth where the simulation would receive incorrect data during initialization, causing it to become jittery and offset the simulation space. (1257005)

  • Physics: Fixed an issue with the Cloth Inspector where constraints could end up being painted even though the brush was outside of the models bounds (1296484)

  • Physics: Foxes an issue with Cloth bounds computation where objects with non-uniform scale would cause the bounds to incorrectly expand (1209765)

  • Physics: Hide the joint editor tool gizmos when the joint is not active at all (1275862)

  • Prefabs: Fix Editor crashes when applying changes to Prefab Mesh via Script (1307624)

  • Prefabs: Fix that creating a Prefab by dragging did not handle missing scripts gracefully. (1259961)

  • Prefabs: Fix that the scene is no longer dirty after dragging a Prefab into the Scene view and then undoing. (1299185)

  • Prefabs: Fixed case 1085603: Undoing the 'Create/Replace prefab' action does not revert the Prefab to its previous state' (1085603)

  • Prefabs: Fixed FindAllInstancesOfPrefab to filter persistent instances.

  • Prefabs: Fixed Lego Microgame crash during tutorial - crash when undo objects array contains null object (1297802)

  • Prefabs: Set as first/last sibling cannot be undone to reorder the Prefab hierarchy. (1296698)

  • Profiler: Fixed a material leak in the UISystemProfiler UI (1280162)

  • Profiler: Fixed an issue where creating a Memory snapshot file writer with a null or empty string would crash the Editor (1296217)

  • Profiler: Fixed crash due to Profiler code during Editor Shutdown

  • Profiler: Fixed the Thread Selection Dropdown in Hierarchy view showing multiple threads as selected if they all share the same name.

  • Profiler: Removed Total Time from GI Profiler Module chart as it duplicated time in the stacked chart (1305568)

  • Scene Manager: Fix that prevent dragging gameobject in a scene that is not loaded (1291614)

  • Scene/Game View: Adding a verification of the current mode (edit/play) to only display FPS when in playmode as the measured value does not mean anything in edit mode and can confuse some users. (1285123)

  • Scene/Game View: Fixed Scene Hierarchy context menu not showing separators in submenus. (1247305)

  • Scene/Game View: Fixed Scene View camera zooming too far when using middle mouse wheel scroll with a very small object framed. (1300336)

  • Scene/Game View: Fixes arc handle picking when the arc is close to parallel with the camera. (1310854)

  • Scene/Game View: Fixing Gameview focus inconsistent when re-docking (1272795)

  • Scene/Game View: Fixing MissingReferenceException in the Scene overlay when deleting a selected Particle System. (1295035)

  • Scene/Game View: Fixing selection outline not drawn for SRP objects in scene view (1294951)

  • Scene/Game View: Fixing selection outline not fading when behind other objects (1119607)

  • Scene/Game View: Increased maximum Scene Camera fly speed to 1e+5. (1287220)

  • Scene/Game View: The Scene view camera was snapping back or forward when zooming in while holding the Alt key.
    This was due to a small error in the formula.
    There is no more jump in the zoom with this fix. (1293718)

  • Scripting: Add Flags attribute to SelectionMode enum. (1298921)

  • Scripting: Avoid GC allocation in UnitySynchronizationContext. (1276456)

  • Scripting: Change Roslyn Analyzers to be run part of normal Compilation Step.
    This will also result in Analyzer errors to be treated as an Compile Error.

  • Scripting: Editor logs an Error whenever the filename of an assembly does not match its name. (1109539)

  • Scripting: Exclude readonly files from script execution order menu to reduce visual noise. (1281215)

  • Scripting: Fix a stack overflow occurring when a custom ILogHandler is throwing an exception in LogFormat/LogException methods (1241896)

  • Scripting: Fix Application.wantsToQuit not being raised before OnApplicationQuit in the Editor. (1261125)

  • Scripting: Fix hang entering playmode after calling into managed code from native thread. (1304163)

  • Scripting: Fix invalid memory write in MonoBehaviour when it destroys its own instance within the OnDisable call. (1286736)

  • Scripting: Fix possible exception after changing Roslyn Analyzers to be part of the initial compilation (1313026)

  • Scripting: Fix rare deadlock case in GC (1229776)

  • Scripting: Fix ScriptUpdater crash when Editor is installed in a folder with spaces in the path (1309831)

  • Scripting: Fixed ApiUpdater incorrectly removing usings in some scenarios

  • Scripting: Fixed assemblies in non local/embedded packages triggering updater consent (1171778)

  • Scripting: Fixed nested aliases handling in ApiUpdater (1251569)

  • Scripting: Fixed potential error due to ApiUpdater not handling extension methods correctly.

  • Scripting: Interpolated verbatim strings can start with both $@"..." and @$"..." as specified in C# 8.0. (1304285)

  • Scripting: Performance improvements in ApiUpdater

  • Scripting: Self-referencing assemblies will give error during assembly validation

  • Search: Fixed errors are thrown on enabling 'UI Toolkit Live Reload' in 'Search asset store' window. (1299600)

  • Search: Fixed NullReferenceException gets thrown in the Console when clicking on the Help button in the Preview Inspector. (1309227)

  • Search: Fixed search tab showing HTML <a> tags for the item count (1301148)

  • Search: Fixed search window appears with the clipped header when opened after reset. (1306463)

  • Serialization: Binary2Text: adding support for SerializeReference/ReferenceRegistry (1284031)

  • Serialization: Fix an issue where a SerializedObject is created with empty Objects. (1279513)

  • Serialization: Fix crash on JSONUtility read when class has both a field named "references" and [SerializedReference] fields (1198073)

  • Serialization: Fix for ability to find assets derived from a Generic type in the object selector window (1288312)

  • Serialization: Fix for hard to repro crash when using JSONUtility to deserialize objects that have Serialized References (1296236)

  • Serialization: Fix Property Diff after clearing array w/refs (1266303)

  • Serialization: Fix regression where Event code could be stripped from build when using il2cpp. (1301147)

  • Serialization: Fix SerializedProperty.arraySize and add SerializedProperty.minArraySize. (1279753)

  • Serialization: fix uninitialized member field reported by static analysis (1305542)

  • Shaders: Added tests for custom BFI and UBFE implementations in HLSLcc (1305543)

  • Shaders: Fixed inaccurate shader_feature usage tracking with shader stage specific keywords. (1255901)

  • Terrain: Adds compatibility tags used to distinguish terrain supported shaders (1283086)

  • Terrain: Fixed Brush Preview rendering when a different hot control is active (1276282)

  • Terrain: Fixed Brush Preview rendering when mouse is outside of SceneView bounds (1281231)

  • Terrain: Fixed texture atlas bleeding that occurred on details. Added half pixel offset for grass texture UVs, and collapsed uvs for detail meshes without textures. (1268510)

  • Terrain: Performance improvement when adding many trees to a terrain (1225501)

  • Terrain: Tree Colliders are generated when entering playmode with EnterPlayModeOptions.DisableSceneReload set. (1290587)

  • Terrain: Trees with LOD groups will not warn the user that they don't have an LOD group when they have a mesh renderer within them. (1287964)

  • UI: Ensuring we only disable the ARF for root non world space canvas's as they are the ones that have a fixed resolution that would be overwritten constantly (1302464)

  • UI: Fix issue with checking for CanBindTo with null sprite (1310284)

  • UI: Fixed an issue where a Unity GUI element would be stuck in the pressed state on resume. (1236185)

  • UI: Fixed duplicate USS files in the StyleSheets pane when editing-in-place (1299314)

  • UI: Fixing hard to repo issue where serialization would be a issue due to reuse of serialized name. (1309777)

  • UI: Fixing issue where selecting the padding title for a graphic wouldn't expand the area. (1308734)

  • UI: Make inputfield Text property multiline such that multiline input can be viewed easier when multiple lines are typed. (1300867)

  • UI Toolkit: Added new controls (RadioButton, RadioButtonGroup, DropdownField) to the UITK Samples and UI Builder Standard Library (1310158)

  • UI Toolkit: Added tooltip in StyleSheets pane when hovering a class selector that is trimmed (UI Builder) (1313198)

  • UI Toolkit: Allowed UIElements Debugger to pick elements from Game View outside of play mode

  • UI Toolkit: Capturing mouse/pointer during a click will cancel that click. (1283061)

  • UI Toolkit: Changed EnumField+derivatives & BasePopupField-based classes to properly handle pointer down events (1248669)

  • UI Toolkit: Changing choices programmatically after setting the value will show the correct selection, in RadioButtonGroup.

  • UI Toolkit: Elements hover and focused states are not properly reset when attaching to a new hierarchy (1287198)

  • UI Toolkit: Fix add component button is overlapping on Default Material after undoing added component (1279830)

  • UI Toolkit: Fix Custom UIElements Inspector is editable when GameObject has its Flags set to NotEditable (1306242)

  • UI Toolkit: Fix PropertyField shows that it is actively selected when it has been disabled while being actively selected (1306238)

  • UI Toolkit: Fixed 1297002: [GraphView] Graph Inspector window sticks to the mouse cursor on changing any dropdown value in Node settings. (1297002)

  • UI Toolkit: Fixed a bug where users were able to drag slider outside its container when a text field was present

  • UI Toolkit: Fixed an Error in the asset management of the StyleSheet that would show up in a build

  • UI Toolkit: Fixed being able to paste USS Selectors from the Hierarchy pane and elements from the StyleSheets pane. Paste now works based on which pane is currently active. (UI Builder)

  • UI Toolkit: Fixed bug where multiple elements could be shown as being focused simultaneously due to delayed focus events not being well tracked when there is more than 1 of them in the queue. (1154256)

  • UI Toolkit: Fixed cases where errors during static initialization of style resources would make the inspector window blank (1294463)

  • UI Toolkit: Fixed clicking in empty space in Hierarchy pane not deselecting a USS Selector and vice-versa for the StyleSheets pane. (UI Builder)

  • UI Toolkit: Fixed custom editor not showing as disabled for read-only inspectors (1299346)

  • UI Toolkit: Fixed document settings (like Canvas background and zoom) being reset when editing a sub-document in-place. (UI Builder)

  • UI Toolkit: Fixed element highlight overlay not being reset after deleting the element. (UI Builder)

  • UI Toolkit: Fixed elements being added to the parent in builder hierarchy when editing a sub-document in place (UI Builder) (1306104)

  • UI Toolkit: Fixed empty name showing up in Memory Profiler for one of the UI Toolkit internal render texture (1307441)

  • UI Toolkit: Fixed exception thrown when selecting the currently open UXML asset in the Project Window. (UI Builder)

  • UI Toolkit: Fixed float and double attributes not being stored correctly in UXML as CultureInvariant. (UI Builder)

  • UI Toolkit: Fixed handling of a deleted StyleSheet that is being used by the currently open UXML UI Document. (UI Builder)

  • UI Toolkit: Fixed InspectorElement enabled state in EditorElement.Reinit (1221162)

  • UI Toolkit: Fixed InternalsVisibleTo for com.unity.ui.builder 1.0.0-preview.10

  • UI Toolkit: Fixed invalid property access after saving a document in UI Builder (UI Builder) (1281537)

  • UI Toolkit: Fixed issue where SerializedObject bindings use cases would lead to editor crashes (1305198)

  • UI Toolkit: Fixed Label Element is not resized when Display Style is changed from None to Flex (1293761)

  • UI Toolkit: Fixed ListView item selection through PointerMoveEvent, for example when holding right-click down while clicking. (1275295)

  • UI Toolkit: Fixed ListView item selection through PointerMoveEvent, for example when holding right-click down while clicking. (1287031)

  • UI Toolkit: Fixed non-whole pixel size and position values resulting from resizing or moving elements in the Viewport with the zoom set to 75%. (UI Builder)

  • UI Toolkit: Fixed not being able to create a single-character selector. (UI Builder)

  • UI Toolkit: Fixed not being able to rename USS Selectors directly inside the StyleSheets pane via double-click or the right-click menu.

  • UI Toolkit: Fixed null reference exception when using the Align style properties on a USS Selector. (UI Builder)

  • UI Toolkit: Fixed NullReferenceException on turning UI Toolkit Live Reload on/off on maximized docked Search window (1312367)

  • UI Toolkit: Fixed older GraphView still relying on old idsFlags field

  • UI Toolkit: Fixed PropertyField created from UXML missing its default label (1309780)

  • UI Toolkit: Fixed RadioButtonGroup and DropdownField choice attribute parsing in the UI Builder, when first added.

  • UI Toolkit: Fixed regression on the styling of the ProgressWindow's progress bars, removed usage of images in progress bar. (1297045)

  • UI Toolkit: Fixed scrollbar showing for no meaningful reason when the content of a scrollview is almost equal to the size of the scrollview. (1297053)

  • UI Toolkit: Fixed settings search not working for UI Builder settings in the Project Settings window. (UI Builder)

  • UI Toolkit: Fixed the InvalidCastException thrown when assigning a built-in image asset to a Texture2D in the UI Builder inspector. (UI Builder)

  • UI Toolkit: Fixed the source path of template referenced in UXML getting cleared after saving (1288918)

  • UI Toolkit: Fixed VisualElement contains "null" stylesheet after deleted uss file from project (1290271)

  • UI Toolkit: Fixed window creator on linux caused a null reference and the new editor window was displayed corrupted. (1295140)

  • UI Toolkit: Fixes 1304581: [UIElements] ArgumentException is thrown when the PropertyField is bind to the BuildTarget enum
    Popup/Dropdown (Enum-compatible) fields now gracefully handle unselected/invalid values. (1304581)

  • UI Toolkit: GenericDropdownMenu no longer needs to be reinstanced on every use. (1308433)

  • UI Toolkit: InspectorElement now correctly supports rebinding when used outside of the InspectorWindow (1299036)

  • UI Toolkit: Overlay, "Show Layout" now works for Runtime panels in Edit Mode (and not only in Play Mode like before)

  • UI Toolkit: Prevented infinite recursion using UIElements with nested property drawers. (1292133)

  • UI Toolkit: UQuery: Enumerator support allows for foreach iteration with no or minimal gc allocations

  • Universal Windows Platform: Fixed Certificate not being set in UWP publish settings with certain passwords. (1301223)

  • Version Control: ProjectVersion.txt file is correctly updated when updating a project to a new Unity version while having Provider.preCheckoutCallback set to a non null value. (1291360)

  • Video: fixed VideoPlayer where frames would be skipped when looping for videos encoded with h.264 and non baseline profile on Windows. (1109411)

  • Video: fixed VideoPlayer where incorrect frame numbers would be returned for videos encoded with h.264 and non baseline profile on Windows. (1044776)

  • Video: Video starts playing from an arbitrary frame when VideoPlayer.Pause is called before VideoPlayer.Play (1297648)

  • Video: VideoPlayback leaked if destroyed while seeking. (1308317)

  • Video: VideoPlayer.frame is wrong during seek (1290698)

  • Video: Videos encoded in 601 or 709 colourspaces will now be rendered in the correct colorspace (1185335)

  • Video: [audio/AVFoundation] Low / Medium / High quality settings don't change the final audio bit rate (1092549)

  • Video: [audio] webm/vp8/vorbis encoding does not use audio bitrate (1092206)

  • Virtual Texturing: Fixed most cases where VT mip bias becomes unstable (1273174)

  • WebGL: Add a warning message for selecting High Quality for lightmap encoding when WebGL 1 is in the Graphics API list. (1290512)

  • WebGL: Add handling for Norwegian Bokmal and Nynorsk in SystemInfo for macOS and Linux, and to SystemInfo in Runtime/Misc used by WebGL and MetroPlayer

  • WebGL: Implement Accelerometer and Gyroscope sensor support for mobile WebGL (1283206)

  • WebGL: Implement Attitude Sensor support for mobile WebGL

  • WebGL: Implement Gravity Sensor support for mobile WebGL

  • WebGL: Implement Linear Acceleration Sensor support for mobile WebGL

  • WebGL: Improved Webcam backend with added support for mobile devices, improved performance and fixes issues with input device selection and other bugs. (1273253)

  • WebGL: Support mobile WebGL touch events to Immediate Mode GUI when the New Input System package is used. (1300223)

  • WebGL: WebGL1 shaders can fail to compile if they have large arrays (1298096)

  • Windows: Error.log now has a correct stack trace when collecting Editor crash information. (1278602)

  • Windows: Fixed input latency increasing by 1 frame when switching between exclusive fuilscreen and other fullscreen modes on D3D11 and D3D12 graphics APIs.

  • Windows: Fixed Windows player infrequently deadlocking when changing fullscreen modes on D3D11 and D3D12 graphics APIs.

  • XR: Always disable optimized frame pacing when using XR. (1288764)

  • XR: Enable Vulkan lazy allocation for memory savings on Oculus Quest.

  • XR: Fixed occlusion culling does not work in XR SRPs. (1304299)

  • XR: Fixed occlusion culling glitches when camera is close to the clipping plane and transitions between 2 baked occlusion areas. (1289059)

  • XR: Fixed so XR Interaction Toolkit appears in Package Manager when pre-release packages are enabled.

  • XR: Fixed XRDevice.fovZoomFactor does not work in URP and HDRP. (1278072)

  • XR: Fixed XRSettings.gameViewRenderMode does not work in SRPs (1279033)

  • XR: Updated the verified AR Foundation related packages to 4.1.3. Please see the AR Foundation package changelog for details.

  • XR: Updated XR Interaction Toolkit to 1.0.0-pre.2.

API Changes

  • 2D: Added: Added GetAnimationFrameCount, GetAnimationFrame, GetAnimationTime, SetAnimationFrame and SetAnimationTime to get and change the animation timings for Tiles on the Tilemap.

  • 2D: Added: Added GetTilesRangeCount and GetTilesRangeNonAlloc to get the positions and Tiles between a given start and end positions in a Tilemap.

  • Android: Added: Added AndroidJavaObject.CloneReference to enable having multiple references to the same Java object. (1277152)

  • Android: Changed: Fix issue on Adreno where SystemInfo.maxComputeBufferInputsFragment is incorrectly report as greater than 4 on some devices (1307679)

  • Asset Bundles: Added: Added public API to specify the amount of memory reserved for the shared AssetBundle loading cache.

  • Burst: Added: Intrinsics: Neon - Added support for basic vld1 APIs

  • GI: Added: Added two new callbacks: LightProbes.needsRetetrahedralization which is called whenever the current registered probes and tetrahedralization are out of sync, and LightProbes.tetrahedralizationCompleted which fires after (re-)tetrahedralization is done.

  • Graphics: Added: Added some getters for the Streaming Virtual Texturing settings.

  • Graphics: Added: This PR adds a API function checking is all the systems of an Visual Effect are sleeping.

  • Graphics: Changed: RenderBufferStoreActions.Resolve and RenderBufferStoreActions.StoreAndResolve can now be set using the RenderTarget API

  • Graphics: Obsoleted: ReflectionProbe.defaultReflectionSet has been deprecated in favor of ReflectionProbe.defaultReflectionTexture

  • IL2CPP: Removed: Removed IIl2CppProcessor interface

  • IL2CPP: Removed: Removed IUnityLinkerProcessor.OnBeforeRun and IUnityLinkerProcessor.OnAfterRun interface methods

  • iOS: Added: Added iOS.Device.iosAppOnMac flag to check if app built for iOS is running on Mac equipped with Apple Silicon chip.

  • iOS: Changed: EditorUserBuildSettings.symlinkLibraries renamed to EditorUserBuildSettings.symlinkSources, both Android and iOS will use this property.

  • Package Manager: Added: Added a new AddAndRemove method to the UnityEditor.PackageManager.Client API which can be used to add and/or remove multiple packages to/from the project in a single operation.

  • Physics: Added: Expose ArticulationBody.collisionDetectionMode property to set various collision detection modes, like Discrete, Continuous and etc.

  • Physics: Added: Exposed a new property in RaycastHit called colliderInstanceID, which returns the instance ID of the collider the ray collided with

  • Prefabs: Added: Exposed FindAllInstancesOfPrefab to scripting.

  • Prefabs: Changed: The classes PrefabStage and PrefabStageUtility have been moved out of the experimental namespace UnityEditor.Experimental.SceneManagement to the namespace UnityEditor.SceneManagement, leaving nothing left in UnityEditor.Experimental.SceneManagement. The move is supported by the API updater. Note that the Timeline package needs to be at least version 1.3.0 to compile with this change all later versions can be fixed by the API Updater.

  • Scripting: Added: Add FileUtil.GetPhysicalPath and FileUtil.GetLogicalPath methods to convert logical paths to physical and vice versa.

  • Terrain: Added: Added DetailPrototype.NoiseSeed and its GUI in terrain Detail wizards, so that the random seed for detail object placement can be specified. (1291809)

  • Terrain: Added: Added TerrainData.ComputeDetailInstanceTransforms that returns an array of DetailInstanceTransform structs containing the exact same transforms of details that Unity uses for rendering.

Changes

  • 2D: Update com.unity.2d.sprite package license

  • 2D: Update com.unity.2d.tilemap package license

  • Burst: Changed how exceptions throw types and messages are stored in our Burst binaries to reduce binary size.

  • Burst: Changes to inliner heuristics to improve build time and reduce executable size.

  • Burst: Exception strings no longer contain the entry-point name of the job/function-pointer that caused the throw. This change was required because the Burst compiler has to produce deterministic results from any given compile, which is fundamentally opposed to per-entry-point function derivations.

  • Burst: Upgraded Burst to use LLVM Version 11.0.1 by default, bringing the latest optimization improvements from the LLVM project.

  • Editor: Deleting an object reference array entry in inspector now removes that array element. Previously first deletion was setting element reference to none, and only the second deletion was deleting the element.

  • GI: Removed Enlighten deprecation notice for precomputed realtime global illumination. It is now fully supported. Baked GI using Enlighten is still deprecated.

  • Graphics: LWRP package has been deprecated. LWRP package was maintaned with the sole purposed of providing an upgrade path to URP. Check URP 2021.2 documentation for notes on how to upgrade LWRP package to 2021.2.

  • Graphics: Make sure that IMGUI Debugger appears in the last position no matter what is above

  • Package: Updated Code Coverage package to v1.0.0-pre.3

  • Search: Removed the resource search provider (res:).

  • Shaders: Bumped the global keyword limit to 384.

  • Shaders: Shader compiler logs are now generated in Logs folder instead of Library.

  • Timeline: Updated Timeline package to version 1.6.0-pre.1

  • UI Toolkit: Optimized some data access for Live Reload feature.

  • UI Toolkit: Removed additional overhead of attaching to panel for Live Reload when the option is turned off, improving performance in loading VisualTreeAssets.

  • XR: The Oculus XR Plugin package has been updated to 1.7.0.

  • XR: Updated verified Windows Mixed Reality package to version 5.2.0.

  • XR: Updated Windows MR XR SDK Plug-in to 5.1.0

  • XR: Updated XR Plug-in Management to 3.2.17

Improvements

  • Android: Allow low-level configuration of Unity threads (priority, affinity)

  • Asset Pipeline: Added summary in the editor log about what has happened during a refresh

  • Asset Pipeline: Do not show warning dialog when it is not possible to move import worker log files

  • Asset Pipeline: Project startup times have been improved. Projects with 900,000 files will load 30 seconds faster, at least.

  • Asset Pipeline: Speed up editor startup by fixing asset handling related code.

  • Build Pipeline: Make linking faster for big projects

  • Burst: Improved codegen

  • Documentation: Improved documentation for GeometryUtility.TestPlanesAABB. Explain false positives.

  • DX12: Added the ability to set D3D12_RAYTRACING_GEOMETRY_FLAG_NO_DUPLICATE_ANYHIT_INVOCATION flag when adding Renderers to a RayTracingAccelerationStructure. This will allow implementation of robust colored ray traced shadows.

  • Editor: Adding new features for Menu Items in the context of Editor Modes

  • Editor: Game View maximize on play toggle also got an option to not focus the game view upon play mode. Also, an editor preference to not create the game view on play was added.

  • Editor: GameObject/Prefab inspector preview is much faster now for complex hierarchies (e.g. prefab with 10k objects, preview area goes from 3FPS to 40FPS). (1295887)

  • Editor: Made importing models with Blendshapes a bit faster if the Import Blendshapes setting is unchecked.

  • Editor: Optimized BC7 ("high quality" compression setting on PC/Console platforms) texture compression, now about 2-3 times faster. This is using a new texture compressor (bc7e), added option in Editor Settings to switch to the old one (ISPC) if needed.

  • Editor: Reorganized Quality Project Settings, to make it clearer which options are relevant to which parts of Unity. (1307483)

  • Editor: UI polish of Build Settings window (more logical sort of installed platforms, etc.)

  • Editor: Updated ASTC texture compressor for about 10% compression time speedup.

  • GI: Added exposure slider to the Enlighten lit clustering scene view mode in the Editor.

  • GI: Lightmap analytics events now include bakes that fell back from GPU to CPU Lightmapper.

  • GI: Make it visible in the GI Profiler module what the state of Realtime GI support and enabled state is, when no data is captured.

  • GI: Move memory related logging from console to log file.

  • GI: Reduced ringing when using Open Image denoiser.

  • GI: Run GICache trimming jobs every 30 seconds instead of back to back. (1289849)

  • Graphics: Added Color and Depth Load/Store actions support to the Frame Debugger

  • Graphics: Added support for "VFX.CameraBuffersFallback" preferences. It allows to select from 3 options:
    -None: Do nothing, keep outdated buffer info from the last rendered frame.
    -Prefer Main Camera (Default): Current behavior, use the buffer from Main camera when available, Scene camera otherwise.
    -Prefer Scene Camera: Use the buffer from the Scene camera when available, even if the Main camera is being rendered as well.

  • Graphics: Allow the default specular reflection cubemap to be a RenderTexture (with dimensions CUBE)

  • Graphics: Improved error logging for the CopyTexture function.

  • Graphics: Improved the application of outstanding pending changes to RendererScene after a camera render.

  • Graphics: Optimize Material.FindPass. The speedup depends on the number of passed the Material has.

  • Graphics: Remove shader Passes that contain ray tracing shaders (closesthit, anyhit) when ray tracing is not supported by the system or graphics API.

  • Graphics: Setup unity_MotionVectorsParams built-in shader variable in Ray Tracing shaders.

  • Graphics: Virtual Texturing is now more robust when it comes to switching color space.

  • Graphics: [Metal] GPU-side error log improvement via enhanced command buffer error reporting

  • Kernel: Improved stability of player connection:

    • Receiving of messages may now be dispatched across multiple frames.
    • Fixed issue where player connection could corrupt message queue and reconnecting to app was required.
    • Better handled disconnection of app (situations like: app crash, force killing of app or loosing connection).
    • [Mobile Platforms] Initial support to suspending app.
  • License: Sync access token with L-Client upon change

  • Package: upgrade package to 2.1.4. The main purpose is to release new doc.

  • Package: Upgrading input system package to 1.0.2

  • Physics: Rearrange the ArticulationBody properties so that damping and friction is located right after mass and is not visually separated from it by the anchor properties

  • Prefabs: Updated documentation for Object.DontDestroyOnLoad

  • Profiler: Added profiler memory stats data, data is similar to the Profiler Module data found in the Profiler Window

  • Profiler: Added profiler target data to memory snapshot format, data consists of elements such as unity version, product name, total gfx memory, total physical memory etc.

  • Scripting: Added support for superluminal profiler (Internal only)

  • Scripting: Reduce and optimize regex usage to improve performance

  • Scripting: UX improved when setting up Unity version defines for asm definitions

  • Search: Added a way to manage the indices from the Search windows directly. (1307787)

  • Search: Each search index have their search unique group ID. (1307734)

  • Search: Fixed search doesn't display all results in project view. It now includes the same result as the legacy search engine (i.e. AssetDatabase.FindAssets) (1310140)

  • Search: Pressing ESC should not close the search window if docked. (1311205)

  • Search: Share the same search debouncing threshold with the project browser and the quick search window. (1298380)

  • Search: Update package search provider Install, Update and Remove button availability. (1309659)

  • Search: Use a single search provider to search any indexed object.

  • Shaders: Reduced memory consumption when loading shaders.

  • Shaders: Reduced shader variant memory usage. (1296101)

  • UI Toolkit: Added a new RuntimeDefault theme with less overhead for runtime usage.

  • UI Toolkit: Improved UI Toolkit event debugger. Improvements include optimizations, adjustable UI, settings, event and callback filtering, event replay.

  • WebGL: Added support for Screen Orientation Locking and Auto-Rotating for mobile browsers which support The Screen Orientation API

Features

  • Burst: Add support for calling Burst code directly from C# without using function pointers.

  • Burst: Added support for creating profiler markers from Burst code

  • Burst: Added support for exceptions thrown from Burst to contain a callstack

  • Burst: Added support for LLVM 11 to bring the latest and greatest code generation benefits to Burst

  • Burst: Apple silicon support

  • Burst: Experimental support for some ArmV8.2A intrinsics (dotprod, crypto, RDMA)

  • Burst: full support for ARMv7 and ARMv8-A Neon intrinsics (out of experimental)

  • Burst: Preliminary support for loading additional burst compiled libraries in play mode/standalone - for modding support -

  • Burst: support for new intrinsics

  • Editor: Add support for menu states (disabled, checked) in QuickSearch.

  • macOS: Added support for ETC native compilation on Apple Silicon processors.

  • macOS: Added support for SpeedTree native compilation on Apple Silicon processors.

  • Package: Added Visual Scripting (previously known as Bolt) as a default package

  • Package: Update to Polybrush 1.1.0-pre.1

  • Package Manager: Ability to install a package from a browser hyperlink (including an experimental package).

  • Package Manager: If a user chooses to continue from the UPM dialog warning them of an entitlement error in one of their packages, then once the Editor is open, Package Manager window will immediately open to the first package with an entitlement error.

  • Package Manager: Support Packages with Entitlements

  • Physics: Added Enable All/Disable All buttons to the Physics Settings layer collision matrix that allows to disable or enable all of the layer collisions

  • Terrain: Introduced the new Instancing mode for Terrain details: This mode renders the detail objects with instanced draws using the material specified on the prototype prefab.

  • UI Toolkit: Added runtime access to the PanelSetting and UIDocument, making the package unnecessary for runtime UIToolkit rendering.

  • XR: Reduced VR rendering latency using controller Late Latching with skinning and mesh renderer support

Changeset: 4a734693b889