Unity 2021.2.0 Alpha 20

Released:
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 2021.2.0a20

  • 2D: 2D Animations crash when entering Play Mode (1338523)

  • AI: Crash with ComputeTileMeshJob when generating Navmesh (1329346)

  • Animation: Fixed performance regression when updating curves in Animation Window. (1320250)
    Fixed in 2021.2.0a21.

  • Asset Import Pipeline: Editor crashes while exiting play mode (1328667)

  • Asset Import Pipeline: Infinity loop on importing Assets, when building appx package via MRTK build window (1339823)

  • Asset Pipeline: Fix crash when project name ends in percent sign. (1338403)
    First seen in 2021.2.0a18.
    Fixed in 2021.2.0a21.

  • Audio: AudioMixer exposed parameters cause assertions when hidden and prevent the drop-down from functioning (1336173)

  • Build Pipeline: WebGL fails building on Windows 7 (1340260)

  • Cloth: Cloth component assigned to subdivided plane mesh crashes editor (1337649)

  • Global Illumination: Crash while sculpting Terrain and Baking Lightmaps (1266511)

  • Global Illumination: Reflection probes must be rebaked twice to update when using "Generate Lighting" button (1334283)

  • Global Illumination: [GI] Lightmap reference is lost when static object is moved (1339841)

  • Input: Mouse events are not always fired when VSync is off (1331894)

  • Linux: Editor crashes at "GfxFramebufferGLES::SetBackBufferColorDepthSurface" or freezes when creating a new shortcut profile (1334874)

  • MacOS: MacOS editor fails to load platform editor extensions (1322945)

  • MacOS: [M1] Crash when baking with CPU Lightmapper on Apple Silicon machine (1341489)

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

  • Metal: Performance in Game View is significantly impacted by Gfx.WaitForPresentOnGfxThread when a second monitor is connected (1327408)

  • Metal: [iOS 14][Metal] Application stucks on splash screen and 'XPC_ERROR_CONNECTION_INTERRUPTED' error is thrown (1282747)

  • Mobile: [Android] Build fails when there are 680 or more files in the Streaming Assets folder (1272592)

  • Mobile: [Android] Could not build an IL2CPP project when using 'GoogleMobileAds.dll' (1338777)

  • Mobile Graphics: [iOS] Player crashing when connecting external Display via USB-C port (1321153)

  • Mono: [Mono Upgrade] Crash when entering the PlayMode (1341145)

  • Mono: [Mono Upgrade] [Asset Store Tools] Login fails with SecureChannelFailure error (1338432)

  • Package Manager: Package Manager/My Assets: 401 Response code trying to download a paid asset store package (1335976)

  • Package Manager: User can't easily configure location of both UPM and Asset Store package local cache (1317232)

  • Profiling: Poor profiler performance when navigating the timeline view and reviewing data with many threads (1339407)

  • Profiling: [Profiler] Errors are thrown on opening the Profile Module Editor window (1341039)

  • Scene Management: Crash on BuildPrefabInstanceCorrespondingObjectMap when overriding nested prefab inside AssetDatabase.StartAssetEditing() block (1324978)

  • Scene Management: Recent Scenes break after upgrading project (1338322)

  • Scene Management: UnassignedReferenceExeptions with unitypackage when upgrading to 2021.1.2f1 (1341523)

  • Scene/Game View: Editor performance in the Scene View regressed drastically when multi selecting GameObjects (1329140)

  • Scripting: DomainReloadTests performance tests have regressed due to removal of built-in support for Visual Studio as a code editor (1336648)

  • Scripting: Increased Script Assembly reload time (1323490)

  • Serialization: Crash in SerializedProperty::IsValid when reordering a SerializedProperty list (1320319)

  • Shader System: Performance regression with the new keyword system (1333713)

  • Shaders: Keywords declared in shader_feature_local or multi_compile_local are no longer affected by global keyword state. (1334776)
    First seen in 2021.2.0a16.
    Fixed in 2021.2.0a21.

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

  • uGUI: RectMask2D Softness property has no effect when used on TextMeshPro Text (1331297)

  • uGUI: Silent crash on entering and exiting Play mode in a scene containing Text elements with Shadow components (1339939)

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

  • Unity Test Runner: [Android] From 2021.2.0a13 onward, the editor is unable to run UTF tests on Android (1341086)

  • Unity Test Runner: [XR][XR-Automation] 2021.2 Editor is unable to run UTF tests on Oculus Quest (1340845)

  • WebGL: [iOS] Video is not playing (1288692)

  • WebGL: Local server for WebGL Build&Run broken (1339143)

