Unity 2020.2.0 Alpha 17

发布时间:7. July 2020

通过Hub安装 下载(Mac) 下载(Windows)

Install this version with Unity Hub.

Additional downloads

Select the runtime platforms of your choice from the list below (the desktop runtime is included as standard) or, to install the full complement of runtime platforms, use the download assistant installer above.

发行说明

Known Issues in 2020.2.0a17

  • AI: A NavMeshAgent GameObject teleports to a near NavMeshSurface when collided with a moving NavMeshObstacle (1072945)

  • AI: Editor crashes on MemoryManager::GetAllocator when selecting NavMeshAgent Component in the Inspector window (1257220)

  • Animation: Animation default transition state property window gets blank on expanding Settings section (1258764)

  • Asset Bundles: [Performance Regression] AssetBundleLoadAllAssets - Load_Prefabs_AllAssets is significantly slower than 18.4 (1203512)

  • Asset Bundles: [Performance Regression] AssetBundleLoadSingleAssets : LoadAsync_Prefabs_SingleAssets is significantly slower than 18.4 (1203511)

  • Asset Import Pipeline: Same Asset generates different Dependency Hash on different machines (1190390)

  • Audio: Unity crashes in Play Mode at FMOD_Resampler_Linear (928576)

  • Cloth: Cloth has graphical artifacts when an object moves out of the camera (1254174)

  • CodeEditors: Crash with __pthread_kill + 10 when debugging with Rider (1241352)

  • CodeEditors: [Windows] Load previous project on startup check causes domain reload that blocks Editor (1248300)

  • Global Illumination: Crash with empty stacktrace when starting bake in the new scene after baking previous scene with GPU PLM (1244384)

  • Global Illumination: [GPU PLM] RadeonRays::IntersectionApi::Delete crash when baking lighting data with 4096 Max Lightmap Size (1260024)

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

  • Global Illumination: [macOS] BugReporter doesn't get invoked when the project crashes (1219458)

  • Graphics Device Backends: Shader error undeclared identifier "UNITY_TRANSFER_LIGHTING" when building project for the first time after project launch (1259980)

  • Graphview: [UI] Clickable event called twice (1258072)

  • IAP: Unity purchasing gives error on project upgrade due to failing to find UnityEngine.UI assembly (1193773)

  • IL2CPP: Unity 2020.2.0a17 fails to build on IL2CPP when the Editor is installed to a location with spaces in the path (1259936)

  • IMGUI: Exception when using EditorGUI.PropertyField on list

  • IMGUI: Pop-up windows like Color Picker close upon clicking them when they are hovered on immediately after opening (1239613)

  • IMGUI: Unable to add and remove Textures in the list under "Secondary Texture" panel from the "Sprite Editor" window.

  • Linux: Build download fails with segmentation errors and malformed region bugs (1248265)

  • Linux: Having same case-insensitive named assets causes infinite import looping (1194431)

  • Linux: [2019.4] Crash on DebugStringToFile when entering Play Mode due to an OpenSSL library dependency (1255038)

  • MacOS: [Mac] Many artifacts can be seen in Scene View when Scene Light is enabled and HDR is on with Metal API and Mac OS X 10.15.4 (1240265)

  • Packman: Asset Store 'Complete Projects' overwriting Project Settings with no warning (1255256)

  • Packman: [Package Manager] User Not Logged In error appears if the editor is launched with the My Assets tab open (1210282)

  • Scripting: [SerializedField] fields produce "Field is never assigned to..." warning (1080427)

  • Shaders: Unity outputs a warning in a Windows 64bit Standalone Player when using built-in Shaders (1107819)

  • Shadows/Lights: Skybox lighting is not rendered after creating gameobjects in the new scene until the lighting is rebaked (1250293)

  • Themes: Editor does not recognize the correct values in the interactive tutorial levels when non-English locale is being used (1109625)

  • Vulkan: Player settings window turns black on clicking "+" button with Vulkan Graphics APIs. (1259939)

  • WebGL: Using XElement.Load(string uri) causes an uncaught abort exception when using dlopen() dynamic linking in Emscripten (1192963)

  • WebGL: [Linux editor] empty WebGL project fails building (1230970)

  • Window Management: ReloadAssembly -> EndReloadAssembly processing freezes Editor for minutes (1253165)

  • iOS: Images.xcassets folder does not contain LaunchImage files (1254927)

  • uGUI: IDropHandler is not triggered when the dragged object has IPointerDownHandler implemented (1255936)

New 2020.2.0a17 Entries since 2020.2.0a16

Fixes

  • 2D: Fixed an issue where there was not a tooltip for Tile Palette Gizmos button. (1254646)

  • 2D: Fixed auto-sizing for the Tile Palette when the Tile Palette is set to YXZ swizzle.

  • Asset Pipeline: Fixed an issue where custom dependencies changes are rejected in initial domain load.

  • Burst: Fixed a compatibility issues between burst and older linux distros.

  • Burst: Fixed an issue preventing player builds to succeed when burst compilation is disabled.

  • DX12: 8 Multi-RenderTarget gives Assert error d3d12: querying for an out-of-bounds color surface (1219274)

  • DX12: Fixed an editor crash when shader global constant buffer exceeded 64kB on dx12. (1210562)

  • DX12: Fixed an editor crash when using ProBuilder in Vertex Edit mode View would Crashes HQ with HDRP/DXR. (1213285)

  • DX12: Fixed an issue where Texture2DArray MSAA resolve was broken on d3d12. (1249422)

  • Editor: Changed the title of the splash screen window to clarify activity name on CentOS. (1232562)

  • Editor: Fixed an build with Linear Color Space issue after resetting Player Settings. (1163436)

  • Editor: Fixed an issue where Line Renderer tool was not working if gizmos were disabled in the Scene View. (1244789)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Editor: Fixed an issue where the Windows menu item was not always second from the last. (775676)

  • Editor: Fixed an issue with the new input system mouse coordinate scaling in editor play mode on Linux. (1114148)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Editor: Profile Analyzer (com.unity.performance.profile-analyzer) Updated to version 1.0.1 for many issues fixed and updated documentation. (1253426, 1254017, 1254364, 1254572, 1254868, 1254869, 1254870, 1256243)

  • GI: Fixed an issue with an overlapped title in Lightmap thumbnail preview. (1113043)

  • Graphics: Enable valid tessellation behavior for HDRP on Metal API platforms

  • Graphics: Fixed an issue with compute skinning in GraphicsJobs when using Vulkan or Metal. (1251156)

  • Graphics: Fixed metal shader compilation error when half3 temporary arrays are used. (1256024)

  • Graphics: made export to png use grayscale image for R8 (1239813)

  • Graphics: Metal: Fixed MSAA ResolveDepthIntoTexture to use the resolved texture as a source when doing blit into destination

  • IL2CPP: Fix an issue where managed stacktrace resolving on old Android devices (5.0 and lower) would fail and show zero frames. (1242285)

  • IL2CPP: Fixed a branch out of range linker error on iOS when the managed debugger was enabled. (1205136)
    This has already been backported to older releases and will not be mentioned in final notes.

  • IL2CPP: Fixed a warnings from IL2CPP generated code when struct prototype warnings were enabled for C files. (1247033)

  • IL2CPP: Fixed an ArgumentException that was thrown in Socket constructor when using Windows SDK 10.0.19041.0. (1251011)

  • iOS: Fixed an issue where Social.localUser.ID returns GameCenterUsersID instead of the new GamePlayerID and TeamPlayerID. (1254347)
    This has already been backported to older releases and will not be mentioned in final notes.

  • iOS: Fixed default specular cubemap format for iOS and tvOS to be PVRTC.

  • Kernel: Fixed an issue where worldPositionStays argument was missing from Undo.SetTransformParent. (1247086)

  • macOS: Fixed a crash in -[CocoaMainMenu validateMenuItem:] when using the Help menu search after building a player. (1255419)
    This has already been backported to older releases and will not be mentioned in final notes.

  • macOS: Fixed an issue where the Build Settings window would not minimizes with the editor window. (1199503)

  • Mobile: Fixed an issue where the 109 error message appeared on mobile. (1245254)

  • Package Manager: Fixed an issue where samples showed randomly when package was not installed and Sample.FindByPackage API did not work if the package manager window was not open.

  • Package Manager: Fixed an issue where PackageManager.Client.Remove request was still proceeding after input package name contained unsupported characters like carriage return or line feed failed validation.

  • Profiler: Added a delay search mechanism to the profiler window to prevent locking up the window by searching each time the user would type in a letter instead of waiting until the user stops typing. (1252464)

  • Profiler: Fixed a crash due to out-of-memory when saving a large frame in Profiler Window. (1255862)
    This is a change to a 2020.2.0a14 change, not seen in any released version, and will not be mentioned in final notes.

  • Profiler: Fixed an issue where there were duplicate AsyncReadManager.ReadFile marker. (1258822)

  • Profiler: Module Editor - Fixed an issue where choosing to delete a module would not present a confirmation dialog prior to deleting the module. (1256877)
    This is a change to a 2020.2.0 change, not seen in any released version, and will not be mentioned in final notes.

  • Profiler: Module Editor - Fixed an issue where closing the Unsaved Changes dialog would close the window and discard changes. (1256868)
    This is a change to a 2020.2.0 change, not seen in any released version, and will not be mentioned in final notes.

  • Profiler: Module Editor - Fixed an issue where long chart counter name were truncated in the chart view's legend,. The full name is shown as a tooltip. (1256893)
    This is a change to a 2020.2.0 change, not seen in any released version, and will not be mentioned in final notes.

  • Profiler: Module Editor - Fixed an issue where long module names would no longer cause the module icon to appear. (1256882)
    This is a change to a 2020.2.0 change, not seen in any released version, and will not be mentioned in final notes.

  • Profiler: Module Editor - Fixed an issue where restore defaults when the Module Editor is open would not refresh the UI with the latest list of modules. (1256874)

  • Profiler: Module Editor - Fixed an issue where the selected counters in the Counters list were not cleared when changing modules. (1256887)
    This is a change to a 2020.2.0 change, not seen in any released version, and will not be mentioned in final notes.

  • SceneManager: Fixed an issue where SceneManager.GetSceneByBuildIndex returned a blank Scene object when 'Reload Scene' is disabled. (1250452)

  • Scripting: Fixed an issue with correct file sharing for exFAT partitions on macOS. (1253812)

  • Scripting: Fixed several Debugger crashes. (1249172)

  • Serialization: Fixed an issue where instance deserialization was stopped when there was an exception during the managed ref deserialization process and still had a valid instance created. (1256991)

  • Shaders: Fixed an issue to use the error shader when a variant failed to compile, thus not rendering anything. (1253968)

  • Shaders: Fixed an issue where SRP batcher compatibility was not etup correctly when Shader live link option is enabled. (1254587)
    This is a change to a 2020.2.0 change, not seen in any released version, and will not be mentioned in final notes.

  • Shaders: Fixed an issue where the Loading shader wasn't used in the player while waiting for a variant to compiled. (1254843)

  • UI: Fixed an issue where the update button onclick link would point to an inproper proper file.

  • UI Toolkit: Fixed an issue where the GraphView edges disappeared when resizing the visual element container height smaller than a certain threshold. (1240884)

  • XR: Fixed a Vulkan framebuffer layer count logic issue when using multiview. (1256388)

API Changes

  • Asset Import: Changed: Move all types in UnityEditor.Experimental.AssetImporters namespace into UnityEditor.AssetImporters

Changes

  • Burst: Output of Debug.Log is temporarily disabled when used in Burst Function Pointers/Jobs to avoid a deadlock on a domain reload. A fix for the Unity editor is being developed.

  • Kernel: Native allocators now use slightly large blocks to avoid the more costly overflow allocations that go directly to system memory. This will cause a very slight increase in initial memory usage, but will avoid some spikes in performance

  • Package Manager: Upgraded Cinemachine to 2.6.0. See Cinemachine 2.6 release notes

  • Profiler: Module Editor - Charts with no counters are no longer allowed, as they serve no purpose. (1256891)
    This is a change to a 2020.2.0 change, not seen in any released version, and will not be mentioned in final notes.

  • Timeline: Updated Timeline package to v.1.4.0

Improvements

  • 2D: Allow users to delete a selection of Tiles with the Delete/Backspace key after selecting Tiles with the Select tool

  • Editor: Added a label displaying how many Game Objects are currently selected to the Inspector. (1208698)

  • Graphics: Added debug names for resources on DX12.

  • Graphics: Adding warning message when using a uv set out of range in the RecalculateUVDistributionMetric C# function

  • Graphics: Metal: Add changes required for Apple GPU support on a Mac

  • Scripting: Obtain a full callstack when Instruction Pointer is NULL to prevent crash.

  • Scripting: UnsafeUtility.Malloc will now throw an exception when given a positive alignment value that is not also a power of two. Previously this was only flagged as an assert in debug builds.

Features

  • Graphics: Trilinear filtering support for procedural VT

  • Package Manager: Add advanced settings for Package Manager in Project Settings.

  • Scripting: Support Roslyn analyzers in Unity projects.

Preview of Final 2020.2.0a17 Release Notes

System Requirements Changes

