Unity 2021.2.0 Alpha 11

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.0a11

  • IL2CPP: Fixed bug that could cause MSVC based compilers to fail on compiling precompiled headers when Unity is installed to a path with spaces. (1319442)
    This is a change to a 2021.2.0a8 change, not seen in any released version, and will not be mentioned in final notes.
    Fixed in 2021.2.0a12.

  • macOS: Fixed failing to resign binaries after Unity has signed them with error: "file not in an order that can be processed (code signature data out of place):". (1324168)
    Fixed in 2021.2.0a12.

  • macOS: HDRP template renders mostly a black scene on MacOS (1322946)
    This has already been backported to older releases and will not be mentioned in final notes.
    Fixed in 2021.2.0a12.

  • Package Manager: Fixed an issue where the UnityEditor.PackageManager.Client.SearchAll method would result in a connection error despite using offlineMode = true. (1319585)
    This is a change to a 2021.2.0a4 change, not seen in any released version, and will not be mentioned in final notes.
    Fixed in 2021.2.0a12.

  • Shaders: Fixed a rare crash when upgrading shaders. (1299790)
    This has already been backported to older releases and will not be mentioned in final notes.
    Fixed in 2021.2.0a12.

  • Video: [Windows 7] "WindowsVideoMedia error 0xc00d36b4" error is thrown when loading a video with the VideoPlayer (1306350)
    Fixed in 2021.2.0a13.

  • XR: Fixed deadlock when using XR + URP + D3D11 with skipPresentToMainScreen (1323833)
    Fixed in 2021.2.0a13.

  • 2D: [Skinning Editor] Vertex can't be created after modifying Vertexes weight and when Sprite is from the .psb file (1322204)

  • Scene Management: Editor crashes while undoing creation of prefab variant when base asset is deleted (1324358)

  • Linux: Linux Editor crashes at "_XFreeX11XCBStructure" when loading tutorials (1323204)

  • Global Illumination: Reflection probes doesn't contain indirect scene lighting after the on-demand GI bake from the Lighting window (1324246)

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

  • Terrain: Crash on TreeRenderer::WillRenderTrees when being in Play Mode for several seconds (1317966)

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

  • Scripting: Increased Script Assembly reload time (1323490)

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

  • Asset Bundles: Synchronous Asset Loading Does Not Correctly Load Preload Dependencies (1321141)

  • Global Illumination: Wintermute::Geometry::Verify errors are spammed when baking a Mesh with Mesh Compression set to Medium/High (1319133)

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

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

  • IMGUI: Contents of a ModalUtility window are invisible when it is launched from a Unity Context Menu (1313636)

  • Cloth: Cloth is broken when parent GameObject scale is lower than 1 and Surface Penetration constraints are set 0 (1319488)

  • IL2CPP: [macOS][IL2CPP] Build fails when there are spaces in the project path (1322085)

  • Global Illumination: Performance regression when baking light probes with a light cookie in the scene (1323393)

  • WebGL: [macOS] Build fails when WebGL Platform is selected (1322929)

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

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

  • Addressable Assets: Performance bug reported by the DOTS team in PreloadManager::WaitForAllOperationToComplete (1322086)

  • Packman: Package Manager incorrectly shows that there are no packages in a new project (1319205)

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

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

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

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

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

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

New 2021.2.0a11 Entries since 2021.2.0a10

Improvements

  • Asset Import: Improved import speed for FBX files that use the ASCII file format.

  • Asset Import: Improved model import speed by multithreading mesh triangulation.

  • Asset Pipeline: Improved directory enumeration by multi-threading it.

  • Build Pipeline: "Scripts Only Build" is now automatic for platforms using the new incremental build pipeline. The checkbox is removed for such platforms, and Unity will automatically detect if it can do a Scripts Only Build based on which changes there are in the project.

  • Build Pipeline: Will not ask to save untitled scene if it is not included in the build.

  • Editor: Avoid stall entering playmode if a scene contains sequential GameObject file ID hints. (1308128)

  • Editor: Build Settings window now has texture import overrides, with ability to globally reduce imported texture size and compression settings. This is mostly useful to speed up asset imports & platform switches during development, at expense of texture quality.

  • Prefabs: Disabled editing for missing Prefabs instances.

  • Profiler: Reworked native connection reporting for the memory profiler in order to properly report connections between assets.

  • Scripting: Certificate validation callbacks from .Net libraries pass now also previously identified root certificates along (i.e. the full validated chain if any).

  • Scripting: Updated C# language version to 9.0 for compilation and IDE's
    We will support a subset of the language features from:
    https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-9
    These is the features that we support:

    • Pattern matching enhancements

    • Function pointers

    • Target-typed new expressions

    • Static anonymous functions

    • Target-typed conditional expressions

    • Extension GetEnumerator support for foreach loops

    • Lambda discard parameters

    • Attributes on local functions

    • New features for partial methods.

  • XR: Removed "Preview" text from UI display element.