New 2021.2.0a20 Entries since 2021.2.0a19

Features

  • 2D: New template to allow users to start a new project with 2D Renderer setup.

  • Package: (Recorder) Added support for arm64 macOS.

  • Physics: Added a new CustomCollider2D that allows custom 2D physics shapes to be used providing a complete customizable and fully featured 2D Collider.

  • Physics: Added Physics Profiler counters to the list of available counters in the Profiler Module editor window.

  • Physics: Added the ability to read low-level 2D physics shapes (PhysicsShape2D) from any 2D Collider into a new shape container (PhysicsShapeGroup2D).

  • UI Toolkit: Added transitions properties to UI Toolkit.

Improvements

  • 2D: Prerelease SpriteShape and PSDImporter package for 2021.2.

  • Asset Pipeline: Added a new UI in the AssetImporter inspectors that display all AssetPostprocessors methods that were used in the last import of the selected asset.

  • Audio: AudioMixer did not perform equal power panning for group attenuations when transitioning between snapshots. A new transition type "Attenuation" has been added. (1322673)

  • Core: Reduced number of memory alllocations and improved tracking of core allocations.

  • GI: Radeon Denoiser upgrade to version 1.7.0. Improves AI denoiser when running in HDR mode.

  • Input: Added "Use Physical Keys" setting in Input Manager for Input.KeyCode mapping to physical keys. For example, with the setting on KeyCode.Q is always the key to the right of Tab regardless of your keyboard language layout.

  • Package Manager: Used translation on string literals at definition time and properly with string.Format.

  • Physics: Added new Physics Profiler metrics.

  • Physics: Added units of measurement to the Articulation Body properties in the scripting documentation.

  • Scripting: Updated com.unity.ide.visualstudio to '2.0.9'.

  • Tests: Improved logging in iOS automation: clarify existing log messages and add new ones.

API Changes

  • Graphics: Added: SystemInfo. supportsMultisampleResolveDepth to query platforms Multisample resolve of depth attachments support.

Changes

  • Asset Pipeline: AssetPostprocessors calls are now ordered by their GetPostprocessOrder and then by their FullName (namespace.classname).
    It was not ordered by FullName before so some call orders between AssetPostprocessors with the same GetPostprocessOrder value may have changed.

  • Editor: Moved some main toolbar elements to the left align container.

  • Package: com.unity.purchasing updated to 3.2.1. Please refer to the package changelog online here: https://docs.unity3d.com/Packages/com.unity.purchasing@3.2/changelog/CHANGELOG.html.

  • Tests: Used Shell.ExecuteProgramAndGetStdout for process handling in iOS automation code.

