发行说明

Known Issues in 2020.2.0a9

  • 2D: Entering / leaving Play mode results in long wait times when a specific prefab with Grid / Tilemap components is in the scene (1240640)

  • Asset Import Pipeline: Importing project freezes on 'Initial Asset Database Refresh' when there's a meta file containing big amount of user data (1241933)

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

  • Asset Import: Fixed issue where selecting a Material from the list in Model Importer Material Editor locks choice and ignore other selected Materials (1238878)
    This has already been backported to older releases and will not be mentioned in final notes.
    Fixed in 2020.2.0a10.

  • Asset Pipeline: Fixed issue with going into infinite loop when clicking on "Check Connection" button. (1232279)
    Fixed in 2020.2.0a11.

  • Asset Pipeline: Fixed issues with script type dependencies for types with SerializeReference fields. Hash could be wrong and System.Object fields were never part of the hash. (1216914)
    Fixed in 2020.2.0a11.

  • Audio: Editor crashes on changing 'System Sample Rate' when Audio track preview is being played in Timeline window (1232743)

  • Audio: AudioSource PlayScheduled plays sound at random intervals with random variation when any filter component is present (1241932)

  • Audio: [Windows] Editor uses one CPU Logical Processor at 100% while the game is in Pause Mode (1219619)

  • Deployment Management: [Deployment] For an unsaved scene when Graphics API is changed, Graphics API is switched even after closing API modified window (1240813)

  • Global Illumination: Crash on Baking with RadeonPro Denoiser (1233474)

  • Global Illumination: [OSX][GPUPLM]OS Kernel Panic crash with 'Thread may have been prematurely finalized' after baking the scene with AMD GPU (1160419)

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

  • Graphics - General: 'task.rasterData.vertexBuffer == NULL' errors when using a Particle System (1226357)

  • Graphics - General: [HDRP][macOS] Unity crashes when changing Device to Use setting from Automatic to Intel GPU (1242057)

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

  • Graphics - General: [Performance Regression] AssetBundleLoadSingleAssets : LoadAsync_Prefabs_SingleAssets is significantly slower than 18.4 (1203511)

  • Graphics - General: [Shortcut Manager] Editor crashes on deleting Newly Created Profile from Shortcuts Manager (1239778)

  • Graphics: Fix a bug in the visual effect asset compilation when there is no event. (1233056)
    This has already been backported to older releases and will not be mentioned in final notes.
    Fixed in 2020.2.0a10.

  • Graphics: Fixes a memory leak in AsyncGPUReadback (1234193)
    Fixed in 2020.2.0a10.

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

  • IL2CPP: Performance regression in UnityLinker.exe when building to UWP (1229420)

  • IMGUI: Splitter IndexOutOfRangeException when opening the editor (1241206)

  • IMGUI: [Color Picker] Editor freezes when Eye dropper tool is selected multiple times from Color Picker window (1239843)

  • Kernel: Fixed Assert "ManagedJobIndexPool ran out of indices" when running the Editor on CPUs with more than 64 hardware threads. (1204885)
    Fixed in 2020.2.0a10.

  • Linux: Mac Support is only pseudo-installed through Hub for Linux Editor (1100382)

  • Linux: Fixed scroll mouse events not being parsed in the editor when the mouse cursor lock mode is set to locked. (1219781)
    Fixed in 2020.2.0a11.

  • MacOS: Editor is leaking memory when Aura Camera component is attached to a GameObject in the scene and Aura preview is enabled (1229502)

  • MacOS: [macOS] Editor crashes when trying to access audio capture devices (1227607)

  • Mobile: [Android] Loading assets from AssetBundles takes significantly more time when the project is built as an AAB (1153358)

  • Mobile: [Android][IL2CPP] App crashes after executing Application.Quit (1233578)

  • Package: Crash on PrepareShadowMaps when entering Play Mode (1233829)

  • Profiler: Corrects errors when switching between connected player and editor due to unfinished profiler frame being processed. (1181306)
    Fixed in 2020.2.0a10.

  • Profiler: Fixed Profiler Timeline View not being able to visualize large frame which contains Asset Refresh workload (~15M samples) (1239676)
    Fixed in 2020.2.0a10.

  • Scene Management: Prefab Variant Transform fileId changes (1238280)

  • Scripting: Editor crashes on EventHandler`1:invoke_void_TEventData when invoking an event (1228198)

  • Shuriken: Unable to select any option in Simulate Layers Dropdown in Particle effects window (1225489)

  • Themes: Components of a gameObject are not displayed in Inspector if its tag is deleted (1240105)

  • Version Control: Fix Checkout() APIs for non-asset-database-aware files (1241289)
    Fixed in 2020.2.0a11.

  • Version Control: [VCS] Provider.Checkout fails on XRSettings.asset and ProjectVersion.txt (1210723)

  • WebGL: Built project causes an uncaught abort exception when using dlopen() dynamic linking in Emscripten (1192963)

  • WebGL: VideoPlayer is not rendered in WebGL builds when the video is loaded via URL (1188316)

  • Windows: Cannot activate license within a docker container (1193364)

New 2020.2.0a9 Entries since 2020.2.0a8

Fixes

  • 2D: Fixed bone name field in weight slider does not display bone name (1226249)
    This has already been backported to older releases and will not be mentioned in final notes.

  • 2D: Fixed SpriteResolver's Inspector not updated when GameObject is disabled (1230787)
    This has already been backported to older releases and will not be mentioned in final notes.

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

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

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

  • Editor: Fixed a crash processing old fbx files with legacy animations (1209240)
    This has already been backported to older releases and will not be mentioned in final notes.

  • 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 OpenGL Editor crash that happenend on enabling wireframe mode (1238321)
    This is a change to a 2020.2.0a4 change, not seen in any released version, and will not be mentioned in final notes.

  • Editor: Fixed renaming asset while scripts are re-compiling. (1233782)

  • Editor: Fixed some cases of EditorUtility.ClearProgressBar done at wrong times resulting in "Trying to access current progress scope" errors. (1238068)

  • 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 the crash when "Right click" is used to close an undocked preview window on Windows. (1231889)

  • Editor: Scripts will now be recompiled with updated scripting defines, after a restart when the input mode has been changed. (1214248)

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

  • Graphics: Fix validating textures without mips (1232782)

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

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

  • Graphics: Fixed loading RenderDoc when VirtualTexturing is enabled (1235256)

  • Graphics: Fixed shader codegen for countbits (1227474)

  • Graphics: Fixes an issue where graphics settings were written to boot.config incorrectly. (1236936)

  • Graphics: Mipmaps requested to stream from script now works when there are only instantiated entity objects (1232516)

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

  • IL2CPP: Correct the implementation of ConcurrentBag so that it works with ETW managed code stripping. (1230447)

  • iOS: Stop .pdb files being added to non development XCode builds. (1232798)

  • 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 the issue where ArgumentException will be thrown when opening Asset Store page in Package Manager window when Charles Proxy is running.

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

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

  • Prefabs: Fix crash on InstantiatePrefabDrag when dragging a Prefab to a Scene (that deletes its PrefabInstance handle in OnEnable) (1229166)

  • Prefabs: Fix Dragging a UI Prefab to the Scene view incorrectly shows it in the Hierarchy and an ArgumentOutOfRangeException is thrown. (1223793)

  • Prefabs: Fix that Editor logs errors when adding/removing a Component while Prefab is selected in a locked Inspector. (1231637)

  • Profiler: Fixed an issue whereby no data was shown in the UI Profiler module's chart. (1233107)
    This is a change to a 2020.2.0a5 change, not seen in any released version, and will not be mentioned in final notes.

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

  • Scripting: Fix warning being logged to console when adding a script with the same name as a component. (1224238)

  • Scripting: Fixed - Added support for dialects of Chinese language in Application.systemLanguage. (1206732)

  • Scripting: Fixed crash that occurred during domain reload that was caused by image set data being stored in the wrong image. (1224837)

  • Scripting: Potential fix for random crash. (1232819)

  • Services: Fixed the Collab enable/disable state desync in the Services Window when changing it from the Collab window (1234356)

  • Shaders: Local keyword no longer removed when loaded from player asset bundle. (1232272)

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

  • 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 Toolkit: Renamed "Update UIElements Schema" menu item to "Update UXML Schema"

  • Version Control: Fixed errors for Collab users using Apple FileMerge as their diff/merge tool. (1224872)

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

  • Video: Fixes video stuttering when large screen target resolution is set and Vsync is disabled (1232889)
    This has already been backported to older releases and will not be mentioned in final notes.

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

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

API Changes

  • 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: Changed: Rename SceneViewState.showMaterialUpdate to alwaysRefresh. (1230092)

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

  • 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.

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

Changes

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

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

  • 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

Improvements

  • 2D: Added ability to specify Corners properties

  • 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: Fixed an issue where Cinemachine Pixel Perfect Extension didn't work when CinemachineBrain Update Method is anything other than Late Update. (1209977)

  • 2D: Fixed SpriteShape Corner Threshold does not work (1226847)

  • 2D: Fixed SpriteShape Edge Collider does not extend to End-point even if Edges dont overlap (1226856)

  • 2D: Fixed when Collider generation allocation (1226841)

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

  • Asset Import: Improve uv-unwrapper performance

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

  • Editor: Handles.DrawLine, DrawWireDisc and DrawWireArc functions got an optional "thickness" parameter for drawing thick handles.

  • Editor: Improved JobsDebugger performance

  • 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.

  • Graphics: Texture creation performance improved for CubeMaps on Metal. Hitches reduced.

  • Graphics: Texture creation performance improved for CubeMaps on Vulkan. Hitches reduced.

  • Particles: Added a new Depth sorting mode, to sort particles based on their distance to the camera plane. (1207573)

  • Scripting: Ensure crash handler is invoked when an abort or assert is encountered in Mono runtime.

Features

  • Package Manager: Updated the Package Manager window visuals with the primary goal to highlight the usage of preview packages.

Preview of Final 2020.2.0a9 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 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 broken documentation links in inspectors for com.unity.2d.animation package

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

  • 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 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: 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: _NormalMap Secondary Texture is streched to AtlasSize when Atlas Texture size is larger than Normal Map texture size (1167829)

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

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

  • 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 an issue where master sprite atlases did not use the specified ETC2 fallback format (1175291)

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

  • 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: Animation window now shows clips from both the animation and animator components if both components exist on the GameObject. (1198771)

  • 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 bug where selected GameObjects are deleted when entering Play Mode and "Failed to unpersist" error is thrown (1222757)

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

  • 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)

  • Apple TV: !IsDirectoryCreated error is now not thrown when a project is built successfully for tvOS (1225128)

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

  • Asset Import: Adding multiple MonoBehaviour scripts on the same GameObject using OnPostprocessModel during a ModelImporter import does not log uniqueness warning on new assets. It still does log the message on already imported assets because all references to it would be lost otherwise. (1176912)

  • 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 AssetImportWorker taking autoconnect player connections.

  • 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: ArtifactID is now unique for an import result (1193231)

  • Asset Pipeline: Asset Import results can now have dependencies to script types. If an asset has a dependency to a script type, the asset will now get re-imported if script type serialization format changes. (1215729)

  • 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: Fixed issue where postprocessors with version 0 wouldn't be used

  • Asset Pipeline: Fixed issue with asserts triggered, when importer is creating asset on existing asset. Bad legacy importer behaviour, but it is currently supported. (1225324)

  • 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: Optimized Project Browser in Two Column mode when a change happens to the AssetDatabase (added/removed/updated assets). (1228345)

  • Asset Pipeline: Source Asset reloading improved, so that loaded objects get reloaded, if the associated script is modified (1141360)

  • 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: Don't play previews when audio is disabled (1232267)

  • 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)

  • Bug Reporter: Fix a folder compression failure when path length is bigger than 260 symbols (1175262)

  • Build Pipeline: Fix rare race condition causes error message when calling AssetBundle.LoadAsset and then immediately unloading the bundle. (1181323)

  • Build Pipeline: Fixed the incorrect file header size outputted in the Editor.log after a build (1209767)

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

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

  • 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: Added IMGUI dependency on UGUI. (1211425)

  • 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: Byte order marks located anywhere in C# scripts no longer make importing fail. (1230036)

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

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

  • Editor: Disabled the Texture2D editor in inspector debug mode. (1197056)

  • 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 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 Transform manipulator to use Undo.RecordObject so it works with livelink.

  • Editor: Fixed "Reload Assembly called from managed code directly" error printed in some cases of interacting with progress bar done during long asset modification operations (e.g. deleting a lot of assets). (1226561)

  • 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 an issue where a console error is thrown when holding the control/command key and dragging objects in the hierarchy window. (1222971)

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

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

  • 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 when "Add Component" button jumps in the inspector when resizing if has custom expandable UI Group elements. (1230277)

  • Editor: Fixed Android player build progress bar not reaching 100% and being erratic. (1228938)

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

  • Editor: Fixed crash on opening compiled compute shader code. (1231120)

  • Editor: Fixed Cut action being canceled after switching between scene and prefab modes (1219275)

  • 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 Highlighter APIs. (1223530)

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

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

  • Editor: Fixed prefab selection in the Scene View not respecting user set picking flags. (1234665)

  • Editor: Fixed progress always displaying the remaining time after doing it once. (1232897)

  • Editor: Fixed progress bar not reverting to unresponsive status after another task completes. (1232899)

  • Editor: Fixed renaming asset while scripts are re-compiling. (1233782)

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

  • Editor: Fixed some cases of EditorUtility.ClearProgressBar done at wrong times resulting in "Trying to access current progress scope" errors. (1238068)

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

  • 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 unselected Scene Views not respecting the mouse scroll wheel zoom shortcut. (1216819)

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

  • 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: Inspector property copy/paste no longer allows pasting unrelated enum values. (1222717)

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

  • 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: P/Invoke library name resolution is now more robust (1226012)

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

  • Editor: Removed HideFlags.DontSaveInEditor or HideFlags.DontSaveInBuild restriction on Scene Vis (1217361)

  • Editor: Scripts will now be recompiled with updated scripting defines, after a restart when the input mode has been changed. (1214248)

  • Editor: Stop sending gyro settings to Unity Remote if nothing's changed. (1206221)

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

  • 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: [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: Added exposure slider to texture importer for HDR textures. (1226322)

  • GI: Faster light probe and additional probes baking.

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

  • 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 GI baking in batchmode when using Scriptable Render Pipelines. (1211448)

  • 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 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 prefab issues with Mesh Renderer (1179530)

  • GI: Fixed the lightmapper sometimes getting stuck, especially on undo after moving instances or changing resolutions. (1144403)

  • 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: Static Batching Corrupts Baked Lightmap scene visualization on Play. (1059722)

  • GI: Updated cookie support UI and API (1229691)

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

  • 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 warning message when intermediate renderers reset non-finite bounds to zero. (1225021)

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

  • 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: Do not perform rendering during OnValidate/CheckConsistency. This will invariably fail. (1218663)

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

  • 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 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 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 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 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 issue where a Canvas in Screen space camera mode has a 0 height when a non standard custom projection matrix is set. (1203097)

  • Graphics: Fixed loading RenderDoc when VirtualTexturing is enabled (1235256)

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

  • Graphics: Fixed regression preventing switching graphics API if we don't restart (1219587)

  • Graphics: Fixed shader codegen for countbits (1227474)

  • Graphics: Fixed uninitialized variable in MeshRenderer (1226229)

  • Graphics: Fixes an issue where graphics settings were written to boot.config incorrectly. (1236936)

  • 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: If the render pipeline was set to null in Graphics settings and there was a render pipeline present in Quality settings then the current render pipeline would be set to the render pipeline in quality settings where the expected behavior was that the current render pipeline should be null. (1190166)

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

  • Graphics: ImageConversion.EncodeArrayToXXX now converts input data if needed by the encoding algorithm. (1219010)

  • Graphics: Metal: Added checks for YUV2 format when creating Cubemap or Texture3D. (1219296)

  • Graphics: Mipmaps requested to stream from script now works when there are only instantiated entity objects (1232516)

  • 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: Throw an exception when creating mesh with more streams than supported for mesh (1226104)

  • Graphics: tipfix uninitialized variables in TextureUploadMemoryDX11 (1231159)

  • 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: Virtual texturing is only initialized when actually enabled (1217228)

  • 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

  • IL2CPP: Correct the implementation of ConcurrentBag so that it works with ETW managed code stripping. (1230447)

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

  • IL2CPP: GetIPProperties().GatewayAddresses now properly runs on MacOS. (1226597)

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

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

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

  • iOS: Stop .pdb files being added to non development XCode builds. (1232798)

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

  • 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.

  • Licenses: 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)

  • Licenses: Improve Editor logs for CLI license activation when license machine binding fails (1040333)

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

  • Linux: Fixed issue where single-instance was not being honored when set in the player settings. (1211694)

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

  • macOS: Fixed Bundle Identifier from Player Settings not matching the generated Xcode project bundle identifier on macOS Standalone (1221132)

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

  • macOS: Fixed unreadable text in macOS installer in dark mode (1210046)

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

  • macOS: Improves the module installation button in Build Settings (1219284)

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

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

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

  • Package Manager: fix scroll for package dev description

  • 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 the issue where ArgumentException will be thrown when opening Asset Store page in Package Manager window when Charles Proxy is running.

  • 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 counter to search result (1222784)

  • 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: set actif remove button when element present

  • Particles: Fix memory overwrite/corruption when using shadow casting particle lights (1051422)

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

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

  • 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.

  • 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

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

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

  • Prefabs: Fix crash on InstantiatePrefabDrag when dragging a Prefab to a Scene (that deletes its PrefabInstance handle in OnEnable) (1229166)

  • Prefabs: Fix Dragging a UI Prefab to the Scene view incorrectly shows it in the Hierarchy and an ArgumentOutOfRangeException is thrown. (1223793)

  • 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 that Editor logs errors when adding/removing a Component while Prefab is selected in a locked Inspector. (1231637)

  • 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 50% of all object references appear as null within a scripts OnBeforeSerialize callback, during domain reloads. (1152124)

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

  • 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: 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: Fixed 'Current Frame' button looking interactable when it's not. (1225682)

  • Profiler: Fixed alignment of sorting arrow being different on Overview vs Show Calls. (1226605)

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

  • Profiler: Fixed GPU Profiler Module Warning icon tool-tip not appearing. (1225376)

  • Profiler: Fixed inability to select reoccurring samples in Raw Hierarchy. (1093368)

  • Profiler: Fixed issue where total memory usage did not correspond to Activity monitor and total reserved memory would should as being less than total used. (1169950)

  • Profiler: Fixed networking charts drawing out of bounds. (1058920)

  • Profiler: Fixed View Type Dropdown of the CPU Module disappearing when switching to Hierarchy View without data to display. (1223740)

  • Scripting: Changed behavior on debugger-agent, if we can't parse new behavior we now return invalid_argument instead of asserting. (1197204)

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

  • Scripting: Fix warning being logged to console when adding a script with the same name as a component. (1224238)

  • Scripting: Fixed - Added support for dialects of Chinese language in Application.systemLanguage. (1206732)

  • Scripting: Fixed crash that occurred during domain reload that was caused by image set data being stored in the wrong image. (1224837)

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

  • Scripting: Fixed issue where deserializing an abstract class containing a hierarchy of classes would fail and throw an unhelpful exception. (1204074)

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

  • Scripting: Fixes Catalina OSX returning 0 for disk space on read only drives. (1221933)

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

  • Scripting: Potential fix for random crash. (1232819)

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

  • Scripting Upgrade: avoids checking VCS if only files outside /assets folder needs updating. (1217542)

  • Serialization: Fix complex values in map when writing json (1224760)

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

  • Services: Fixed the Collab enable/disable state desync in the Services Window when changing it from the Collab window (1234356)

  • Shaders: Fixed broken shader variant tracking in the editor. (1169786)

  • Shaders: Local keyword no longer removed when loaded from player asset bundle. (1232272)

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

  • 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)

  • 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: Fix Canvas size when Game window exists but is hidden since the Editor start (1225919)

  • 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 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 issue with the inspector preview reacting to scroll wheel events when mouse is outside preview area. (1198560)

  • 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: 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: Renamed "Update UIElements Schema" menu item to "Update UXML Schema"

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

  • Version Control: Fixed errors for Collab users using Apple FileMerge as their diff/merge tool. (1224872)

  • 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.

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

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

  • 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)

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

  • Windows: Fixed build icon's alpha value is not shown correctly (1209971)

  • Windows: Popup windows now stay open when opened by a button in a custom popup menu. (1219122)

  • XR: Fix bug where XR will stop functioning after any new packages are installed. (1223574)

  • XR: Fix order of single-pass instancing shader variables for gles3 (1187259)

  • 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 Sprite Mask not working in URP XR (1195098)

  • XR: Implement full render pass/render param support for XR SDK providers. (1222873)

  • XR: Linux Editor no longer attempts to load Resonance Audio library when running on machines that don't support SSE 4.1 instructions (1207680)

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

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

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

API Changes

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

  • 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: 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: 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 HandleUtility.pickGameObjectCustomPasses, allowing external code to augment the Scene View picking function.

  • 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 some internal properties public, required to fix case 1226204

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

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

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

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

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

  • 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 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: 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.

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

  • 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

  • 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.

Changes

  • 2D: Remove unused Reset Bounds button from SpriteSkinEditor

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

  • 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: Removed "macOS Color Picker" editor preference setting (that setting only ever partially worked anyway, e.g. it did not support HDR colors).

  • 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: 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.

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

  • 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: 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.

  • 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.

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

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

  • 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: 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).

Improvements

  • 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: Fixed an issue where Cinemachine Pixel Perfect Extension didn't work when CinemachineBrain Update Method is anything other than Late Update. (1209977)

  • 2D: Fixed SpriteShape Corner Threshold does not work (1226847)

  • 2D: Fixed SpriteShape Edge Collider does not extend to End-point even if Edges dont overlap (1226856)

  • 2D: Fixed when Collider generation allocation (1226841)

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

  • 2D: Improved Memory Allocations

  • 2D: Improved SpriteSkinEditor UI

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

  • Android: Support Vulkan backbuffer pre-rotation

  • Android: Update Android Logcat package version to 1.1.1

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

  • 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 Pipeline: Added examples to CopyAsset, SetLabels, GetMainAssetTypeAtPath,GetUnusedAssetBundleNames, RemoveUnusedAssetBundleNames

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

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

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

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

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

  • 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.

  • 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: 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 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 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: 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: Handles.DrawLine, DrawWireDisc and DrawWireArc functions got an optional "thickness" parameter for drawing thick handles.

  • Editor: Improved JobsDebugger performance

  • Editor: Improved progress bar details for texture importing (Crunch compression, cubemap convolution etc.).

  • Editor: Improved the property editor component header title. (1223752)

  • 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: Optimized by ~74x the style catalog asset post processing. (1222761)

  • 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: Scroll smoothness in Editor in macOS

  • Editor: Text field for Scripting Define Symbols in ProjectSettings replaced with foldout string array

  • Editor: Updating the UI for Background tasks and Main toolbar.

  • 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: Sped up GI main thread initialization on Editor startup. (1162775)

  • 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: Improve input validation of RenderPass API

  • Graphics: Improve validation of RenderTexture with bindTextureMS for unsupported formats

  • Graphics: Improved documentation for Texture.allowThreadedTextureCreation

  • Graphics: Improved DX12 async texture loading to fail more gracefully when out of GPU memory

  • Graphics: Improved the error messaging interface when incorrectly setting up texture stacks.

  • Graphics: Improves DX12 performance with hybrid renderer.

  • Graphics: Slightly reduced shader compilation times and application build sizes for GLSL/Metal platforms.

  • 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 URP Shadow Pass is now more performant when rendering cascaded shadow maps due to an increase of draw calls per command list.

  • iOS: Camera.targetDisplay now works with iOS Metal (1171951)

  • iOS: Changed builtin xib launch screens to storyboard

  • 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.

  • Package Manager: Added tooltips to action buttons for a package.

  • Package Manager: Improved project loading time through caching Unity Package Manager state on disk.

  • Particles: Added a new Depth sorting mode, to sort particles based on their distance to the camera plane. (1207573)

  • Physics: Implement visualisers for the articulation body joint limits, both linear and angular ones. Revolute, prismatic and spherical joints are supported.

  • Physics: Make the MeshCollider fast midphase work on all platforms. (1213433)

  • Profiler: Ability to see metadata associated with a profiler sample in Hierarchy View.

  • 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.

  • 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: Ensure crash handler is invoked when an abort or assert is encountered in Mono runtime.

  • Scripting: Improve performance of memory profiler

  • Scripting: Improved Performance of DefineConstraintsHelper

  • Scripting: UnityWebRequest.certificateHandler is now invoked for root certificates on Windows

  • 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

  • Version Control: Updated existing version control icons. Added theme support.

  • Windows: Improved Time.deltaTime consistency for D3D11 graphics API.

  • XR: Updated Oculus XR Plugin to 1.2.0

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

  • Editor: Added -version argument to command line arguments which prints out the unity version to console

  • 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: auto_quitter has been renamed to UnityAutoQuitterauto_quitter on all platforms. It is now a native program on MacOS and Linux.

  • Editor: optionally drag all the edges from a port to another at the same time.

  • Editor: Update ProBuilder to 4.2.3.

  • 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.

  • Package Manager: "Enable Preview Packages" moved in Package Manager Project Settings

  • 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: 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: 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.

  • Player: Pulling Unity Player logs after test runs as they are useful artifacts.

  • Shaders: It is now possible to override shader preprocessor on a per-shader basis

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

变更集: 31beeaab9d72