Fixes

  • 2D: Colliders should also respect Pivot property of Edge Sprites in Sprite Shape

  • 2D: Ensure SpriteShape are not generated when not in view on Runtime.

  • 2D: Fix Bounds/RectInt.allPositionsWithin returning positions with a size 0 for any axis (1227811)

  • 2D: Fix generation of collider shapes for TilemapCollider2D with AnimatedTiles while tile is animated

  • 2D: Fixed "Unapplied import settings" doesn't prompt when Apply button is clicked on the TextureImporter when changes are made both in Sprite Editor Window and TextureImporter (1244077)

  • 2D: Fixed an issue where SortingGroup wasn't updated when a new Sorting Layer is added between existing Sorting Layers. (1251717)

  • 2D: Fixed an issue where the preview of a deleted secondary texture entry was still visible in Sprite Editor. (1211176)

  • 2D: Fixed an issue where the vertical scrollbar of the Secondary Textures panel in Sprite Editor did not react to the mouse wheel. (1204429)

  • 2D: Fixed an issue where there was not a tooltip for Tile Palette Gizmos button. (1254646)

  • 2D: Fixed auto-sizing for the Tile Palette when the Tile Palette is set to YXZ swizzle.

  • 2D: Fixed broken documentation links in inspectors for com.unity.2d.animation package

  • 2D: Fixed Edge and Polygon 2D collider tools not supporting multiple selection. (1224661)

  • 2D: Fixed exception after reverting from creating new vertices and edges in Skinning MOdule

  • 2D: Fixed NullReferenceException when creating prefab with SpriteSkin component. (1245149)

  • 2D: Fixed OnDrawGizmos to Get/Release RenderTexture through CommandBuffer.

  • 2D: Fixed PSDImporter broken documentation links in inspectors

  • 2D: Fixed PSDImporter creates empty GameObject in certain cases

  • 2D: Fixed PSDImporter for 32 bit PSD file format (1230120)

  • 2D: Fixed Sprite asset used by SpriteSkin in Scene is being deleted

  • 2D: Fixed Sprite deformation not updated when GameObject is being enabled with SpriteSkin component

  • 2D: Fixed Sprite Editor doesn't show the Sprite when the Inspector is locked and the Sprite is not selected in the Project window (1215581)

  • 2D: Fixed SpriteSkin always deform even when culled by adding alwaysUpdate option to SpriteSkin to determine if SpriteSkin execution should occur even when the associated SpriteRenderer is culled

  • 2D: Fixed visual defect after undoing changes to Bone Transform properties in SpriteSkin's Inspector

  • 2D: Removed unused XR dependency in 2D Animation package (1249390)

  • 2D: Retain cells set in the GridBrush when doing a Move (1244347)

  • 2D: Set active editor tool to Paint tool when Shift Key is released before Mouse Button is released when painting or erasing from a Tile Palette (1231123)

  • 2D: SpriteShapeController leaks memory when zero control points are used

  • 2D: [2D] While Entering Play Mode, Unity seems to read all of the Atlas sprites and takes a long time (1252917)

  • 2D: _NormalMap Secondary Texture is streched to AtlasSize when Atlas Texture size is larger than Normal Map texture size (1167829)

  • AI: Added OffMeshLink component Reset functionality (1155287)

  • AI: Baking ignores FBX files with Mesh Compression set to Low or Medium when baking NavMesh (1152594)

  • AI: Fixed a crash when specified node pool size for a new NavMeshQuery is too small. (1104755)

  • Android: Avoid using depthClamp on GPUs that don't support it when using Vulkan

  • Android: Fix depth when rendering to backbuffer with BlitType Auto/Never

  • Android: Fix RenderPass API implementation when using OpenGL ES (1219327)

  • Android: Fixed a regression with playing back uncompressed, on-disk asset bundles on Android versions before Pie.

  • Android: Fixed a Vulkan validation error when using Optimized Frame Pacing with Vulkan. (1255060)

  • Android: Fixed an issue when using blend shapes with GPU skinning on older Adreno devices with OpenGL ES. (1253349)

  • Android: Fixed an issue where Android cutout's y coordinate in windowed mode. (1248638)

  • Android: Fixed an issue where Multithreaded Rendering setting would use the incorrect platform settings.

  • Android: Fixed Autoconnect Profiler option when device is connected with USB only (1244618)

  • Android: Fixed BuildOptions.ConnectToHost option, when Android is only connected to PC via USB and Wifi is disabled. Previously BuildOptions.ConnectToHost would only work through Wifi connection, now the app should automatically connect to Editor. (1233567)

  • Android: Fixed performance regression on Mali GPUs when using CBUFFERs. (1157313)

  • Android: With sporadic freeze when using Vulkan on Mali devices

  • Animation: Added documentation for AnimatorControllerPlayable methods. (1195131)

  • Animation: Animation count in Scene from the Stats window does not drop down when all of the Animation are finished in the Scene (1201251)

  • Animation: BlendTree node with any number of empty Motion fields now trigger an update of neighbouring node positions. (1193229)

  • Animation: Crash in AnimationCurveTpl<Vector3f>::EvaluateClamp when animation.Play(AnimationPlayMode.Queue) is called in Update() (1218218)

  • Animation: Fixed a crash that happened when destroying AnimationPlayables (1231355)

  • Animation: Fixed a crash that happened when ScriptPlayableOutput::ScriptProcessFrame was called after destroying a playableOutput. (1251399)

  • Animation: Fixed a crash that would happen when calling the GetBoneTransform on a humanoid with no left finger (1228811)

  • Animation: Fixed a crash where the animation clip custom target was null as it was still in a transform binding mode (1228823)

  • Animation: Fixed an issue where a rename would be accepted in the Animation Window even if the ESC key is pressed (1157048)

  • Animation: Fixed an issue where the editor crashes when opening Animator transition settings with specific hierarchy. (1242608)

  • Animation: Fixed an issue where the layout of the Animator Window would not persist properly. (1197028)

  • Animation: Fixed an issue where threshold values with commas would not save in blend tress (817322)

  • Animation: FIxed playable graph with animations breaking when 'Disable Unity Audio' is enabled. (1187693)

  • Animation: Fixing unstable test CanMaintainSelection (1224904)

  • Animation: Hidden Animator Layers/Parameter view opens back again after entering Play Mode (1219412)

  • Animation: Memory leak occurs due to TransformStreamHandle memory not being deallocated when deactivating GameObjects (1167280)

  • Animation: OnStateUpdate will not be called when a new AnimatorControllerPlayable is attached by the first time (1168332)

  • Asset Bundles: Fix asset bundle to be able to load scene from asset bundle build from package. (1233575)

  • Asset Import: AssetDatabaseExperimental.GetAvailableImporterTypes returns all expected registered importers for a given asset path. (1218830)

  • Asset Import: Fixed a memory leak and console errors when using ClearImporterOverride on Model assets (fbx files and other formats using the ModelImporter). (1218841)

  • Asset Import: Fixed an issue where clips did not fill the entire timeline in the Animation Inspector. (1202394)

  • Asset Import: Fixed AssetImportWorker taking autoconnect player connections.

  • Asset Import: Importers does not lose selection anymore when the imported asset changes its type. (1182598)

  • Asset Import: LoadImage now returns PNGs in the authored colorspace when gAMA block is authored, instead of gamma 2.0. A new static flag has been added to the ImageConversion class to disable this behavior. See Texture2D.LoadImage for additional details. (1199896)

  • Asset Pipeline: A imported asset dependency on a source asset could lead to a wrong import.

  • Asset Pipeline: ArtifactID is now unique for an import result (1193231)

  • Asset Pipeline: Changed behavior in Refresh

    • Empty folders that don't have .meta files get deleted if the folders were known before.
    • If an orphaned .meta file is marked as folderAsset the folder is recreated.
      These changes address issues related to creating/deleting folders in certain (p4, git) version controlled projects where empty folders don't get created/deleted when the user gets latest version on the client.
  • Asset Pipeline: Changing the platform is not propagated to the asset import worker process

  • Asset Pipeline: Fix for instability where .meta files are not parsed right. (1214122)

  • Asset Pipeline: Fixed a crash in GetHashOfImportedAssetDependencyHints when scripted importer returns null inside GatherDependenciesFromSourceFile during unity startup (1234968)

  • Asset Pipeline: Fixed a crash on shutdowncasued by AssetDatabase.Refresh. (1247251)

  • Asset Pipeline: Fixed a scalability issue of increasing number of revisions of long dependency chains (e.g. iterating on nested prefabs). (1250294)

  • Asset Pipeline: Fixed a small performance regression when batch copying assets via scripts (1238732)

  • Asset Pipeline: Fixed an issue that prevent PluginImporter importing from root folders in registered asset folders. (1193341)

  • Asset Pipeline: Fixed an issue where Artifacts for deleted asset didn't get deleted in artifact garbage collection.

  • Asset Pipeline: Fixed an issue where custom dependencies changes are rejected in initial domain load.

  • Asset Pipeline: Fixed an issue where Forced import of an new asset which already have a meta file (and thereby a GUID) don't get force reimported.

  • Asset Pipeline: Fixed Binary to YAML UInt16 conversion error when importing a specific binary serialized package into a project with Force Text serialization enabled (1225913)

  • Asset Pipeline: Fixed issue where postprocessors with version 0 wouldn't be used

  • Asset Pipeline: Fixes indeterministic results when calling AssetDatabase.ImportAsset on assets with dependencies. (1238675)

  • Asset Pipeline: Having information that says "version 2" is selected, can be confusing, since users could assume that the "version 1" of the asset import pipeline could be selected. This has been removed completely as 2020.1 can on the Asset Import Pipeline that was re-written for 2019.3

  • Asset Pipeline: If the license is not valid asset import worker processes will fail and block the main editor (1224855)

  • Asset Pipeline: Native plugins are imported together with scripts (1249129)

  • Audio: Changing audio mixer attenuation to or from 0 dB resulted in popping / spiking sounds (1101442)

  • Audio: Chorus and Flange filters didn't apply initial parameters correctly under certain situations when used in the audio mixer or as audio filter components. (579690)

  • Audio: Fix import failures with certain low-bitrate/-samplerate clips (1143239)

  • Bug Reporter: Added a name of the file causing the error to the project packer error message (1223660)

  • Build Pipeline: Added support for baked collision mesh writing in the Scriptable Build Pipeline.

  • Build Pipeline: Fixed bug in the Managed SpookyHash algorithm that was causing some bytes at the end of the buffer to not be incorporated into the hash for specific buffer sizes.

  • Build Pipeline: Reduced amount of garbage collection performed inside the ContentBuildInterface.

  • Burst: Fix a regression that could break usage of native plugins.

  • Burst: Fixed a compatibility issues between burst and older linux distros.

  • Burst: Fixed an issue preventing player builds to succeed when burst compilation is disabled.

  • Burst: Fixed an issue that prevented burst from resolving functions on platforms when it's statically linked such as iOS.

  • CodeEditor: Add project generation for Xbox One build target (1156114)

  • CodeEditor: Added support for solution folders.
    Only bind the messenger when the VS editor is selected.
    Warn when unable to create the messenger.
    Fixed an initialization issue triggering legacy code generation.
    Allow package source in assembly to be generated when referenced from asmref.

  • CodeEditor: Fixed and issue where teh assembly references to package assemblies break IDE projects.

  • CodeEditor: RIDER - "The specified path is not of a legal form (empty)"

  • CodeEditor: RIDER - Guarantee that sln and csproj files are present, when OpenProject is called

  • CodeEditor: Xbox One platform generates broken .Player.csproj files (1139068)

  • Core: Fixes crash when IME Strings got too long. (1226610)

  • DX12: 8 Multi-RenderTarget gives Assert error d3d12: querying for an out-of-bounds color surface (1219274)

  • DX12: Fixed a performance issue when invoking dynamic vertex buffer updates. (1204804)

  • DX12: Fixed an editor crash when shader global constant buffer exceeded 64kB on dx12. (1210562)

  • DX12: Fixed an editor crash when using ProBuilder in Vertex Edit mode View would Crashes HQ with HDRP/DXR. (1213285)

  • DX12: Fixed an issue where Texture2DArray MSAA resolve was broken on d3d12. (1249422)

  • DX12: FrameTimingManager now works on DX12 Windows Standalone and UWP. (1212335)

  • Editor: "Generate all .csproj files" setting needs to be toggled on every startup for all the csproj files to actually be generated

  • Editor: 'Create Empty Parent' added to the hierarchy window context menu

  • Editor: 'Cut' and 'Paste As a Child' functionality added to Scene View (1215583)

  • Editor: (case 1215825) UnityEngine.Diagnostics.ForceCrash does not produce crash dump when editor exits due to fatal error log message (1215825)

  • Editor: Active Tool window now saves properly in the layout (1224432)

  • Editor: Added IMGUI dependency on UGUI. (1211425)

  • Editor: Allow pasting float numbers with a trailing f into number fields.

  • Editor: Automatic "unity is busy" progress dialogs on Windows no longer steal focus or pop up while the editor is not the active application.

  • Editor: Changed CTRL click in Hierarchy so it's changes the active object to reflect the scene view behavior (1154444)

  • Editor: Changed the title of the splash screen window to clarify activity name on CentOS. (1232562)

  • Editor: com.unity.test-framework does not print any messages when loaded into a project. (1214217)

  • Editor: Do not generate invalid project files when 'Open by file extension' is chosen. (1246567)

  • Editor: Don't display blank GameObject preview for Camera Prefab Assets. Instead, treat it the same as other Prefabs that don't have renderer components. (1182438)

  • Editor: Ensur EditorSettings works as preset (1223623)

  • Editor: Fix assembly hot reload inside the editor. (1251134)

  • Editor: Fix camera speed slider not getting to min-max when setting min/max values with more than 2 decimals (1190430)

  • Editor: Fix disappearing "Edit..." button next to Shader dropdown list on Material UI.

  • Editor: Fix dragging on Empty Favorites (1224386)

  • Editor: Fix error in import by adding support for the conversion of SkinWeights using UNorm16 and SNorm16 format. (1218889)

  • Editor: Fix foldout alignment in Physics2D Settings window (1228331)

  • Editor: Fix for Physics Matrix in Project Settings that was drawing itself over a scrollbar. (1230925)

  • Editor: Fix rare Editor hang on OSX when building to player. (1251001)

  • Editor: Fix the issue with Foldout click rect not aligning with the icon (1244058)

  • Editor: Fix Transform manipulator to use Undo.RecordObject so it works with livelink.

  • Editor: Fixed "Handles.Repaint called outside an editor OnGUI" error when folding out an Avatar Mask's Node Name property. (1244003)

  • Editor: Fixed 3D texture preview drag rotation

  • Editor: fixed a bug where UTR fails with "No tests have been selected to run message" when in fact we attempt to run playmode tests in standalone player and connection times out.

  • Editor: Fixed a race condition during input shutdown when unloading an input library on Windows. (1250096)

  • Editor: Fixed a ShortcutWindow profile dropdown that was missing the dropdown arrow. (1232757)

  • Editor: Fixed an build with Linear Color Space issue after resetting Player Settings. (1163436)

  • Editor: Fixed an issue by adding null check. (1211302)

  • Editor: Fixed an issue by Calling UpdateCachedData to get updated info before updating the m_traker. (1202591)

  • Editor: Fixed an issue by setting the font size property value to zero in reset function. (1239786)

  • Editor: Fixed an issue in where texture property field was to small to fit all the necessary text. (1248645)

  • Editor: Fixed an issue to enable scroll down automatically when first frame of logs does not fit in console window. (1241533)

  • Editor: Fixed an issue when importing an Asset from a .unitypackage that has the same GUID as an existing Asset in the project wasn't displaying a warning. (1250673)

  • Editor: Fixed an issue where 'BeginLayoutGroup must be called first' console errors being printed when canceling some editor dialogs. (1248979, 1253156)

  • Editor: Fixed an issue where certain dropdowns are misaligned in the player settings preset editor (1218668)

  • Editor: Fixed an issue where clicking the right edge of textures icon in material inspector would open a asset selection window. (1248553)

  • Editor: Fixed an issue where error is thrown when a new swatch preset library is created with name containing "/" (1254004)

  • Editor: Fixed an issue where foldout arrow icon is misaligned after expanding Material Reference[0] property in the Animation window. (1250971)

  • Editor: Fixed an issue where multiple EventSystem instances could be created from a prefab in one scene (1210254)

  • Editor: Fixed an issue where plugin resolution would fail if a plugin had two chained library extensions (1217894)

  • Editor: Fixed an issue where SearchField style of custom editors does not match with other Search Fields in the editor. (1243420)

  • Editor: Fixed an issue where snapping didn't work only lines were showing.

  • Editor: Fixed an issue where the context menu Reset was not functioning as intended with Assembly Definition and Reference files. (1217217)

  • Editor: Fixed an issue where the Editor toggle boxes could not be toggled when mouse is not over the checkbox. (1252258)

  • Editor: Fixed an issue where the Gizmos FoldOut does not expand until the mouse cursor is moved. (1228330)

  • Editor: Fixed an issue where the Save Asset window does not close automatically after saving all assets. (1222647)

  • Editor: Fixed an issue where the Windows menu item was not always second from the last. (775676)

  • Editor: Fixed an issue where when "Add Component" button jumps in the inspector when resizing if has custom expandable UI Group elements. (1230277)

  • Editor: Fixed an issue where width of the border of the Alpha Value is not enclosed within boundary in the color picker (1237286)

  • Editor: Fixed an issue with "Select Shader" option in inspector shader context menu. (1231531)

  • Editor: Fixed an issue with Properties in the Canvas Scaler component not matching with the properties in its Preset. (1252603)

  • Editor: Fixed cancel of multiple objects rename that would set their names to "<multi>" instead of keeping their original names. (1218183)

  • Editor: Fixed flickering when multiple windows were shown on macOS Editor (1221722)

  • Editor: Fixed Frame Debugger to show Compute Shader dispatch information properly.

  • Editor: Fixed freeze when Time.timeScale is set to NaN (1216135)

  • Editor: Fixed Highlighter APIs. (1223530)

  • Editor: Fixed incorrect GUI style for Influence Mask field in the ParticleSystem External Forces Module

  • Editor: Fixed inspector errors when unselecting a shader include file. (1254896)

  • Editor: Fixed issue where the free move's surface snap (shift+control) didn't use the new HandleUtility.PlaceObject extendable API.

  • Editor: Fixed issue with event data not being reset on subsequent clicks after the first one (1219722)

  • Editor: Fixed issues with AspectRatioFitter component (1199877)

  • Editor: Fixed main editor window is no longer maximized when resetting the layout. (1179646)

  • Editor: Fixed New InputSystem not handling absolute mouse positions including those sent over RDP.

  • Editor: Fixed property dropdown of "Surface Effector 2D" doesn't expand until the mouse cursor is moved in Properties Window. (1243958)

  • Editor: Fixed property window cascading even though no property windows are opened. (1251625)

  • Editor: Fixed rare unstable asset hash

  • Editor: Fixed rebuilding gizmo renderers caused an performance regressions. (1238713)

  • Editor: Fixed Scene View not accepting input after Maximizing and Un-maximizing while holding the right mouse button. (1186624)

  • Editor: Fixed Screen.resolutions returning 0 length collection in the Linux editor (1200397)

  • Editor: Fixed script execution order values being cropped when using certain UI scaling values (mostly 125%). (1182109)

  • Editor: Fixed skybox persisting in scene after drag cancellation

  • Editor: Fixed tessellated objects rendering with a replacement shader when filtering in the Scene View. (1180254)

  • Editor: Fixed test ShortcutEntryConstructor_MethodWithShortcutArgs_FromAttribute in debug mode. (1233242)

  • Editor: Fixed Texture 2D Array support to the Render Texture Editor. (1238898)

  • Editor: Fixed the Click Offset area for a GUI Button. (1240174)

  • Editor: Fixed the coverage issue in enum data utility (1215827)

  • Editor: Fixed the issue where the Grid opacity Input field is highlighted on changing the Grid Axis from the scene view grid settings window (1221530)

  • Editor: Fixed toggling Scene View from 2D to 3D locking the camera motion to the last direction of movement. (1232270)

  • Editor: Fixed Unity Editor existing fullscreen mode when layout is changed. (1232706)

  • Editor: Fixed unselected Scene Views not respecting the mouse scroll wheel zoom shortcut. (1216819)

  • Editor: Fixed usage of restore_saved_layout when bottom_view and top_view are null for an editor mode dynamic layout. (1244524)

  • Editor: Fixed vertex snapping incorrectly snapping to objects hidden by Scene Visibility flags. (1222442)

  • Editor: Fixed EndLayoutGroup errors when GUI items are highlighted by PrefixLabel. (1238526)

  • Editor: Fixes an issue where an exception was thrown when trying to show the contextual menu for an unloaded scene in the hierarchy window (1233432)

  • Editor: Fixes issues caused when components required by other components do not exist. (876288, 887641, 888143, 1086961)

  • Editor: Fixes the crash when "Right click" is used to close an undocked preview window on Windows. (1231889)

  • Editor: GameObjects are not draggable when using the scroll wheel in macOS (1175328)

  • Editor: Gizmo icons are now displayed on all objects all the time unless object is selected (1223375)

  • Editor: Hierarchy items are not considered hovered when scrolling the vertical scrollbar. (1229149)

  • Editor: Implemented Getter and Setter for Blocking Mask property, so that it can be accessed through script. (1210118)

  • Editor: Inspector property copy/paste no longer allows pasting unrelated enum values. (1222717)

  • Editor: Internal

  • Editor: Light icons in scene view now update immediately after light type is changed in inspector (1229003)

  • Editor: Made arrays reorderable by default and non-reorderable arrays are presented using legacy control.

  • Editor: Made shortcuts value based instead of location based in the Linux editor thereby making shortcuts consistent for all keyboard layouts. (1186110)

  • Editor: makes sure proper selected items are within hierarchy view after "selecte prefab root" and "invert selection", previously items would be properly selected but not in view of the hierarchy. (1228117)

  • Editor: Mouse hover event is fixed in situations when windows are overlapping on macOS (1222681)

  • Editor: No longer show the splash screen when running the Linux editor in batch mode (1218988)

  • Editor: Objective C and Objective C++ plugin files will now be included when building a project with the IL2CPP backend (1189679)

  • Editor: Presets modifications array inconsistent size when excluding some properties. (1229273)

  • Editor: Profile Analyzer (com.unity.performance.profile-analyzer) Updated to version 1.0.1 for many issues fixed and updated documentation. (1253426, 1254017, 1254364, 1254572, 1254868, 1254869, 1254870, 1256243)

  • Editor: Project does not contain all .csproj files when "Generate All .csproj files" option is selected in preferences

  • Editor: Removed extra spacing added to some fields in the inspector (1235884)

  • Editor: Static Analysis found I missed a spot to check if a pointer was NULL (1229276)

  • Editor: The projection property in the Camera inspector is now properly getting the blue indicator, if changed in a prefab. (1197771)

  • Editor: Transform shift rotate always reset the rotation value when used (1221620)

  • Editor: Unity remote is no longer deprecated in the editor

  • Editor: Update cancel button when using SetValueWithoutNotify (1246292)

  • Editor: Updated the Doc URL server with the official public server. (1255912)

  • Editor: When attempting to create a new file beginning with a dot, auto-convert the character to an underscore, similar to what we do for other invalid characters, instead of displaying an error. (1117029)

  • Editor: When deleting the last subfolder of an expanded folder, the icon stays the expanded folder one.
    In fact the expanded status of the folder is not updated.
    This updates the status correctly. (1233024)

  • Editor: Xcode projects generated for MacOS standalone builds will now correctly copy native plugins (1237217)

  • Editor: [GameView] VSync gets disabled after Maximize on Play is disabled and Play Mode is unpaused after pausing (1230428)

  • GI: Added convergence stats for additional probes in the Lighting window.

  • GI: Faster light probe and additional probes baking.

  • GI: Fix case where Editor hangs on close and when baking is canceled. (1235769)

  • GI: Fix for case when TempBuffer<RenderTexture> is not released in memory when using deprecated Realtime Global Illumination

  • GI: Fix Static Analysis Defect 53214 (Potentially overflowing expression in RRBakeLightProbesTechnique.cpp) (1228654)

  • GI: Fixed an issue where moving an Object while baking would break directionality while using GPU progressive lightmapper. (1238156)

  • GI: Fixed an issue with an overlapped title in Lightmap thumbnail preview. (1113043)

  • GI: Fixed crashes occurring when inspecting a mesh renderer with no vertex buffer or no index buffer. (1197692)

  • GI: Fixed debug Editor failing in CheckAutoLDA.AssertLightprobesInAutoLDA. (1216793)

  • GI: Fixed Editor crash in RadeonRays::PlainBvhTranslator::Process when using GPU Lightmapper for neighboring Terrains (1198965)

  • GI: Fixed erroneous logic for resolving shadowmask texture format. (1238420)

  • GI: Fixed GPU Baking Device dropdown showing the first device in the list by default, regardless of the actual baking device. (1225150)

  • GI: Fixed invalid miss marker for the first ray when doing bounces.

  • GI: Fixed issue where a NullReferenceException is thrown after creating the new scene when the Light Explorer window is opened. (1244688)

  • GI: Fixed issue where a rounding issue break the Inspectors Float Range slider in linear colour space on gamma properties. (1245429)

  • GI: Fixed issue where RGB, R, G and B button does nothing in Lightmap thumbnail preview. (1199790)

  • GI: Fixed issue where the ContributeGI flag acts faulty in a Preset inspector. (1223708)

  • GI: Fixed issues where Custom Cache Folder Location didn't update correctly. (1228137)

  • GI: Fixed issues where LightmapParameters was null on a new scene, and how it was not accessible for the API. Added "pushOff" to the API as well, and corrected the docs. (1215629)

  • GI: Fixed missing tooltips for Light Probe Proxy Volume. (1245432)

  • GI: Fixed prefab issues with Mesh Renderer (1179530)

  • GI: Fixed SceneLights memory leak on shutdown in EnlightenBakeManager and ProgressiveRuntimeManager.

  • GI: Fixed Static Analysis Defect: missing CL_CHECK's for EnqueueClearBuffer calls. (1245120)

  • GI: Fixes an issue in the GPU->CPU fallback logic when no valid OpenCL context could be created. (1208704)

  • GI: Fixes incorrectly set distance on lodded objects.

  • GI: GPU Lightmapper produces invalid texels in a certain scene (1217996)

  • GI: GPU lightmapper wrong OpenCL kernel argument in prepareLightRays.cl

  • GI: GPU memory not released following a GPU progressive light bake. (1204993)

  • GI: Made sure that the Sun fields enum is the correct width. (1244279)

  • GI: Make Experimental.Lightmapping.Bake and BakeAsync docs less confusing. (1246519)

  • GI: Static Batching Corrupts Baked Lightmap scene visualization on Play. (1059722)

  • Graphics: - Fixed performance slowdown when releasing large amounts of buffers at once in Vulkan. Affects SRP batcher the most. (1102159)

  • Graphics: - Vulkan shaders on desktop now work like in Metal with half precision disabled in most cases except explicit min16float in shader (1200917)

  • Graphics: Add parameter to SkinnedMeshRenderer.BakeMesh(Mesh mesh, bool useScale) to take scaling into account when baking a mesh. By default this value is set to false to keep backwards compatibility. (1013310)

  • Graphics: Add ScriptableCamera that allow to extend a Camera by inheritence.

  • Graphics: Added a Retry and additional logging when ETC compression fails. (1255261)

  • Graphics: Added a warning message when intermediate renderers reset non-finite bounds to zero. (1225021)

  • Graphics: Added additional return code validation to various QueryInterface calls (1229903)

  • Graphics: API to modify Virtual Texturing settings was changed to be more user friendly and finer grained.
    Changing settings will now cause existing caches to be recreated instead of only affecting the sizes of new caches.

  • Graphics: CopyTexture with explicit mips and regions now copies the full texture when both textures have no mips specified and Texture Quality is not FullRes. This also adds a warning when Texture Quality is set and CopyTexture is used to copy textures with mismatched mips. (1215135)

  • Graphics: Enable valid tessellation behavior for HDRP on Metal API platforms

  • Graphics: Ensure that when you have > 63 material inspectors displayed that they will render and not throw an exception. (1156199)

  • Graphics: Fix a crash in the Editor when switching from HDRP to builtin pipeline in Graphics Settings. (1246590)

  • Graphics: Fix a crash when calling Graphics.DrawMeshNow without first having called material.SetPass successfully. (1236602)

  • Graphics: Fix an issue where in some cases, Custom Render Textures would not be rendered (generally with asset bundles or in a standalone build)

  • Graphics: Fix crash when null is passed in to Material.GetTexturePropertyName().

  • Graphics: Fix crash when null is passed in to Material.GetTexturePropertyNameIDs(). (1238775)

  • Graphics: Fix CustomRenderTexture not using depth for camera rendering (1226411)

  • Graphics: Fix DXGI swapchain update regression from 2020.1.0a21, changed texture format could cause a crash

  • Graphics: Fix Editor crash when using 2bpp PVRTC for 3D textures

  • Graphics: Fix Frame Debugger when using RenderPass API

  • Graphics: Fix half precision support in compute shaders (1227467)

  • Graphics: Fix issue where one object in the scene would need ReceiveShadows set to true for Screen Space Shadows to be enabled when using deferred path. (1218683)

  • Graphics: Fix Metal RenderPass crash when there is no depth

  • Graphics: Fix potential rendering issue with SRP Batcher + PolyBrush meshes (1220956)

  • Graphics: Fix RenderBufferLoadAction.Clear when using SRP RenderPass API (1225431)

  • Graphics: Fix RenderPass API Validation, SystemInfo.supportedRenderTargetCount is per subpass

  • Graphics: Fix the ObjectToWorld matrix used by the BatchRendererGroup when the shader opts for nomatrices instancing.

  • Graphics: Fix unintentional built-in shader build time regression

  • Graphics: Fix validating textures without mips (1232782)

  • Graphics: Fixed a crash on DirectX11 when creating a texture with a partial mip chain. (1213005)

  • Graphics: Fixed a crash when running Virtual Texturing with NativeGfxJobs enabled. (1254545)

  • Graphics: Fixed a crash when using the Inspector to select a different Mesh for a SkinnedMeshRenderer. (1230006)

  • Graphics: Fixed a prefab creation issue of non-MonoBehaviour ManagedObject component.

  • Graphics: Fixed a race condition in the shadow culling code. (1223565)

  • Graphics: Fixed an issue where CopyTexture might not respect the ignore texture limit flag resulting in wrong copies.

  • Graphics: Fixed an issue with compute skinning in GraphicsJobs when using Vulkan or Metal. (1251156)

  • Graphics: Fixed an issue with drag and drop of non-MonoBehaviour ManagedObject's child component onto inspector

  • Graphics: Fixed an issue with missing support for texture 2d (ms) arrays.

  • Graphics: Fixed an issue with SV_RenderTargetArrayIndex on Vulkan. (1246988)

  • Graphics: Fixed crash when trying to assign RenderTexture as input for a VT stack (1235243)

  • Graphics: Fixed crash when using out-of-bounds indices with RenderPass API (1226312)

  • Graphics: Fixed incorrect NativeArray aliasing when using CPU PVT (1232623)

  • Graphics: fixed Indirect drawcalls on Metal binding buffers with wrong offset (1211151)

  • Graphics: Fixed initialization of Camera's state which was causing an issue on Camera's child component's Reset.

  • Graphics: Fixed invalid GLSL code generation with result variable participating in comparisons. (1229297)

  • Graphics: Fixed metal shader compilation error when half3 temporary arrays are used. (1256024)

  • Graphics: Fixed offline texture processing with ARGB texture format on PS4

  • Graphics: Fixed offset calculations of volume slices for compressed texture formats (1249421)

  • Graphics: Fixed shader codegen for countbits (1227474)

  • Graphics: Fixed some VFX failing validation on metal, crashing editor/player (1231313)

  • Graphics: Fixed uninitialized variable in MeshRenderer (1226229)

  • Graphics: Fixed various bugs when rendering into texture2darray slices as well as resolving texture2dmsarray into a non-multisampled texture on Nintendo Switch.

  • Graphics: Fixed viewport clear when using texture array on Vulkan. (1249430)

  • Graphics: Fixes a memory leak in AsyncGPUReadback (1234193)

  • Graphics: Fixes for UVMeshMetric calculation (1248992)

  • Graphics: Fixes incorrect gamma decoding at import of LDR textures that target a HDR graphics format in a gamma colorspace project

  • Graphics: Fixing flipped view when using RenderPass API

  • Graphics: GrabPass does not support Depth targets. Only a single color target is supported. This applies to all platforms that we have. Added error check to prevent editor from crashing. (1208293)

  • Graphics: Ignore points/line topology when raytracing mesh in editor for selection (1183667)

  • Graphics: made export to png use grayscale image for R8 (1239813)

  • Graphics: Metal: Fixed a constant buffer binding issue with HDRP 9.x Decals shader.

  • Graphics: Metal: Fixed a system instability/hang issue with texture versioning. (1256106)

  • Graphics: Metal: Fixed HLSL compatibility issue with DrawProceduralIndirect. SV_InstanceID always starts at 0 but with Metal, a base instance was not subtracted for equal behavior.

  • Graphics: Metal: Fixed MSAA ResolveDepthIntoTexture to use the resolved texture as a source when doing blit into destination

  • Graphics: Removed a hitch on creation of large textures on DX12

  • Graphics: Removed a unneeded PIX related assert.

  • Graphics: Shader Memory usage optimization in player (1223610)

  • Graphics: The DX12 renderer performance has been improved by only adding IASetPrimitiveTopology to a command list when the topology has changed.

  • Graphics: This fixes the crash during command buffer reading in d3d12 mode. (1233711)

  • Graphics: Thread safety fix to texture streaming manager (1229887)

  • Graphics: Throw an exception when creating mesh with more streams than supported for mesh (1226104)

  • Graphics: tipfix uninitialized variables in TextureUploadMemoryDX11 (1231159)

  • Graphics: TotalTime is inconsistent with sum of deltaTime (1237608)

  • Graphics: Updated message that is shown in Inspector when using a mesh without animation data for SkinnedMeshRenderer. (1229548)

  • Graphics: Updated QualitySettings.streamingMipmapsRenderersPerFrame to support setting at runtime (1222432)

  • Graphics: When creating shaders for desktop metal, do not forcibly generate constexpr shader for comparison (this is needed for ios where older devices do not support setting comparison from the application side) (1201857)

  • Graphics: [RenderPass] Fixed incorrect input attachment indexing on fallback platforms

  • Graphics: [RenderPass][Vulkan] Fixed crash when using shader pass uses not first input attachment

  • IL2CPP: Correctly convert delegates that have reference return types. (1247218)

  • IL2CPP: Fix an issue where managed stacktrace resolving on old Android devices (5.0 and lower) would fail and show zero frames. (1242285)

  • IL2CPP: Fix building Universal Windows Platform player when using Windows SDK versions 15063 or 16299.

  • IL2CPP: Fixed a warnings from IL2CPP generated code when struct prototype warnings were enabled for C files. (1247033)

  • IL2CPP: Fixed an ArgumentException that was thrown in Socket constructor when using Windows SDK 10.0.19041.0. (1251011)

  • IL2CPP: Properly throw an exception from a finally block nested in a try/catch block. (1248673)

  • IL2CPP: Respect the DllImportAttribute.PreserveSig property on PInvoke definitions.

  • IL2CPP: Respect the PreserveSigAttribute on COM interop types. (1202914)

  • IMGUI: Fixed an issue where UGUI Components receive MouseOver events when the Player is in Windowed Mode, focused and the mouse is outside the window. (1250718)

  • IMGUI: Fixed IndexOutOfRangeException when loading the editor. (1241206)

  • IMGUI: Fixed the issue where the last selection is shown as focused even after selection another window. (1241127)

  • Input System: Corrects inconsistent display names in the input debugger on macos. (1210302)

  • iOS: Correctly implement touch reset when app resigns active (1253537)

  • iOS: Fixed an occasional crash on exit pointing to ViewInfo_OnDisplayCutoutsChanged. (1252463)

  • iOS: Fixed default specular cubemap format for iOS and tvOS to be PVRTC.

  • iOS: Fixes sound becoming muted after quickly swapping to voice dictation and back to app. (1176463)

  • iOS: Prevent a possible hang on shutdown after UnityWebRequest is used with TLS. (1233486)

  • Kernel: AlignOf<T> returns C# required structure alignment, instead of 4.

  • Kernel: Fixed an issue where worldPositionStays argument was missing from Undo.SetTransformParent. (1247086)

  • Kernel: Fixed issue with debug assert raised in unique_ptr, when move-from is either default constructed or already moved-from. (1226908)

  • Kernel: Fixed rounding when undoing parenting. (1214246)

  • Kernel: NativeArray.Dispose behavior to not throw when Allocator.None is used.

  • License: Fixed an issue with license activate within a Linux Docker container. (1193364)

  • License: Fixed Machine Identification errors that occur during CLI license activation and validation. (1255986)

  • License: Fixes the issue when in batch mode switching project path and activating a license in one command causes wrong folder to be used for build. (1219428)

  • Linux: Disable unstable DrawHeader_WhenInvokedManually_FromPrefabOverridesTreeView_InvokesCallback test for case 1179487

  • Linux: Fix UnitySetup -L option incorrectly showing defaults (1160471)

  • Linux: Fixed sporadic errors in the console due to sending invalid drag events. (1251591)

  • macOS: CPU usage decreased for Player built with 'Run in Background' (1240835)

  • macOS: Fix issue on MacOS where VSync was not locking framerate when in fullscreen. (1239354)

  • macOS: Fixed an issue where the Build Settings window would not minimizes with the editor window. (1199503)

  • macOS: Fixed assets cannot be saved if the project name contains certain Unicode characters (1229500)

  • macOS: Fixed console window lose focus when status bar is clicked to show it (1227963)

  • macOS: Fixed issue where using the CanvasScalar with Physical Constraint set would cause a performance regression. (1241982)

  • macOS: Fixed popup stays open after closing tab (1235872)

  • macOS: IME works in both editor and player in the proper location

  • Mobile: Fixed an issue where the 109 error message appeared on mobile. (1245254)

  • Mobile: Removed Game SDK 3.1 initialization due to issues in GameSDK 3.1. Any other GameSDK version is still supported.

  • Mobile: Removed notification package from Tests/GeneratedTests/PackageIsolationTests/Assets/Resources/ExemptionList.json to clean the console test. (1252209)

  • Multiplayer: Adding and/or fixing range validation of indexes coming from network to be in-bound before using them.

  • Nintendo Switch: Fixed texture corruption caused by offline texture procession and re-enabled the feature.

  • Package Manager: Adjusted package 'Preview' and 'Verified' tag colors in Light mode to meet minimum legal contrast requirements.

  • Package Manager: Changed function signature and comments

  • Package Manager: Changed Package Manager window to use UIElements VisualSplitter instead of custom splitter class. This makes the window behave more consistently with other application windows with a split view, i.e. Preferences Window. Split view resizing with window resizing now works in Package Manager window.

  • Package Manager: Created a proxy for AssetDatabase, such that in the test environment we never rely on the state of the real AssetDatabase

  • Package Manager: Fix AssetStore package display issue with poor internet connection

  • Package Manager: fix scroll for package dev description

  • Package Manager: Fix the blurry dropdown button for preview packages

  • Package Manager: Fix the superposition of the text packages and load next in package load bar

  • Package Manager: Fixed an issue in the UnityEngine.PackageManager.Client.Pack method did not properly use the contents of .gitignore when .npmignore was missing.

  • Package Manager: Fixed an issue in the UnityEngine.PackageManager.Client.Pack method which could sometimes result in file permission issues.

  • Package Manager: Fixed an issue where a network requests sometime mislabeling the host as undefined when unsuccessful.

  • Package Manager: Fixed an issue where npm authentication configuration was ignored when there was an extraneous slash at the end of the configured registry URL.

  • Package Manager: Fixed an issue where samples showed randomly when package was not installed and Sample.FindByPackage API did not work if the package manager window was not open.

  • Package Manager: Fixed an issue where the Unity Package Manager could take more time to start up than the 10 seconds allotted by Unity.

  • Package Manager: Fixed an issue where the Client.GetAllPackageInfo method would silence errors and return an empty list of packages when there were registry reachability issues.

  • Package Manager: Fixed an issue where tooltip doesn't show up for the GroupName label.

  • Package Manager: Fixed an issue where PackageManager.Client.Remove request was still proceeding after input package name contained unsupported characters like carriage return or line feed failed validation.

  • Package Manager: Fixed and issue with label superposition of the toggle button when using 4k screen. (1243974)

  • Package Manager: Fixed defect in AssetStorePackage reported by static code analysis (1237761)

  • Package Manager: Fixed defect in AssetStoreProductInfo reported by static code analysis (1237762)

  • Package Manager: Fixed issue where 'user not logged in' error sometimes occurs on opening Unity Editor with Package Manager window opened to My Assets.

  • Package Manager: Fixed issue where Package Manager UI shows empty list when there's an error in ScopedRegistry settings

  • Package Manager: Fixed the issue where ArgumentException will be thrown when opening Asset Store page in Package Manager window when Charles Proxy is running.

  • Package Manager: Fixed the issue where Packman UI won't refresh on package.json update

  • Package Manager: Fixed PackageInfo.FindForAssetPath performance overhead. (1221526)

  • Package Manager: grey out package in inspector

  • Package Manager: Internal changes, moved DownloadImageAsync function into AssetStoreCache class so it is with the Load and Save Image functions.

  • Package Manager: Match download bar to windows size

  • Package Manager: Moved storage of npm credentials from system/global configuration to user configuration. The file format was also changed to TOML.

  • Package Manager: Removing a custom package in development was not updated in the UI.

  • Package Manager: set actif remove button when element present

  • Particles: Disabled Particle System "Open In Editor" button when editing a preset.

  • Particles: Don't try to use GPU Instancing on devices that can't do Structure Buffer reads in Vertex Shaders. (1255008)

  • Particles: Fixed particle lights being re-rendered over multiple frames

  • Particles: isEmitting script API should return false if the emission module is disabled (1240811)

  • Physics: Fix ArticulationBody.jointPosition crash that happened sometimes in articulations more than two objects deep

  • Physics: Fixed an issue where Physics.BakeMesh would not manage calls from multiple threads correctly. (1200588)

  • Physics: Fixed an issue with ray casts not working correctly with colliders that have attached ArticulationBody components.

  • Physics: Fixed an issue with the Cloth component's virtual particles being set incorrectly at creation.

  • Physics: Fixed Component Reset functionality for: Hinge Joints (all parameters relating to Motor, Spring, Limits), Joints (Enable Collision, Enable Preprocessing, Break Force, Break Torque), Character Joints (Swing Axis, Enable Projection) (1157026)

  • Physics: Fixed crash while accessing Collider.attachedRigidbody property if ArticulationBody component is attached instead of Rigidbody.

  • Physics: Fixed various crashes related to activation/deactivation of ArticulationBody components attached to game objects, like changing game object parent, enabling/disabling of game objects, enabling/disabling/removal of ArticulationBody components, removal of game objects with ArticulationBody attached.

  • Physics: Update the profiler entry name for Physics.CheckSphere (1215381)

  • Player: Changes AsyncReadManagerMetricsFilters to be passed by reference in relevant methods. (1242611)

  • Player: Explicitly stopping games after test runs to ensure clean test environment.

  • Player: Fixed issue where output from Stadia commands were not printing stderr.

  • Player: Re-enable OnAudioConfigChanged and AudioRenderTest tests on the Stadia Platform.

  • Player: Updated automation player to use most recent stadia sdk

  • Plugins: Fixed an issue where the XboxOne native extension dll to fail gracefully if required dll's are not found.

  • Prefabs: "Find References In Scene" did not work with nested prefabs (1213528)

  • Prefabs: Fix baked Occlusion Culling data affects Prefab Mode (1136698)

  • Prefabs: Fix Overrides dropdown comparison view remaining open if last override has been applied or reverted via context menu. (1071433)

  • Prefabs: Fix SerializableObject.GetIterator() throws ArgumentNullException when UnpackPrefabInstance() is called on an instantiated Prefab in Inspector logic (1164099)

  • Prefabs: Fix: Crash when calling PrefabUtility.SaveAsPrefabAsset with absolute path outside of project's Assets folder. (1210526)

  • Prefabs: Fix: PrefabUtility.SaveAsPrefabAsset() freezes the editor when called from OnValidate() method. (1127313)

  • Prefabs: Fixed 'Cannot edit components on prefab' popup appears multiple times when multiple prefabs are selected and moving component (1235092)

  • Prefabs: Fixed an issue where a parent prefab might fail to correctly override changes to its nested children (1195496)

  • Prefabs: Fixed Constraint Setting foldout gets closed automatically while editing properties under Scale Constraint on a Prefab Asset. (1255013)

  • Prefabs: Fixed Inspector window flickers when Tag or Layer of a Prefab Asset is changed (1240896)

  • Prefabs: Fixed placement of Prefab override margin lines for controls that are inside GUI clipping groups. (1197808)

  • Prefabs: Fixed preview material getting permanently set when dragging over Prefab instance with missing Asset. (1124308)

  • Prefabs: Fixed suppressed components on Prefab instances incorrectly appearing as if they're removed components. For example if a Prefab instance has an added Rigidbody component and a Rigidbody is later added to the Prefab Asset as well, the one from the Asset will be suppressed (not be created) on the instance so avoid there being two Rigidbodies on the same GameObject. The suppressed one would previously appear as if it was a removed component override, even though it wasn't. (1240146)

  • Prefabs: Fixes a test instability (1101428)

  • Prefabs: If the user destroys the root game object of a prefab, Unity editor would crash. Now an error message is printed instead (1218129)

  • Prefabs: Overrides Window: Fix overrides in nested instances are collapsed when one override is applied (1112995)

  • Profiler: Added a delay search mechanism to the profiler window to prevent locking up the window by searching each time the user would type in a letter instead of waiting until the user stops typing. (1252464)

  • Profiler: Fixed a crash at Editor startup due to invalid profiler history size in the EditorPrefs. (1254442)

  • Profiler: Fixed an issue where there were duplicate AsyncReadManager.ReadFile marker. (1258822)

  • Profiler: Fixed crash when passing null to GetRuntimeMemorySizeLong (1250256)

  • Profiler: Fixed GC Allocations not displaying values less than 1024 bytes in Memory chart of ProfilerWindow

  • Profiler: Module Editor - Fixed an issue where restore defaults when the Module Editor is open would not refresh the UI with the latest list of modules. (1256874)

  • SceneManager: Fixed an issue where SceneManager.GetSceneByBuildIndex returned a blank Scene object when 'Reload Scene' is disabled. (1250452)

  • SceneManager: Fixed that creating a Scene Asset fires EditorSceneManager.sceneSaving callback with an invalid Scene struct (1248706)

  • Scripting: - Fix Burst SharedStatic<T> to be initialized to zero after a domain reload.

  • Scripting: Added dll verification to loading routine to prevent the editor from loading corrupt dlls. (1231038)

  • Scripting: Allow duplicate enum members to refer to same underlying value as long as one is non-obsolete. (1218124)

  • Scripting: Correct an error in the UnityLinker with System.Text.Json.dll is used. (1241237)

  • Scripting: Ensure Roslyn server (VBCSCompiler.exe) is terminated when Editor is closed to prevent locked files. (1183240)

  • Scripting: Fix crash when large amount of dynamic code is generated, potentially for XML serialization. (1191533)

  • Scripting: Fix unlimited warnings to Editor.log using all disk space (1238954)

  • Scripting: Fixed an issue with correct file sharing for exFAT partitions on macOS. (1253812)

  • Scripting: Fixed crash that was occurred when the managed debugger would attempt to load a pdb that had zero sequence points. (1241344)

  • Scripting: Fixed Debug.Log* printing Debug.Filename.h after the stacktrace in IL2CPP/Mono with no PDB. (1099724)

  • Scripting: Fixed possible crash caused by race condition during startup when the script debugger and profiler systems are enabled.

  • Scripting: Fixed several Debugger crashes. (1249172)

  • Scripting: Fixing case where ArrayTypeMismatchException was being thrown incorrectly. (1235903)

  • Scripting: Improved error messages for errors in generated code coming from the jobs debugger and safety system

  • Scripting: Unable to delete NewAssembly from Assembly Definition References list in Test Import Setting (1217184)

  • Security: Fixed a security vulnerability. (CVE-2017-12939)

  • Security: Fixed a security vulnerability. (CVE-2019-9197)

  • Serialization: Do not reinflate untouched instances from SerializedProperty when reading back the object from the serialized data. (1193322)

  • Serialization: Fixed an issue where assigning a null managed reference and to an object did not apply. (1256341)

  • Serialization: Fixed an issue where instance deserialization was stopped when there was an exception during the managed ref deserialization process and still had a valid instance created. (1256991)

  • Serialization: Made sure that when objects are created as part of a deserialization process we call class default initializers. (1253433)

  • Serialization: Make sure that managed instances stored in array are not reinflated or reset to null when applying through a SerializedProperty (1254060)

  • Serialization: Make sure to support resolution loops and empty messages in System.Obsolete for the API upgrading path (1222795)

  • Services: Display of newer version of In-App Purchasing Package now correctly displays newest pre-migration version (prior to 3.X) if still on version 2.X or older. Verstion installed when selecting Update and Migrate also now function as intended.

  • Shaders: Added precise keyword support on generated GLSL (1227113)

  • Shaders: fix static analysis issues ShaderCompiler Preprocessr code (1217178)

  • Shaders: Fixed a shader compiler process crash when trying to show compiled code for a compute shader that fails compiling. (1250633)

  • Shaders: Fixed an issue to use the error shader when a variant failed to compile, thus not rendering anything. (1253968)

  • Shaders: Fixed an issue where the Loading shader wasn't used in the player while waiting for a variant to compiled. (1254843)

  • Terrain: Added NavMesh Lod index in TreePrototype. The index is used to select LOD Level in LODGroup for NavMesh generation. (1193073)

  • Terrain: Export raw terrain now shows up immediately in Project Folder view (1178342)

  • Terrain: Fixed an assertion error that occured when painting speed trees in prefab editor when the light is being baked. (1081131)

  • Terrain: Fixed preview when multiple TerrainLayers are selected (1148952)

  • Terrain: Fixed Terrain to properly switch from base map to splat map rendering when splats are in a dirty modified state (1178928)

  • Terrain: Fixed undo tracking for Terrain to be correctly record multiple different Paint operations in the same Undo operation, and properly Undo adding Terrain Layers (1138273)

  • Terrain: Fixing baked shadow masks for terrain with more than 4 materials (1148970)

  • Terrain: Fixing Terrain Brush list to update when brushes are modified, and adding tooltips to the Brush properties (1170563, 1170565, 1170567)

  • Terrain: Increased the Undo buffer size to better handle Terrain modifications. (1067258)

  • TextCore: - Updated FontEngine to improve performance as well as reduce memory allocations.

    • Fixed Font Asset Creation process not using Multi-Threading in the Editor when using SDF8, SDF16 and SDF32 modes.
    • Fixed memory allocation issue when retrieving glyph adjustment pairs.
    • Fixed PairAdjustmentRecords returning a value of infinity with certain font files.
    • Fixed incorrect PairAdjustmentValues when using SDF8, SDF16 and SDF32 modes.
    • SDF, SDF8, SDF16 and SDF32 modes no longer use hinting to improve glyph sampling at low point size.
  • TextCore: Added Multi-Threading to Font Asset Creation process in the Editor.

  • UI: Adding ability to use Ctrl + Insert to copy text and shift + instert to paste text. (1226349)

  • UI: Fix canvas drawing multiple times per frame when OnDemandRendering.renderFrameInterval is more than 1 (1214921)

  • UI: Fixed a issue where ToggleGroups would validate their state before all Toggles were registered depending on scene instantiation (1252915)

  • UI: Fixed an issue where scene needs to be saved twice when creating an instance of a Prefab having a Layout Group component and a child UI GameObject (1195283)

  • UI: Fixed an issue where the update button onclick link would point to an inproper proper file.

  • UI: Fixed an issue with transparent UI and render textures. UI is now renders with multiplied alpha in the shader. This might effect some UI that is rendered to a render texture but will also be proper. (1234878)

  • UI: Fixed issue where GetModifiedMaterial would get root canvas even if not maskable causing performance spikes.

  • UI: Fixed issue where Text Mesh color was not reset properly upon calling "Reset" (1223055)

  • UI: Fixed issue where UIZTestMode was not initially set which could cause first frame render issues or issues if the GameView wasn't visible. (1235078)

  • UI: Fixed issue with indexedSet array access

  • UI: Fixed issue with Selectable OnDrag not resetting to proper position as it used localPosition instead of anchoredPosition.

  • UI: fixing issue where if a dropdown was part of a nested overrideSorting canvas it would grab the very root canvas which could have the wrong sorting layer data

  • UI: Update uGUI package documentation to include EventSystem

  • UI Elements: Enabled MSAA on inspector windows to provide antialiased UIElements content. (1215973)

  • UI Elements: Fix event currentTarget being null when event is sent only to target.

  • UI Elements: Fixed Editor memory leak on EditorWindow docking/undocking.

  • UI Elements: Fixed issue with right-click passing through the inspector preview if it's drawn over other inspector components. (1226328)

  • UI Elements: Fixed padding that caused truncated text in UIElements debugger search bar. (1233009)

  • UI Elements: Fixed radial gradients on metal. (1225848)

  • UI Elements: Fixed right-click on titlebar outside of open or failed-to-load tabs not supposed to show context window. (1228991)

  • UI Elements: Fixed the SubUpdatesDoesntBreakNextElements test to work on OpenGL and Vulkan on Windows. (1222743)

  • UI Elements: Item height is now excluded from the ListView view data. (1225888)

  • UI Elements: Limiting the relative mouse position to account for the max size as well.
    Added automated tests for the Visual Splitter (1215097)

  • UI Elements: Limiting the relative position of the splitter to always be between 0f and 0.999f.
    Added automated test to make sure the bug can never be reproduced. (1227342)

  • UI Elements: now the UIElements Debugger no longer sends a ChangeEvent when updating the VisualElement's Text field. (1185718)

  • UI Elements: Optimize StyleVariablesContext hash computation

  • UI Elements: Setting twice a TextValueField (without notify) would sometimes skip display updates and result in displaying the wrong values (the field's value itself is ok, but not the text that represents the value). (1202400)

  • UI Elements: The Scrollbar is one item behind when using ScrollToItem method. (1219416)

  • UI Toolkit: Fixed an issue where the GraphView edges disappeared when resizing the visual element container height smaller than a certain threshold. (1240884)

  • UI Toolkit: Fixed an issuw where ListView mouse events weren't replaced with pointer events. (1231301)

  • UI Toolkit: Fixed exceptions thrown when an exceedingly long text mesh is truncated. (1230939)

  • UI Toolkit: ListView will now transfer pointer event from ExecuteDefaultAction to the DragEventsProcessor, if DragEventsProcessor instance exists. (1231302)

  • UI Toolkit: Renamed "Update UIElements Schema" menu item to "Update UXML Schema"

  • UI Toolkit: Reverting a Toggle's text to null won't throw an exception (1238606)

  • UI Toolkit: The text value of TextValue based fields is now updated as soon as new formatString rule is set. (1244514)

  • UI Toolkit: Unhandled CommandEvents are now propagated to the EditorWindow's OnGUI() (1231271)

  • Universal Windows Platform: Expose EnableFrameTimings in Player Settings for Universal Windows Platform. (1163531)

  • Version Control: Fixed not being able to set VCS mode when running editor session with -vcsModeSession argument

  • Version Control: Provider.CheckoutIsValid correctly returns false for exclusively locked files by remote user.

  • Version Control: Removed the VCS "Lock" and "Unlock" buttons in various menus when the enabled VCS system does not support those operations. (1174664)

  • Video: Addresses an instability in video playmode tests (VideoPlaybackCanPlayAudio).

  • Video: Fix VideoPlayerTimeReference playmode test instability.

  • Virtual Texturing: Fix GPU procedural VT occasionally showing tile corruption due to incorrect syncing between CPU/GPU threads. (1222483)

  • Virtual Texturing: Fixed an issue where Virtual textures don't update the state correctly with shadergraph preview shaders. (1244798)

  • Web: [UnityWebRequest] Fixed rare cases where request would fail when using File download or upload handler

  • WebGL: Added check for Linux to use the correct version of the Brotli compression library (1241347)

  • WebGL: Fix an issue where Transform.position of an element on a canvas could return incorrect value in Start method in WebGL. (1234614)

  • WebGL: Fix build error when AllowDebugging option is enabled for WebGL platform. (1210338)

  • WebGL: Fix WebGL builds for projects with utf-8 symbols (1179135)

  • WebGL: Fixed a "Constant Physical Size" UI scale mode issue on WebGL. (1221561)

  • WebGL: Fixed an issue with PlaySchedule. (912244)

  • WebGL: Fixed an issuw where IL2CPP was not generating threading-enabled code when the threadsSupport project setting was set. (1243010)

  • WebGL: Fixed issue with gzip compression being broken for CentOS7. (1168715)

  • WebGL: Fixed the issue which prevented usage of ES6 in user jspre plugins in WebGL. (1211536)

  • WebGL: Fixed WebAssembly streaming for compressed WebGL builds when naming files as hashes. (1223772)

  • Windows: Adds support for VideoCapture API to Windows Standalone Player and Editor (1195027)

  • Windows: Fixed a couple of crashes when closing custom modal dialogs. (1235986)

  • Windows: Fixed an issue when running player when not monitor is connected to the system. (1228505)

  • Windows: Fixed an UWP certificate generation issue where key container was unusable. (1235410)

  • Windows: Fixed issue where Overrides window stays stuck open when user returns to the Scenes. (1233487)

  • Windows: Fixed issue where the wrong window would sometimes get mouse click events if they were overlapped. (1242368)

  • XR: Add missing Vulkan device flush from XRDisplay

  • XR: Disable watermarks when rendering to VR device with XR SDK

  • XR: Fix regression introduced in render pass fix. (1225548)

  • XR: Fix zero-initialization for ScriptableCullingParameters

  • XR: Fixed a case where the camera does not respect near/far clipping plane settings

  • XR: Fixed a crash by preventing B10G11R11 texture format usage on Oculus Quest.

  • XR: Fixed a Vulkan framebuffer layer count logic issue when using multiview. (1256388)

  • XR: Fixed an issue where partial viewport clear on texture arrays on platforms that can't clear non-fullscreen.

  • XR: Fixed an issue where XRDevice, XRSettings, and XRStats were not providing valid data with scriptable render pipelines.

  • XR: Fixed an issue with Texture2DMSArray shader compilation with OpenGL.

  • XR: Fixed application of MSAA in Vulkan Multiview.

  • XR: Fixed MirrorView BlitMode C# out of sync with XR display header.

  • XR: Fixed multipass color resolve to right eye in certain circumstances.

  • XR: Fixed Sprite Mask not working in URP XR (1195098)

  • XR: fixes automatic upgrading for URP and HDRP projects

  • XR: Fixes shader compilation issue with com.unity.xr.arkit package. (1225383)

  • XR: Make sure GetInstanceCountMultiplier() is used correctly in DrawNullGeometry() and DrawIndexedNullGeometry() with OpenGL

  • XR: Modifying scripts in play mode nolonger causes Subsystems to unload.

  • XR: No longer emitting deprecation warnings for subsystem infrastructure. (1238848)

  • XR: Set the appropriate Vulkan usage flag for the fragment density map.

  • XR: Update XR Plugin Management for improved user workflow.

API Changes

  • 2D: Added: Added an overload for GenerateGridSpriteRectangles with an extra parameter (bool keepEmptyRects) to allow users to keep empty rects as Sprites.

  • 2D: Added: Added API to access SpriteSkin deformed buffer

  • 2D: Changed: Changed method TilemapCollider2D.HasTilemapChanges to property TilemapCollider2D.hasTilemapChanges.

  • Android: Added: Added UnityEngine.Android.Permission.RequestUserPermission(string permission, PermissionCallbacks callbacks), allows you to subscribe for permission request results

  • Android: Changed: Application.RequestAdvertisingIdentifierAsync does nothing now

  • Animation: Added: Published the AnimationWindow API.

  • Animation: Added: Removed IAnimationWindowPreview from experimental namespace.

  • Asset Bundles: Added: Added reading metrics to the AsyncReadManager and APIs to retrieve them from script.

  • Asset Import: Added: Using AssetDatabaseExperimental.SetImporterOverride after an Undo.RegisterImporterUndo call allows reverting the importer type change operation.

  • Asset Import: Added: Using AssetDatabaseExperimental.SetImporterOverride after an Undo.RegisterImporterUndo call allows to revert the importer type change operation.

  • Asset Import: Changed: Move all types in UnityEditor.Experimental.AssetImporters namespace into UnityEditor.AssetImporters

  • Asset Import: Changed: ScriptedImporterAttribute has an updated API to declare supported extensions and override extensions. See the documentation on ScriptedImporterAttribute for more details.

  • Asset Pipeline: Added: Add APIs to the Asset Database that take and return UnityEditor.GUIDs instead of strings

  • Asset Pipeline: Added: Introduced AssetImportContext.DependsOnArtifact for setting up artifact dependencies

  • Asset Pipeline: Changed: Rename AssetDatabase GetArtifachHashXXX functions to ProduceArtifact counter parts

  • Build Pipeline: Added: Added ContentBuildInterface.GetPlayerAssetRepresentations API to return the asset representations without triggering a load of the asset itself. Improving performance for certain build cases.

  • Editor: Added: Add EditorTool.OnActivated and EditorTool.OnWillBeDeactivated

  • Editor: Added: Add HandleUtility.pickGameObjectCustomPasses, allowing external code to augment the Scene View picking function.

  • Editor: Added: Add new Scene Template workflow to the editor.

  • Editor: Added: Added a pausable progress API
    https://unity3d.atlassian.net/browse/EC-749

  • Editor: Added: Added an API to report progress with steps instead of percentage.
    https://unity3d.atlassian.net/browse/EC-750

  • Editor: Added: Added an API to specify a task's priority.
    https://unity3d.atlassian.net/browse/EC-751

  • Editor: Added: Added API to allow for a save dialog to pop up when the user closes a tab or editor window.

  • Editor: Added: Added MeshUtility.AcquireReadOnlyMeshData(). Mirrors Mesh.AcquireReadOnlyMeshData() found in the run-time, but bypasses the read/write check to permit reading data from a non-readable Mesh in the editor.

  • Editor: Added: Expose Tools.viewToolActive, allowing external tools to appropriately react to Scene View navigation tool overrides.

  • Editor: Added: JIRA case: https://unity3d.atlassian.net/browse/EC-704
    This is part of our Editor Query Framework epic : https://unity3d.atlassian.net/browse/EC-696

  • Editor: Added: Make ChannelService API public

  • Editor: Added: make some internal properties public, required to fix case 1226204

  • Editor: Added: Scripting: Creating localized GUIContent become easier than ever for Package.:

    • L10n.TextContent(string str)
      and so forth.
  • Editor: Changed: Added the ability to filter what is shown in a custom object picker with new attributes.
    https://unity3d.atlassian.net/browse/EC-724

  • Editor: Changed: New Guids are added on search contexts to support multiple searches.
    https://unity3d.atlassian.net/browse/EC-728.

  • Editor: Changed: Provide more context when formatting Help URL so redirection can happen on the server.

  • Editor: Changed: Rename SceneViewState.showMaterialUpdate to alwaysRefresh. (1230092)

  • Editor: Removed: Handles.DrawCapFunction and associated method overloads are removed.

  • Editor: Removed: Remove Progress.RunTask API.

  • GI: Changed: Lightmapping.lightingSettings.bounces is obsolete, use Lightmapping.lightingSettings.maxBounces instead.
    Lightmapping.lightingSettings.russianRouletteStartBounce is obsolete Use LightingSettings.minBounces instead.

  • Graphics: Added: Add control on display of shadow mask option and reflection probe option in quality settings

  • Graphics: Added: Added an API that allows for SRP's to implement a picking callback for various types of picking. See Camera.SubmitRenderRequests

  • Graphics: Added: Added an overload to CommandBuffer.GenerateMips that takes a RenderTargetIdentifier parameter.

  • Graphics: Added: Added an override to SearcherAdapter for populating all children of search entries.

  • Graphics: Added: Added API to the Searcher package for entry synonyms to enabled searching Shader Graph nodes with related queries (eg: searching "scalar" will populate with the "vector 1" node).

  • Graphics: Added: added api to UnityEngine.Apple.FrameCapture to capture next frame as a whole: CaptureNextFrameToFile and CaptureNextFrameToXcode

  • Graphics: Added: added Mesh.SetSubMeshes to set all submeshes in one go avoiding all kinds of corner cases when updating existing mesh

  • Graphics: Added: Added new AddInstance overload to RayTracingAccelerationStructure which accepts a GraphicsBuffer defining a given number of AABBs, and, optionally, an instance transform for those AABBs.

  • Graphics: Added: Added new signature for ScriptableRenderContext.DrawRenderers() to allow custom tag name to be used for render-state overrides.

  • Graphics: Added: Added RayTracingAccelerationStructure Build and Update overloads that take in a relative origin for the acceleration structure. By default (when no origin is passed in), this origin in (0, 0, 0). Camera-relative ray tracing is enabled by passing in the camera position as the relative origin every time Build or Update is called.

  • Graphics: Added: Allow infinite frustum when performing shadow culling. This is useful when shadows are not updated every frame and cannot be view dependent.

  • Graphics: Added: API Added to allow native plugins to register and unregister 3D Textures with Unity

  • Graphics: Added: Image encoders that use NativeArray as input/output added.

  • Graphics: Added: New API to allow the implementing Custom Render Textures on C# side, skipping completely the builtin Updates.

  • Graphics: Added: When binding a depthStencil buffer as read-only resource, a new flag to separately handle depth and stencil resources has been added. This solves an issue several platforms that do not allow sampling a depth resource that is also partially bound for rendering (stencil write) unless specific flags are specified.

  • Graphics: Changed: Allows compressed formats with Procedural VT on the CPU.
    The CopyPixelDataToLayer helper function now requires the used graphics format as an additional parameter. (1236255, 1246659)

  • Graphics: Changed: Extension API added for CommandBuffers to control the placement of render targets in fast GPU memory (where it is supported by the platform)

  • Mobile: Added: Adding the new iPhone SE 2nd gen to enum with iOS device generations.

  • Package Manager: Added: Added a new UnityEditor.PackageManager.Events.registeredPackages event which is raised after the editor is done importing and compiling the new list of packages.

  • Package Manager: Added: Added a new UnityEditor.PackageManager.Events.registeringPackages event which is raised before importing the new list of packages;

  • Package Manager: Added: Added a new UnityEditor.PackageManager.Client.Resolve() method that forces the Package Manager to resolve packages again and re-synchronize the package cache.

  • Package Manager: Changed: The enableLockFile option is now enabled by default when absent from the project manifest

  • Particles: Added: Added NativeArray overloads to SetParticles and GetParticles

  • Physics: Added: Added API to ArticulationBody for limitation of maximum velocities: maxJointVelocity and maxLinearVelocity properties.

  • Physics: Added: Added API to ArticulationBody for the entire articulation hierarchy drive targets and cache manipulation: index property, GetDofStartIndices, GetDriveTargets/SetDriveTargets, GetDriveTargetVelocities/SetDriveTargetVelocities, GetJointPositions/SetJointPositions, GetJointVelocities/SetJointVelocities, GetJointAccelerations/SetJointAccelerations, GetJointForces/SetJointForces.

  • Physics: Added: Added API to ArticulationBody to compute the Jacobian matrix for entire articulation hierarchy to be used for IK.

  • Physics: Added: Added API to ArticulationBody to manipulate velocity and angular velocity of root body: velocity and angularVelocity property setters.

  • Physics: Added: Added read only property Collider.attachedArticulationBody .

  • Physics: Added: Added read only property RaycastHit.articulationBody .

  • Profiler: Added: Added ProfilerRecorder api which allows to access memory and draw stats in Players.

  • Scripting: Added: Added IJobParallelForTransform.ScheduleReadOnly which provides better parallelization for read-only transform jobs

  • Scripting: Added: Added Object.InstanceIdToObject and Object.InstanceIDToObjectList.

  • Scripting: Added: Added ObjectChangeEvents API in the editor that exposes a stream of events summarizing all undoable changes that happened in the last update

  • Shaders: Added: Added ComputeShader specific overloads in ShaderKeyword class.

  • Timeline: Added: Added ClipCaps.AutoScale to automatically change the speed multiplier value when the clip is trimmed in the Timeline window.

  • UI: Added: Add a new property "IsMaskingGraphic" so we dont have to do a GetComponent each enable/ disable if we are not the masking graphic

  • UI Elements: Added: PropertyFields now sends ChangeEvent<SerializedProperty>

  • Version Control: Added: Add new methods to AssetModificationProcessor class making VCS support code more robust.

  • Web: Obsoleted: UnityWebRequest: isNetworkError and isHttpError are now deprecated, use UnityWebRequest.result instead.

  • WebGL: Added: Added "CodeOptimization" option to WebGL.UserBuildSettings. Possible values: "Speed" (default) and "Size".

  • XR: Added: Added Script API to override XR display subsystem's preferred mirror mode.

  • XR: Added: Added XR MSAA level setter to c# script.

  • XR: Added: Expose new fields to SystemInfo so that SRP and end-users can have more knowledge about graphics capabilities required for single-pass rendering techniques

  • XR: Added: TrackingModeOriginFlags now has an Unbounded origin. Unbounded Origins are based off of nearby spatial anchors and can be updated at will by the SDK.

  • XR: Removed: Built-in VR has been removed form Unity core and replaced with the new XR Plug-In system. More information can be found here: https://docs.unity3d.com/Manual/XR.html.

Changes

  • 2D: Add correct help url for Tile class

  • 2D: Allow user to edit Tile Palette with Brushes if Tile Palette is unlocked and user is in Edit mode when Tile Palette is empty

  • 2D: Remove Tile create asset menu item

  • 2D: Remove unused Reset Bounds button from SpriteSkinEditor

  • 2D: Use layoutGrid for GridBrushEditorBase preview calls

  • Android: Moved UnityEngine.Android.AndroidDevice from UnityEngine.dll to UnityEngine.AndroidJNIModule.dll

  • Android: Moved UnityEngine.Android.Permission from UnityEngine.dll to UnityEngine.AndroidJNIModule.dll

  • Android: Upgrade Android Gradle Plugin to 3.6.0 and Gradle to 5.6.4

  • Android: Use enableR8 setting in gradle.properties instead of useProguard in gradle template

  • Asset Import: Changed the default material import mode of the model importer from 'Standard' to 'Import via MaterialDescription'

  • Audio: DSPGraph: Move interleaving of samples in output buffer from output hook implementations to native output hook manager

  • Build Pipeline: Always add a copy of the managed symbols to a Temp/ManagedSymbols folder during a build.

  • Burst: Output of Debug.Log is temporarily disabled when used in Burst Function Pointers/Jobs to avoid a deadlock on a domain reload. A fix for the Unity editor is being developed.

  • Editor: Configurable Enter Play Mode feature is no longer experimental.

  • Editor: Creating a new GameObject from the Hierarchy view now places the instantiated object at world origin when invoked from a context menu on a Scene. (1179419)

  • Editor: Mark unity remote as deprecated inside ProjectSettings->Editor

  • Editor: Newly created objects in Hierarchy view go into rename mode now ("Rename New Objects" in hierarchy view settings menu can turn this behavior off)

  • Editor: Removed "macOS Color Picker" editor preference setting (that setting only ever partially worked anyway, e.g. it did not support HDR colors).

  • Editor: Removed 3D With Extras template

  • Editor: Removed Asset Store integration from the Project Browser. (1240939)

  • Editor: Revert reintroduction of OnDestroy/Awake calls for ExecuteAlways scripts when we enter Play Mode with the Scene Reload disabled.

  • Editor: The Position handle now follows mouse movements more precisely. (1217150)

  • Editor: Updated interaction mode labels and tooltips.

  • Editor: When calculating an object's bounds for the Rect tool, GameObjects with a MeshFilter but no MeshRenderer are now included.

  • GI: LightingSettings asset is only created when saving an upgraded project

  • GI: New projects created with the 3D template will now support baked light cookies by default.

  • GI: Unlock the maximum number of bounces supported by the lightmapper, making it closer to reality and thus giving more artistic control.
    We also made the UI more readable using the new labels "min bounces" and "max bounces", instead of "russian roulette start bounce" and "bounces".

  • Graphics: Exposed mesh function to set UV Distribution metric (for procedurally generated meshes with mip streaming) (1248390)

  • Graphics: Update embedded graphics packages (srp / vfx / shadergraph) to 8.1.0

  • iOS: Launch Images are no longer supported, as per new Apple guidelines

  • iOS: On iOS13 it is now possible to customize launchscreen viewcontroller, so it will adhere to unity settings for statusbar appearance and enabled orientations (1253671)

  • iOS: Removed OpenGL ES support on iOS/tvOS

  • Kernel: Native allocators now use slightly large blocks to avoid the more costly overflow allocations that go directly to system memory. This will cause a very slight increase in initial memory usage, but will avoid some spikes in performance

  • Mobile: Adaptive Performance - Fix Analytics system error with unloaded subsystem.

  • Mobile: Adaptive Performance Samsung Provider - GameSDK 3.2 has a different behaviour when setting frequency levels and warning level 2 (throttling) is reached and you are always in control of the CPU/GPU level.

  • Mobile: Adaptive Performance Samsung Provider - GameSDK 3.2 uses a wider range of temperature levels and maximum temperature level is changed to level 10.

  • Package Manager: Added a General Preference option to allow customizing the log level used by the Unity Package Manager for the Editor.log and upm.log files. This preference is saved and re-used across sessions, and it is overridden by the effects of the -enablePackageManagerTraces command-line argument.

  • Package Manager: Added the UnityEditor.PackageManager.Client.LogLevel property that allows configuring the log level used by the Unity Package Manager for the upm.log file.

  • Package Manager: Changed path and file format of global configuration file. The configuration file format is now TOML. The old global configuration file path is deprecated. New global configuration should be set in this new file.

  • Package Manager: Changed the design of the items in the Package List to be one line

  • Package Manager: Split All Packages into Unity Registry and My Registries.

  • Package Manager: Upgraded Cinemachine to 2.6.0. See Cinemachine 2.6 release notes

  • Package Manager: Version conflicts involving a direct project dependency are now reported like any other version conflict instead of being silenced.

  • Scripting: Removed boo and unityscript dlls from mono distribution.

  • Scripting: Removed deprecated code from internal tests. NOTE: Does not affect any component of Unity Product

  • Scripting: Strong name assembly references only validate if the assemblies is in different folders.

  • Services: Support in the In-App Purchasing Service Settings for safe migration of com.unity.purchasing to 3.0+ from older versions. The ability to update to the most recent of the legacy versions of In-App Purchasing without migrating is retained. Projects without any versions of this package installed already will only be able to install 3.0+ from the In-App Purchasing Settings user interface.

  • Shaders: Caching Shader Preprocessor is now the default preprocessor used for shaders.

  • Shaders: Relaxed macro expansion rules in Caching Preprocessor for token pasting (## operator) to always use expanded arguments instead of non-expanded arguments.

  • Timeline: ControlPlayableAsset.searchHierarchy (a.k.a. Control Children) now defaults to false.

  • Timeline: Updated default Timeline package version to 1.4.0-preview.3.

  • Timeline: Updated Timeline package to v.1.4.0

  • Timeline: Updated Timeline package version to 1.4.0-preview.7

  • UI: original descritopn: Improved case 1233408 @philip:
    UI: Small tweak to the EventSystem.current API to not do unnecessary work when setting current to the already current system.

  • UI Toolkit: Button.RegisterCallback<ClickEvent> and button.clicked now both work interchangeably. Clickable.clickedWithEventInfo will now receive ClickEvent instead of lower-level events like MouseUpEvent/PointerUpEvent or MouseDownEvent/PointerDownEvent.

  • UI Toolkit: Renamed menu entries of UIElements to UI Toolkit.

    • Window/Analysis/UIElements Debugger becomes Window/UI Toolkit/Debugger
    • Window/UI/UIElements Samples becomes Window/UI Toolkit/Samples
    • Create/UIElements/Editor Window becomes Create/UI Toolkit/Editor Window
    • Create/UIElements/USS File becomes Create/UI Toolkit/Style Sheet
    • Create/UIElements/UXML Template becomes Create/UI Toolkit/UI Document
      Remove mentioned of UIElements in the output of the Editor Window script generator
  • XR: Added interface changes for providers to share unresolved MSAA targets between eye texture swap chains resulting in memory savings. (1254408)

  • XR: Temporarily disabling runtime MSAA level changes if running with Vulkan and XR Management.

  • XR: Unity no longer includes the ARCore client libraries. These libraries are now added to a project by installing the ARCore SDK for Unity (distributed by Google).

  • XR: Updated Oculus XR Plugin package to 1.3.4.

Improvements

  • 2D: 2D Menus reorganised for creation of default assets and GameObjects for better user experience in level white boxing and prototyping

  • 2D: Added ability to specify Corners properties

  • 2D: Added message to inform user on dependent packages when viewing certain sample Scenes in com.unity.2d.animation

  • 2D: Adjust length of popup and value fields for Weight Slider Window in Skinning Module

  • 2D: Allow reordering of bone order in Bone Influence window. This is to allow fine tuning of bone order when shown in SpriteSkin's Inspector

  • 2D: Allow SpriteShape meshed to be pre computed

  • 2D: Allow users to delete a selection of Tiles with the Delete/Backspace key after selecting Tiles with the Select tool

  • 2D: Improved deformation performance when Collection and Burst package is installed

  • 2D: Improved Memory Allocations

  • 2D: Improved SpriteSkinEditor UI

  • AI: Add tooltips to Navigation window and related components (970778)

  • Android: Do basic Application.genuine implementation, where it would check if package name set in Player Settings matches with the one acquired at runtime.

  • Android: Documentation clarified for Application.targetFrameRate behavior on mobile devices.

  • Android: Enable support for Light Probe proxy volumes when using OpenGL ES 3

  • Android: Framerate will be decided automatically when optimized frame pacing is enabled and vsync is disabled

  • Android: Moved noCompress settings from launcher project to unitylibrary. (1239760)

  • Android: Optimize async texture readback and CopyTexture when using Vulkan on Mali GPUs

  • Android: Print Company Name, Product Name in the log during application start, thus if the game is pirated can be used as additional proof that it's your game

  • Android: Screen.resolutions is filled with supported display resolutions for 4K detection. (1178233)

  • Android: Support target display on Android

  • Android: Support Vulkan backbuffer pre-rotation

  • Android: Supported compressed 3D textures with OpenGL ES 3.1

  • Android: Update Android Logcat package version to 1.1.1

  • Android: Update Screen.currentResolution.refreshRate in case the display refresh rate changes

  • Animation: Some words on Animation Window became localized.

  • Asset Import: Added support for 3DsMax's Simplified Physical Material from FBX files in the Model Importer.

  • Asset Import: AssetDatabaseExperimental.SetImporterOverride is now accessible from the inspector in every Assetimporter header by selecting which available Importer Override to apply to this asset.

  • Asset Import: AssetDatabaseExperimental.SetImporterOverride is now accessible from the inspector in every Assetimporter header by selecting which available Importer Override to apply to this asset.

  • Asset Import: Improve uv-unwrapper performance

  • Asset Import: Sped up search using glob syntax for discovering project assets.

  • Asset Pipeline: Added examples to CopyAsset, SetLabels, GetMainAssetTypeAtPath,GetUnusedAssetBundleNames, RemoveUnusedAssetBundleNames

  • Asset Pipeline: Added examples to ExportPackage, GetAssetBundleDependencies, GetAssetOrScenePath, GetAssetPathFromTextMetaFilePath, GetImplicitAssetBundleVariantName

  • Asset Pipeline: Added examples to GetAssetDependencyHash, ReleaseCachedFileHandles, GetCurrentCacheServerIp, importPackageFailed, importPackageStarted, importPackageCompleted, importPackageCancelled

  • Asset Pipeline: Added examples to GetCachedIcon, SetMainObject, ValidateMoveAsset, RenameAsset, Refresh

  • Asset Pipeline: Added examples to GetSubFolders, ImportPackage, IsForeignAsset, IsMainAsset, IsMainAssetAtPathLoaded

  • Asset Pipeline: Added examples to IsNativeAsset, IsSubAsset, OpenAsset, RemoveAssetBundleName, RemoveObjectFromAsset

  • Asset Pipeline: Added examples to IsValidFolder, DeleteAsset, MoveAsset, RenameAsset, MoveAssetToTrash

  • Asset Pipeline: Added examples to WriteImportSettingsIfDirty, GetImplicitAssetBundleName, GetLabels, Contains, ForceReserializeAssets, ClearLabels

  • Asset Pipeline: AssetDatabase.LoadMainAssetAtPath documentation

  • Asset Pipeline: Be less verbose about adb profiler output in the editor log unless necessary

  • Asset Pipeline: Cache server UI icons and design.

  • Asset Pipeline: For source asset dependencies, besides using file hashes, use timestamps for deciding when to reload asset.

  • Asset Pipeline: Show more precise information in progress dialog when asset postprocess callbacks take a long time to finish (1228418)

  • Audio: Stop audio previews when Unity loses focus and "Run in Background" is disabled

  • Bug Reporter: Allow setting Bug Reporter defaults for Publicity, CustomerEmail, and whether to exclude project files, in services-config.json.

  • Core: Improved Time.deltaTime consistency for Metal graphics API on iOS and macOS

  • DX12: Added support for constant buffers set with the CommandBuffer.SetGlobalConstantBuffer and Shader.SetGlobalConstantBuffer methods in Ray Tracing Shaders. Fixed and improved all the Ray Tracing related Scripting API documentation.

  • DX12: Added support for GraphicsBuffer constant buffers that can be set using the ComputeShader.SetConstantBuffer and CommandBuffer.SetComputeConstantBufferParam

  • DX12: Added support for GraphicsBuffer constant buffers that can be set using the RayTracingShader.SetConstantBuffer and CommandBuffer.SetRayTracingConstantBufferParam

  • DX12: Improve CPU performance when binding ray tracing shaders.

  • DX12: Improved CPU performance when building Ray Tracing Acceleration Structures.

  • DX12: On DX12 skin pose buffer update triggers an upload operation from upload heap to default memory resulting in barriers being inserted between compute dispatches, which prevented them from being scheduled concurrently. This PR uses scratch buffer memory for the skin pose buffer thus eliminating the need for an upload operation and the barriers.

  • Editor: Add a command-line "vcsModeSession" argument to set VCS mode for the current editor session only (1226304)

  • Editor: Add Recent Scenes to the File menu in the top toolbar.

  • Editor: Added "Set as Default" option to Hierarchy objects to allow setting a custom parent for objects dragged into the Scene/Hierarchy Windows and objects created via the GameObject menu.

  • Editor: Added a label displaying how many Game Objects are currently selected to the Inspector. (1208698)

  • Editor: Added Pan, Zoom and Blendshape Preview to the Mesh Inspector.

  • Editor: Added shortcuts to copy/paste camera position -- "Scene View/Copy Camera Placement", "Scene View/Paste Camera Placement" and "Game View/Copy Camera Placement" in shortcut settings. No default keys are assigned.

  • Editor: Added support for Ray Tracing Shader (DX12) dispatches information in the Frame Debugger.

  • Editor: Arrays and lists in the inspector can be reorderable now. Use [Reorderable] attribute on your script variables to turn this on.

  • Editor: Arrays and user-written serializable classes & structs can be copy/pasted in the inspector now.

  • Editor: Calculate a ray direction relative to the camera instead of in world space. This should significantly improve precision when interacting with handles far away from the origin. (1178966)

  • Editor: Certain Version Control state icons (Out of Sync, Conflicted, Remote Locked, Remote Delete, Remote Checkout) will be displayed (if enabled in the Project Settings) for prefabs in the Hierarchy.

  • Editor: Ctrl+C on a focused progress dialog in Windows Editor copies the progress text to clipboard.

  • Editor: Editor status bar lower right corner icons have tooltips now.

  • Editor: Game View resolution dropdown for Standalone platform got a better list of default aspect ratios (16:9, 16:10) and resolutions (1920x1080, 1366x768, 2560x1440, 3840x2160).

  • Editor: GradientFields and Gradient editor can now have their color interpreted as linear.

  • Editor: Handles.DrawLine, DrawWireDisc and DrawWireArc functions got an optional "thickness" parameter for drawing thick handles.

  • Editor: Improved inspector performance for large text asset files (1241212)

  • Editor: Improved JobsDebugger performance

  • Editor: Improved Mesh triangulation warnings to display the path to the asset where they originate. (1252773)

  • Editor: Improved performance of scene hierarchy when selecting objects from the project view. (1252528)

  • Editor: Improved progress bar details for texture importing (Crunch compression, cubemap convolution etc.).

  • Editor: Material preview in the inspector now remembers the last used preview mesh.

  • Editor: Minimize allocations when calculating bounds for the Rect tool.

  • Editor: Move/Rotate/Scale handle improvements! Thicker lines, with user preference for thickness. Indication for which axis would be picked by mouse hover was improved (brighter color and thicker line), as well as increased accuracy of move & scale axes end points picking. Rotation handle arcball rotation outline circle is more visible now. Axis end caps are properly sorted and no longer the further Z axis cap is drawn over the closer X cap. Move tool plane widgets are no longer on the wrong side of the center handle when orthographic camera is used.

  • Editor: Naming scheme option was added to project Editor Settings. One of "Prefab (1)" (default), "Prefab.1" or "Prefab_1", with option for amount of number digits.

  • Editor: Optimized by ~74x the style catalog asset post processing. (1222761)

  • Editor: Pressing Frame Selected second time will focus on the object's handle/gizmo.

  • Editor: Project view asset rename & move operations now support Undo & Redo

  • Editor: Release Quick Search 1.5.2 with minor fixes and a bit more performance.

  • Editor: Release Quick Search 1.5.3 with minor fixes and improve tests stability regarding asset store.

  • Editor: Removed redundant preview packages message from the title bar.

  • Editor: Scene view "Shaded Wireframe" mode can work with SRPs now, via ScriptableRenderContext.DrawWireOverlay.

  • Editor: Scene view accepts multiple objects when dragging and dropping

  • Editor: Scene view deselect-click (Ctrl/Cmd) works more intuitively with prefabs containing child objects.

  • Editor: Scroll smoothness in Editor in macOS

  • Editor: Show asset path breadcrumb bar when the ProjectBrowser window is in One Column mode. (1200880)

  • Editor: Text field for Scripting Define Symbols in ProjectSettings replaced with foldout string array

  • Editor: The "user message" for an assert is now shown on the first line when output, so it shows up directly in the Console view, rather than seeing a general "Assertion failure" message and needing to look at expanded details to find it.

  • Editor: Unity no longer writes a UTF8 BOM to new scripts it creates (Assets -> Create -> C# Script, etc). BOM's cause problems with various tools, especially those related to source control, and the original reason for this functionality (bad encoding handling in very old editors) has not been a problem for a long time.

  • Editor: Updated Quick Search to 2.0

  • Editor: Updating the UI for Background tasks and Main toolbar.

  • Editor: Vertex snapping is many times faster on large scenes, and it's easier to snap to vertices that are close/visible, without accidentally snapping to some far away occluded objects. (1255176)

  • GI: Added support for half float texture format for Light Probe Proxy Volume component. The LPPV inspector has a new option to choose the format of the 3D LPPV texture.

  • GI: Adding API to set/get the LSA on loaded scenes

  • GI: AMD board names shown in the Lighting window GPU device dropdown instead of gfx901, gfx1010 etc.

  • GI: Improved scheduling of lightmaps, light probes and additional probe bakes with with the GPU lightmapper.

  • GI: Improvements to Lighting Settings such as preset support, updated docs and exposure of default settings.

  • GI: Make the update of Light Probe Proxy Volumes components only once per frame and not per camera render since these components are not camera relative.

  • GI: Reduce GPU memory usage when baking large lightmaps with the GPU lightmapper, by baking in smaller tiles in non progressive mode.

  • GI: Removing custom Lighting Settings from 3D template

  • GI: Sped up GI main thread initialization on Editor startup. (1162775)

  • Graphics: Added debug names for resources on DX12.

  • Graphics: Adding warning message when using a uv set out of range in the RecalculateUVDistributionMetric C# function

  • Graphics: Color writes during a scriptable render pipeline shadow pass has been disabled to improve performance.

  • Graphics: Enabled threaded texture creation on Xbox DX11 to removed hitch. Added support for direct upload of offline processed data on DX12 when threaded texture creation is disabled

  • Graphics: Extended supported types/formats for RWTexture2D when using Vulkan and OpenGL ES

  • Graphics: Fix necessary memory barriers generated when UAVs are bound as read-only on Nintendo Switch.

  • Graphics: Generate warnings when when using CommandBuffer API that is not supported inside a renderpass.

  • Graphics: Improve Hybrid Renderer V2 error handling when incompatible shaders are detected (1240162)

  • Graphics: Improve input validation of RenderPass API

  • Graphics: Improve validation of RenderTexture with bindTextureMS for unsupported formats

  • Graphics: Improved ComputeBuffer data alignment for Metal

  • Graphics: Improved documentation for Texture.allowThreadedTextureCreation

  • Graphics: Improved DX12 async texture loading to fail more gracefully when out of GPU memory

  • Graphics: Improved DX12 performance in cases, where a lot of resources are created per frame.

  • Graphics: Improved error reporting in Ray Tracing shaders interface.

  • Graphics: Improved shader property error messages.

  • Graphics: Improved the error messaging interface when incorrectly setting up texture stacks.

  • Graphics: Improves DX12 performance with hybrid renderer.

  • Graphics: Make use of ASTC decode mode RGB9E5 for ASTC HDR textures when alpha is not used

  • Graphics: Metal: Add changes required for Apple GPU support on a Mac

  • Graphics: Separated ComputeBuffer counters into separate physical buffers to impove data access/alignment for Metal API

  • Graphics: Slightly reduced shader compilation times and application build sizes for GLSL/Metal platforms.

  • Graphics: Support DXT5nm normal maps on Android, iOS, tvOS (1235914)

  • Graphics: Texture creation performance improved for CubeMaps on Metal. Hitches reduced.

  • Graphics: Texture creation performance improved for CubeMaps on PC and Xbox on DX11 and DX12 and PS4

  • Graphics: Texture creation performance improved for CubeMaps on Vulkan. Hitches reduced.

  • Graphics: The D3D12 internal command buffer can now be accessed from a d3d12 native plugin.

  • Graphics: The URP Shadow Pass is now more performant when rendering cascaded shadow maps due to an increase of draw calls per command list.

  • Graphics: There is now an option to delay acquiring the swapchain buffer until it is actually used when rendering in Vulkan.

  • Graphics: VFX Internal performance test marker

  • IL2CPP: Add attribute to avoid runtime performance impact of static constructors

  • iOS: Camera.targetDisplay now works with iOS Metal (1171951)

  • iOS: Changed builtin xib launch screens to storyboard

  • iOS: Changed the way we generate version defines in trampoline - now we guarantee that they can be compared numerically and all versions are supported (we were missing defines before for bad reasons) (1244796)

  • iOS: it is now possible to provide different custom storyboards for ipad and iphone

  • iOS: Under some circumstances, interim AA resolve will no longer result in an extra texture copy

  • Kernel: Fix crash when empty filename is passed to AsyncReadManager.Read API

  • Kernel: Reduce job system overhead on Mac

  • Kernel: Refactoring in memory label code which resulting in lowering generated code size.

  • Kernel: Small optimisation for low-level atomic queue container used by the JobQueue

  • macOS: Remove project name in the normal window title bar

  • Mobile: Update Adaptive Performance Samsung Android package to verified version 1.1.1.

  • Mobile: Update Mobile Notification verified package version to 1.3.0

  • Mobile: Update verified package Adaptive Performance and Samsung provider to 1.1.6

  • Package Manager: - Package interoperability with Unity IAP: the Unity IAP package can now work directly with the UDP Package instead of maintaining its own UDP dll.

    • User permissions can be set at the Project level.
    • UDP Settings: inspector window activated when invoking the asset file; faster load and sync times.
    • General code refinements.
  • Package Manager: Added tooltips to action buttons for a package.

  • Package Manager: Dependency resolution now automatically resolves trivial conflicts.

  • Package Manager: Improved Import/Download buttons visibility.

  • Package Manager: Improved performance of Package Manager metadata requests sent to the registry.

  • Package Manager: Improved project loading time through caching Unity Package Manager state on disk.

  • Package Manager: Improved the install from git url visual in the Package Manager window.

  • Package Manager: Include the Package Manager lock file (Packages/packages-lock.json) in the BugReporter report.

  • Particles: Added a new Depth sorting mode, to sort particles based on their distance to the camera plane. (1207573)

  • Particles: Allow any number of colliders in the Collision and Trigger modules.

  • Physics: Implement visualisers for the articulation body joint limits, both linear and angular ones. Revolute, prismatic and spherical joints are supported.

  • Plugins: Improved error messages when unable to load PS4 native extension (1242853)

  • Prefabs: General prefab editor performance have been improved

  • Prefabs: General prefab editor performance have been improved

  • Prefabs: Improved performance in part of nested prefab modification saving

  • Prefabs: Introduced new Prefab Mode related project setting 'Allow Auto Save'. It defaults to true which has the same behavior as in previous versions of Unity. However, when turned off, there is never any Auto Save happening in Prefab Mode in this project and the toggle is not displayed. Unlike the Auto Save toggle itself, which is a per-user setting that carries across projects, the new project setting applies to all users of the project. (1141476)

  • Prefabs: Prefabs with many properties are now faster to load

  • Profiler: Ability to see metadata associated with a profiler sample in Hierarchy View.

  • Profiler: Added ability to specify profiler category for ProfilerMarker

  • Profiler: Hierarchy and Timeline view no longer display frame data while profiling unless "Live" toggle is pressed, reducing the Editor Overhead while profiling Edit or Play Mode.

  • Profiler: Player Connection: Improved stability of player connection by better handling sending/receive messages and splitting receiving of messages across multiple frames.

  • Profiler: Visualize Async Loading flow in Profiler Timeline View

  • Scripting: Add GC-free way to get stack trace in editor

  • Scripting: Added inline documentation, constructors and implicit conversion operators to LazyLoadReference.

  • Scripting: Added locking around tls->frames usage/freeing in the mono debugger. This eliminates some crashes involving memory corruption while using the managed debugger as well as a known hang.

  • Scripting: AtomicSafetyHandle now throws ObjectDisposedExceptions instead of InvalidOperationException when code attempts to access a container after it has been disposed. This mimics behavior of built-in container types.

  • Scripting: Camera.main is much faster to query.

  • Scripting: Ensure crash handler is invoked when an abort or assert is encountered in Mono runtime.

  • Scripting: Fixed and improved the Scripting API documentation for CommandBuffer.DispatchRays and RayTracingShader.Dispatch.

  • Scripting: Implemented switching code coverage without editor restart. Introduce API to enable/disable code coverage.

  • Scripting: Improve performance of memory profiler

  • Scripting: Improved Performance of DefineConstraintsHelper

  • Scripting: Obtain a full callstack when Instruction Pointer is NULL to prevent crash.

  • Scripting: UnityWebRequest.certificateHandler is now invoked for root certificates on Windows

  • Scripting: UnsafeUtility.Malloc will now throw an exception when given a positive alignment value that is not also a power of two. Previously this was only flagged as an assert in debug builds.

  • Scripting Upgrade: Avoid logging potentially misleading message in case that no assembly got successfully updated.

  • Shaders: #line directives can now be turned on and off via a toggle in Shader and Compute Shader inspectors.

  • Shaders: Caching shader preprocessor now recognises ellipsis (but no variadic macros support).

  • Shaders: Compute shader preprocessed source now has indentation.

  • Shaders: Improved #line directive output for preprocessed source.

  • Shaders: Preprocessed source now ends up in a text file named differently from compiled source.

  • Shaders: Reduced in-Editor memory usage for Compute shaders.

  • Shaders: Shader live link now caches compilation results on disk.

  • Shaders: Shader live link will now build only one shader variant at player build time.

  • UI: Add the ability to have wrap around navigation for horizontal and vertical navigation.

  • UI: Add the ability to toggle maskable option from the inspector (property has always been there for API only)

  • UI: Adding secondary list of only graphics that are raycast targets to CanvasRegistery. This prevents iterating over the whole list all every frame

  • UI: Cache .Count access on for loops where throughout UI source code

  • UI: reworked GraphicRaycaster eventCamera implementation to cache some calls for performance

  • UI: UIStruct memory saving by use of bitfields

  • UI: Updated documentation for OnRectTransformDimensionsChange to say when it could be called.

  • UI: updating colorblock to have a static colorblock for default instead of creating new each time

  • Universal Windows Platform: Unity will now display warnings in player settings if any of the required icon images are not set saying that the application will fail windows certification because of it.

  • Version Control: Updated existing version control icons. Added theme support.

  • Windows: Improved Time.deltaTime consistency for D3D11 graphics API.

  • Windows: Improved Time.deltaTime consistency for D3D12 graphics API.

  • XR: Updated Oculus XR Plugin to 1.2.0

  • XR: XR Statistics caches thread-safe stats that only get promoted to 'live' data after a render pass. However a number of data points need to be 'initialized' before we actually render a frame (like Frame Rate).

Features

  • Android: Added more complete support for playing video in addressables and asset bundles. Compressed and in-memory bundles are now supported on Android 9 and newer devices.

  • Asset Pipeline: Added 2 new properties:
    AssetDatabase.GlobalArtifactDependencyVersion
    AssetDatabase.GlobalArtifactProcessedVersion

  • Asset Pipeline: Consistency check of assets using '-consistencyCheck' and when force reimporting through project window.

  • Editor: Add "Enable debugging to all projects" button to "C# Debugger Attached" dialog and made text more descriptive.

  • Editor: Add support for Root Namespace field to Assembly Definition Files. New scripts created inside Unity will have a namespace added to the default template if it is set in the corresponding Assembly Definition File or Project Settings -> Editor -> Project Root namespace for non-Assembly Definition File scripts.

  • Editor: Added -version argument to command line arguments which prints out the unity version to console

  • Editor: Added Editor Tool Contexts, allowing custom tools to override the built-in transform tools.

  • Editor: Added functionality to have snap lines inside Graphview turn on and off in Preferences.
    If enabled, GraphElements in Graph Views (such as Shader Graph) align with one another when you move them. If disabled, GraphElements move freely.

  • Editor: Adds support for Roslyn Reference Assemblies. Skips compilation of assembly references if the metadata for the modified assembly does not change. Reference Assemblies are enabled by default, but can be disabled with "Use Reference Assemblies" option in the player settings.

  • Editor: auto_quitter has been renamed to UnityAutoQuitterauto_quitter on all platforms. It is now a native program on MacOS and Linux.

  • Editor: Built-in Visual Studio C# solution generator will now include Root Namespace from Assembly Definition Files in the generated C# project files.

  • Editor: com.unity.editorcoroutines version 1.0.0 is now verified

  • Editor: optionally drag all the edges from a port to another at the same time.

  • Editor: Profile Analyzer (com.unity.performance.profile-analyzer) is now a verified package

  • Editor: Texture arrays (Texture2DArray) and volume textures (Texture3D) can be imported now, from "flipbook" image layouts. Use through the new options in texture import Shape setting.

  • Editor: Update ProBuilder to 4.2.3.

  • Editor: Updated to ProBuilder 4.3.1

  • GI: Add Bluenoise sampling from Eric Heitz and Laurent Belcour SIGGRAPH Talk, see https://eheitzresearch.wordpress.com/762-2/ jira link: https://unity3d.atlassian.net/browse/UR-1291

  • Graphics: Ability to output a CPU event and get it back to the component level

  • Graphics: Add Custom Render Texture API to write your own update loop in C#

  • Graphics: Add ExtensibleCamera that allow to extend a Camera by inheritence.

  • Graphics: Added an experimental ExternalGPUProfiler capture API enables developers to programmatically take GPU frame captures using supported GPU debugging tools.

  • Graphics: Added profiling module for Virtual Texturing to the Unity Profiler to allow users to get performance information about the Virtual Texturing system.

  • Graphics: Added support for importing 16bit per channel integer formats without quantization. This also exposed new TextureFormats R16G16, R16G16B16 & R16G16B16A16

  • Graphics: Adds the option to explicitly evict data in a region; the original invalidate will now keep the original "stale" data on your graphics hardware until refreshed.

  • Graphics: Trilinear filtering support for procedural VT

  • Graphics: Virtual Texturing is now supported on Universal Windows Platform.

  • IL2CPP: Add Il2CppEagerStaticClassConstructionAttribute which can be used to avoid overhead associated with static constructors.

  • Mobile: Added Adaptive Performance Settings.

  • Package Manager: "Enable Preview Packages" moved in Package Manager Project Settings

  • Package Manager: Add advanced settings for Package Manager in Project Settings.

  • Package Manager: Add dropdown bouton for preview packages in use

  • Package Manager: Add links in package description so users can copy them.

  • Package Manager: Added changelogUrl and licensesUrl as optional properties which can be specified in a custom package's package.json. If specified, will replace the auto-generated changelog and licenses links with the custom URLs.

  • Package Manager: Added user setting for skipping the 'Asset Store has Moved' window. This setting can be enabled from the 'Asset Store has Moved' window itself. If enabled, this setting will cause the Asset Store to be opened directly in the browser when clicking on 'Window > Asset Store', and the user will not see the 'Asset Store has Moved' window again once they close it.

  • Package Manager: Changed Package Details to display full version of package, with tags (i.e. preview). Also, the '(Current)' note has been removed from Release Details of UPM Packages.

  • Package Manager: Distinguish between operation and state errors

  • Package Manager: Http range request.

  • Package Manager: In the Package manager window, the refresh button is now a dropdown button to choose what kind of refresh the user wants to do.

  • Package Manager: Introduced two new environment variables to override user and global configuration files path. UPM_GLOBAL_CONFIG_FILE overrides the default path of the global configuration file. UPM_USER_CONFIG_FILE overrides the default path of the user configuration file.

  • Package Manager: Made console log errors from Package Manager UI clearly specify they are from [Package Manager Window]. Also modified error messages shown in the UI so that they do not prompt the user to 'see console for more details' if no details are logged in the console.

  • Package Manager: Package details for packages installed locally/from tarball now displays the path they were installed from.

  • Package Manager: Split the package Name into the Name and the organization.

  • Package Manager: Updated the Package Manager window visuals with the primary goal to highlight the usage of preview packages.

  • Particles: Added Local and Shape Scaling Mode support when using Mesh Renderer and Skinned Mesh Renderer in the Shape module.

  • Particles: Query which colliders a particle is interacting with, when using the Trigger module

  • Physics: Expose Joint.connectedArticulationBody to be able to link ArticulationBody and Rigidbody hierarchies together with the means of regular Joints

  • Player: Pulling Unity Player logs after test runs as they are useful artifacts.

  • Prefabs: PrefabPostprocessor support

  • Profiler: Added a new Module Editor to support creating custom Profiler modules and visualising user-defined performance counters alongside built-in performance metrics.

  • Scripting: Compile scripts with C# 8.

  • Scripting: Support Roslyn analyzers in Unity projects.

  • Services: Unity Distribution Portal package support now available in the Services Window

  • Shaders: Implemented Shader Livelink support.

  • Shaders: It is now possible to override shader preprocessor on a per-shader basis

  • Shaders: Scriptable stripping support for compute shaders

  • UI Toolkit: Added TwoPaneSplitView control. Link to Jira Epic https://unity3d.atlassian.net/browse/UR-1228

System Requirements

For development

OS: Windows 7 SP1+, 8, 10, 64-bit versions only; macOS 10.12+. (Server versions of Windows & OS X are not tested.)

CPU: SSE2 instruction set support.

GPU: Graphics card with DX10 (shader model 4.0) capabilities.

The rest mostly depends on the complexity of your projects.

Additional platform development requirements:
  • iOS: Mac computer running minimum macOS 10.12.6 and Xcode 9.0 or higher.

  • Android: Android SDK and Java Development Kit (JDK); IL2CPP scripting backend requires Android NDK.

  • Universal Windows Platform: Windows 10 (64-bit), Visual Studio 2015 with C++ Tools component or later and Windows 10 SDK

For running Unity games

Generally content developed with Unity can run pretty much everywhere. How well it runs is dependent on the complexity of your project. More detailed requirements:

  • Desktop:

    • OS: Windows 7 SP1+, macOS 10.12+, Ubuntu 16.04+
    • Graphics card with DX10 (shader model 4.0) capabilities.
    • CPU: SSE2 instruction set support.
  • iOS player requires iOS 10.0 or higher.

  • Android: OS 4.4 or later; ARMv7 CPU with NEON support; OpenGL ES 2.0 or later.

  • WebGL: Any recent desktop version of Firefox, Chrome, Edge or Safari.

  • Universal Windows Platform: Windows 10 and a graphics card with DX10 (shader model 4.0) capabilities

  • Exported Android Gradle projects require Android Studio 3.4 and later to build

变更集: 7a5530473e9d