Fixes

  • 2D: Fixed at certain cases, vertex data allocation may not be enough and overflows. (1319096)

  • 2D: Fixed edge collider 2D and polygon collider 2D creates different collision shapes during playmode. (1321978)
    First seen in 2021.2.0a9.

  • 2D: Fixed issue where TileBase.StartUp is not called when a Tile with a GameObject to instantiate is replaced with a different Tile with the same GameObject to instantiate. (1338333)
    First seen in 2021.2.0a17.

  • 2D: Fixed issue with sprite mask debug color when sprite renderers are batched. (1328538)

  • 2D: Fixed on deselecting game object from the Inspector window leads to deselecting Sprite Shape Renderer. (1317728)

  • 2D: Fixed SpriteShape Cache Geometry does not update when changing SpriteShape Profile. (1326983)

  • 2D: Fixed SpriteShape Prefabs does not work properly when GeometryCache is enabled. (1313579)
    First seen in 2021.2.0a4.

  • 2D: Fixed when SpriteShapeController has "Update Collider" set to true, it will dirty the scene every time its selected. (1315086)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Animation: Added option to set the single layer optimization for AnimationLayerMixerPlayable that is enable by default in previous version. (1159548)

  • Asset Pipeline: Fixed issue where "GetRequiredComponents result must be in cache, if requested from non-main thread." assert got raised, when downloading asset from cache server. (1338565)

  • Audio: AudioClip reference was lost when loading a new Scene even if AudioSource was set to DontDestroyOnLoad. (1314527)

  • Audio: One of two looping sounds sometimes disappears when removing High Pass Filter Component. (1323353)

  • Build Pipeline: Added build target Dedicated Server.

  • Editor: Fixed an issue to display Color32 Picker Context Menu at right position on right click. (1334328)

  • Editor: Fixed slow Editor startup times when ShaderCache/EditorEncounteredVariants has grown too large. Also preventing it from growing too much. (1330453)

  • Editor: Fixed ValidateMaterial getting called twice for some shaders. (1339815)
    First seen in 2021.2.0a18.

  • Editor: Will no longer show the static batching with instancing shaders warning when static batching is disabled for the current build platform. (1332277)

  • Editor: Wrong ShaderGUI for crosspipeline shaders. (1339817)

  • GI: Fixed an issue where reflection probes must be rebaked twice to update when using the "Generate Lighting" button in the lighting tab. (1334283)

  • GI: Fixed stall when baking with Progressive Lightmappers after painting terrain hole with the brush overlapping the entire terrain. (1324725)
    First seen in 2021.2.0.

  • GI: RadeonPro denoising creates corruption in lightmap output. (1333938)
    First seen in 2021.2.0a15.

  • GI: Respect OpenCL max allocation size when baking additional probes. (1336677)
    First seen in 2021.2.0.

  • Graphics: Fixed AttachmentDescriptor.ConfigureResolveTarget() screen flip when resolving to backbuffer. (1327936)

  • Graphics: Fixed hue variation color selector for speedtree7 materials. (1326227)

  • Graphics: Fixed Metal multisample depth resolve not working. (1330714)

  • Graphics: Fixed random Editor crashes when running HDRP DXR tests. (1338912)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Graphics: Fixed the location of the "Shader Graph" asset create menu to be next to the "Shader" menu. (1337080)

  • Graphics: Forbid more texture formats when creating Texture3D on Metal, throwing exception in cs code instead of in validation layer in the driver. (1337023)
    First seen in 2021.2.0.

  • Graphics: Removed unnecessary api files for NVIDIA Module.

  • Graphics: Resolved an issue where setting a camera's target texture to null would sometimes increase camera stack size and reduce performance. (1299403)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Graphics: Terrain no longer crashes when SRP package is deleted from project. (1321411)

  • Graphics: Updated Postprocessing v2 package to 3.1.1.

  • Graphics: Updated SpeedTree importer editor to correctly regenerate materials with custom render pipelines. Only shows the "Receive Shadows" toggle if that functionality is supported by the current SupportedRenderingFeatures. (1338973)

  • iOS: Fixed an issue where display length is not updated when external display is disconnected. Users now can access only active displays (previously there was a possibility of caching known but inactive display indices). (1330759)

  • iOS: Provide Compass.headingAccuracy data. (1338663)

  • License: License check failure shows error dialog and opens Hub. (1337329)
    This has already been backported to older releases and will not be mentioned in final notes.

  • License: Optimized IPC transport. (1337299)

  • Package: (Recorder) (macOS) Fixed an image stride issue for ProRes formats 4444 and 4444XQ.

  • Package: (Recorder) Fixed audio recording issue when the frame interval is not starting at 0.

  • Package Manager: Added spaces in text in Asset Store window. (1334473)
    First seen in 2021.2.0a14.

  • Package Manager: Fixed bug where absolute path was used in the manifest instead of relative path for local packages. (1327815)

  • Particles: Fixed culling issue if a Particle System mesh changes. (1329097)

  • Particles: Fixed occasional corrupt particle colors when using a Skinned Mesh Renderer in the Shape Module. (1332410)

  • Physics: Fixed changes to anchors of Articulation bodies not being recorded for undo operation. (1325262)
    First seen in 2021.2.0a10.

  • Scene/Game View: Fixed display names and icons for Cloth overlay. (1335365)
    First seen in 2021.2.0a17.

  • Scripting: Added support for custom attribute types inheriting from RuntimeInitializeOnLoadMethodAttribute. (1334599)

  • Scripting: Fixed crash when closing the editor after a failed AssetBundle.LoadFromStreamAsync operation. (1331280)

  • Scripting: Fixed Time.unscaledDeltaTime from returning negative values when OnDemandRendering is used. (1329148)

  • Serialization: Ensured that imports use deterministic managed reference ids when outputting objects with SerializeReference attribute. (1338680)
    First seen in 2021.2.0a18.

  • Serialization: Fixed crash in SerializedObject when MonoBehaviour or ScriptableObject with SerializedReference recreated. (1338676)
    First seen in 2021.2.0a18.

  • Serialization: Fixed SerializedProperty to properly set a value across all selected objects when the value already present on the first object matches the specified value. (1228004)

  • Serialization: Improved performance of undo operations involving SerializeReference objects. (1337793)
    First seen in 2021.2.0a18.

  • Serialization: SerializedObject.SetManagedReferenceIdForObjectAPI prevent multiple ids assigned to a single object. (1338668)
    First seen in 2021.2.0a18.

  • Services: Analytics no longer auto-activates on new project link.

  • Shaders: Fixed a crash when multiple threads tried to synchronise the same local keyword space with the global keyword space at the same time. (1337189)
    First seen in 2021.2.0a16.

  • Shaders: Fixed a shader preprocessor crash instability regression. (1339794)
    First seen in 2021.2.0a18.

  • Shaders: Fixed ddx_fine and ddx_coarse on Vulkan and capable GLCore targets. (1323892)

  • Shaders: Improved logging when compiling shader variants. (1338590)
    This has already been backported to older releases and will not be mentioned in final notes.

  • UI Toolkit: Changed Image scale mode to the more intuitive default, being ScaleMode.ScaleToFit instead of ScaleMode.ScaleAndCrop. Changing scale mode will also trigger a repaint. (1215470)

  • UI Toolkit: Ensured to checkout control-versioned uss and uxml upon save. (1316724)

  • UI Toolkit: Fixed issue where user could not override the text color and font-size of the Unity Default Runtime Theme using the ":root" or "VisualElement" selectors. (1335507)

  • UI Toolkit: Fixed issue with inspector fields failing to get focused when clicked depending on neighboring fields. (1335344)

  • UI Toolkit: Fixed ScrollView horizontal scrolling via scroll wheel does not scroll. (1328220)
    First seen in 2021.2.0.

  • VFX Graph: Removed potential useless big allocation during first frame. (1337805)
    First seen in 2021.2.0a18.

  • Video: Video clip with unsupported audio track not usable. (1327470)

Changeset:
0bd21e314fca

Third Party Notices

For more information please see our Open Source Software Licenses FAQ on the Unity Support Portal

We use cookies to ensure that we give you the best experience on our website. Visit our cookie policy page for more information.

Got it