API Changes

  • Editor: Added: Making hyperLinkClicked public. It is now possible to subscribe to the event EditorGUI.hyperLinkClicked to handle click on a TextField with <a></a> tag.

Changes

  • Android: Raised the minimum Android version that Unity supports to 5.1 (API 22).

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

Fixes

  • AI: Fixed issue where the NavMesh was generated over a mesh marked as "Not Walkable". (1109195)

  • Android: Fixed an issue that causes a "failed to load libMain.so" error when deploying an APK from an app bundle. (1314472)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Android: Fixed freeze when using blend shapes with compute skinning on some devices with Mali G78 GPU. (1298373)

  • Animation: Fixed Animator.GetNextAnimatorClipInfo() methods not returning the expected result at the end of a transition. (1317097)

  • Animation: Fixed for disappearing Animator State Machine information. (1307535)

  • Animation: Fixed GetLayerWeight function in Animator to always return 1 if getting the base layer weight. (1315029)

  • Asset Bundles: Fixed issue where editor crashes after loading cache is resized. (1322621)
    This is a change to a 2021.2.0a2 change, not seen in any released version, and will not be mentioned in final notes.

  • Asset Import: Fixed TextScriptImporter inspector so it is possible to select ScriptedImporters' override in the inspector. (1314157)
    This is a change to a 2021.2.0a5 change, not seen in any released version, and will not be mentioned in final notes.

  • Asset Pipeline: Fixed for crash that could occur when downloading assets from cache server. (1319521)

  • Build Pipeline: Make build fail faster when strict mode build option is used. (1191481)

  • DX12: Fixed black screen that would show when using a non-native resolution in fullscreen. (1318666)

  • DX12: Fixed change in color brightness when going from windowed to fullscreen when using linear color space. (1297218)

  • Editor: Fixed "Cannot get non-existing progress id" error appearing in the Console when entering Play mode. (1312446)

  • Editor: Fixed an issue where warnings are thrown in the console when the layout is set to default while in play mode. (1317240)

  • Editor: Fixed assets not getting moved when there's a folder of the same name in the selection. (1318098)

  • Editor: Fixed cursor lock and hide when entering playmode. (1302708)

  • Editor: Fixed hierarchy window top Scene header foldout not visible when scrolled. (1298679)

  • Editor: Fixed IsArrayReorderable method producing errors in Reflect package. (1321782)

  • Editor: Fixed multi-target ReorderableLists that have more than the maximum allowed multi-edit number of elements appearing as empty. (1317103)
    This is a change to a 2021.2.0a5 change, not seen in any released version, and will not be mentioned in final notes.

  • Editor: Fixed PopupWindow.Show() placing popups at window relative positions rather than screen positions. (1310730)

  • Editor: Fixed ReorderableList allocating memory when getting multi-target array size. (1297993)

  • Editor: Fixed reordering lists with Gradient elements being visually outdated after reorder. (1315679)

  • Editor: Fixed slow enter playmode time for a specific scene file that contained sequential File ID Hint values. (1308128)

  • Editor: Open Prefab' button now uses less inspector space. (1270965)

  • Editor: Pausing playmode in the macOS Editor will no longer keep keys released in pause mode in the pressed position when playmode is unpaused. (1322149)

  • Editor: Using an unsupported keyCode in a shortcut attribute no longer throws any exceptions. (1303144)

  • GI: Reenabling a disabled light, reflection probe, or light probe group now makes it immediately visible in the Light Explorer. (1320277)

  • Graphics: Added check for Vulkan support in Unity player. (1308206)

  • Graphics: Added per-camera freeUnusedRenderResources control to allow preservation of cameradata for infrequently-updated cameras. This prevents performance spikes that occur due to recreation of cameras that are guaranteed to be updated eventually, but at a frequency lower than once every 100 frames. (1296777)

  • Graphics: Fixed a case that render thread calls main thread only API in editor. (1317190)

  • Graphics: Fixed allocations errors with EncodeNativeArrayToEXR/PNG/JPG. (1315246)

  • Graphics: Fixed an uninitialized value problem found by Vulkan. (1309741)

  • Graphics: Fixed and issue where scene view filtering would now work properly for SRP's. (1180254)

  • Graphics: Fixed crash when DX12 Hardware Dynamic Resolution Scaling is enabled on XR. (1323531)

  • Graphics: Fixed DrawProcedural reporting incorrect triangle counts to FrameStats.

  • Graphics: Fixed GPU instancing for big batches. (1312087)
    This is a change to a 2021.2.0a1 change, not seen in any released version, and will not be mentioned in final notes.

  • Graphics: Fixed performance issue when loading textures direct to GPU memory from LZ4 compressed packages. (1307820)

  • Graphics: Fixed the multicamera tests on Linux. (1318477)

  • Graphics: GraphicsFormat.R8G8B8A8_SNorm is blendable render-target format on Metal. (1318364)

  • Graphics: Scissor test was automatically disabled when changing render-targets. It is not the case anymore and is consistent with other platforms.

  • Graphics: Using CopyTexture on textures with different MSAA sample counts throws an error. (1308132)

  • iOS: Fixed FixedUpdate being called on startup more times than should be to account for Time.deltaTime on first Update. (1318647)

  • iOS: Leaderboards now return the non deprecated player ID on appropriate OS versions. (1312882)

  • License: Fixed memory leak in Licensing Module.

  • Linux: Removed broken gamepad auto mapping from SDL 2.0.14. (1322165)

  • Package: Recorder: Fixed an error in the that occurred when setting the build target to macOS standalone from the Editor in Windows. (1304944)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Package Manager: Experimental Packages in Use button will now properly resize to an icon when there is not enough width to display the full message in toolbar. (1322627)
    This is a change to a 2021.2.0 change, not seen in any released version, and will not be mentioned in final notes.

  • Package Manager: Fixed an issue where if the user has many asset store packages loaded in My Assets view, selecting the last package and scrolls up list show items with empty package name.

  • Particles: Fixed incorrect error check in SetParticles that would cause an exception to be thrown when the offset value was equal or greater than the particles array length. (1313413)

  • Physics: Ensure that a Kinematic Rigidbody2D continues to accept MovePosition and/or MoveRotation commands when nested as a child of another Rigidbody2D. (1320783)

  • Physics: Fixed an issue when editing a PolygonCollider2D or EdgeCollider2D where you could delete edges/vertex without limit resulting in an editor tooling exception being thrown. (1318971)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Physics: Fixed an issue where a negative X or Y local scale on a 2D Collider used by a CompositeCollider2D caused its winding to change resulting in its geometry not handled as a geometric merging operation (union) but instead a subtraction operation. (1266460)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Physics: Fixed an issue where ContactPoint2D.tangentImpulse and ContactPoint2D.normalImpulse could occasionally return an undefined or NaN value. (1287916)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Physics: Fixed an issue where particles using the Collision Module could occasionally leak through the vertex connections in an EdgeCollider2D. (1249794)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Physics: Fixed an issue where the CapsuleCollider2D editor tooling incorrectly displayed gizmos when editing a GameObject with multiple CapsuleCollider2D of different orientations. (1310746)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Physics: Fixed an issue with setting Surface Penetration to 0 on objects that were authored on one scale but used with another. This would manifest itself as incorrect particle separation behavior. (1319488)

  • Physics: Fixed Collision.relativeVelocity being calculated incorrectly when an ArticulationBody was part of the contact pair. (1310485)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Prefabs: Fixed that Overrides window does not refresh state after changing GameObject name in the comparison popup. (1300152)

  • Prefabs: Fixed undo not working when Renaming a Missing Prefab in the Hierarchy. (1165052)

  • Prefabs: InstantiatePrebab in the editor now calls OnTransformChildrenChanged. (1319453)

  • Prefabs: Updated documentation for OnPostprocessPrefab to reflect better the behavior. (1304102)

  • Profiler: Maximizing the Profiler window whilst profiling the Editor will no longer cause a null argument exception. (1315755)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Scene Manager: Added debouncing to the search field in the Hierarchy and Scene view for better search input experience in large scenes. Is also now consistent with Project Browser searching behavior. (1315731)

  • Scene Manager: Fixed focus issue when using a secondary hidden Hierarchy. When creating a new GameObject a visible Hierarchy tab is focused, prioritizing the last interacted Hierarchy if visible. Focusing a hidden Hierarchy tab is therefore now prevented in this situation. (1190664)

  • Scene Manager: Paste as Child' now supports pasting gameObjects to SubScenes. (1316660)

  • Scene/Game View: Fixed possible exception when removing a collider component while the collider editor tool is active. (1259502)

  • Scene/Game View: Global tool buttons are disabled when not useable. (1310614)

  • Scripting: APIUpdaterManager can now handle more than 64 assemblies. (1308408)

  • Scripting: Avoid flooding the console when parsing a define expression fails and the Asmdef inspector is active.
    Also improve interaction with define expression parsing errors in the console. (1314026)

  • Scripting: Disabled native test causing instabilities. (1322841)

  • Scripting: Enabled IPv6 sockets creation with the ICMP protocol. (1309061)

  • Scripting: Ensure virtual call is made when delegate target is another delegate targeting a virtual method. (1188422)

  • Scripting: Fixed crash on mono init. (1318722)
    This is a change to a 2021.2.0a5 change, not seen in any released version, and will not be mentioned in final notes.

  • Scripting: Fixed file path not being complete when multiple "(" characters are in the path when there is a compilation error. (1318667)

  • Scripting: Instanciation of Unity objects defined in types under more than one level of nesting should work. (1299861)

  • Scripting: NativeArray<T>.ReadOnly now implements IEnumerable<T>. (1319358)

  • Scripting: Setting Timeout property on a HttpClient object will now correctly propagate the timeout value to any HttpWebRequest objects created by it for async messaging. (1313205)

  • Shaders: Added compute shader compilation logging during project builds or on "Compile and show code" usage. Added raytracing shader (.raytracing file) compile-time logging on import. (1321684)

  • Shaders: Fixed incorrect line numbers reported for errors in shader files when using Caching preprocessor. (1318689)

  • Timeline: Fixed error message when playing an audio track from its last sample. (1319163)

  • UI: Fixed for ScreenPointToWorldPointInRectangle API not returning a valid value when the point is on the plane. which is the case when the canvas plane is on the cameras near plane. (1313831)

  • UI: Fixed issue where Canvas inspector would update incorrectly as the renderMode is based on the parentCanvas which is null when a Canvas is disabled. This lead to the inspector rendering the wrong options. (1311169)

  • UI Toolkit: Added support for RenderTexture for background-image in the UI Builder inspector. (1320359)

  • UI Toolkit: Fixed multi-select uss references deletion in UI Builder (UI Builder). (1316926)
    This is a change to a 2021.2.0a7 change, not seen in any released version, and will not be mentioned in final notes.

  • UI Toolkit: Prevented clicks from passing through runtime panels if they weren't used. (1314140)

  • UI Toolkit: Scroll bars now use display instead of visibility to avoid scroll bars being visible when parent visibility is set to false. (1297886)

  • Undo System: Clear hidden overrides on undo/redo. (1316835)
    This is a change to a 2021.2.0a7 change, not seen in any released version, and will not be mentioned in final notes.

  • Undo System: Ensure interested systems are updated after undoing RectTransform changes. (1116058)

  • WebGL: Added support for detecting Chrome and Firefox browsers on iOS devices. Fixes an issue that Chrome and Firefox browsers would fail to load on iOS 14.4. (1316861)
    This has already been backported to older releases and will not be mentioned in final notes.

  • WebGL: Changed behavior of Application.OpenURL() for the WebGL platform to open an URL in a new browser tab instead of opening the URL in the current browser tab and thus navigating away. (1320393)
    This has already been backported to older releases and will not be mentioned in final notes.

  • WebGL: Fixed a bug where the Garbage Collector could corrupt memory on WebGL. (1303232)

  • Windows: Setting a custom cursor now respects Windows DPI and Ease of Access settings related to the cursor size. (1305480)
    This has already been backported to older releases and will not be mentioned in final notes.

  • XR: Added warning indication when camera projection sets to Orthographic when XR is running and fix error spamming. (1305592)

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

Changeset:
7e28cd2d801e

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