Unity 2021.2.0 Alpha 13

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

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

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

  • Graphics: Texture displayed incorrectly when Texture Shape is set to Cube (1327341)

  • Animation: AnimationEvent is fired late or isn't fired at all when Animation's 'Motion Time' value is set manually (1324763)

  • WebGL: "SharedArrayBuffer will require cross-origin isolation as of M91" warning is thrown when launching Player on Chrome (1323832)

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

  • ShaderGraph: Can't create multiple Boolean or Enum keywords (1329021)

  • Package Manager: Package Manager does an Assembly walk and does not catch ReflectionTypeLoadException (1327060)

  • Animation: [Performance Regression] AnimationWindowState:get_allCurves takes approximately 5000ms to load animation in the Animation window (1320250)

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

  • Terrain: All the textures are cleared when creating Texture array (1323870)

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

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

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

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

  • IMGUI: Editor crashes after closing error dialog (1327443)

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

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

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

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

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

  • Scripting: Increased Script Assembly reload time (1323490)

  • Build Pipeline: IBP: Windows Mono builds don't build in Mac (1328709)

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

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

  • MacOS: Crash on _platform_memmove$VARIANT$Rosetta when opening an HDRP project on Apple M1 (1322965)

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

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

  • HDRP: The camera doesn't rotate in HDRP Template with the SimpleCameraController.cs script (1326816)

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

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

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

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

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

New 2021.2.0a13 Entries since 2021.2.0a12

Features

  • Scene/Game View: EditorToolContext now supports component tools.

  • Search: Added search table support to build advanced reports using complex search expressions.

  • WebGL: Compressed audio support for WebGL.

Improvements

  • Android: Added a new Android/Chrome OS player setting, "Chrome OS Input Emulation". If un-checked, this option disables Chrome OS's default behavior of converting mouse and touchpad events into touchscreen events. This allows an app to implement more complete support for these input devices. Also, fixed a bug with Android/Chrome OS touchpad scrolling.

  • Asset Import: Improved speed of FBX model importing by skipping unused data.

  • Build Pipeline: Windows Standalone player builds will now use a new incremental build pipeline, which allows faster subsequent player builds by only rebuilding parts which have changed.

  • Burst: Automatically add [UnmanagedFunctionPointer(CallingConvention.Cdecl)] to any delegates that are used for BurstCompiler.CompileFunctionPointer<>() or error if the delegate has the attribute and it is not Cdecl.

  • Documentation: Added a pop-up to Obsolete API labels in the Script Reference, explaining why something is obsolete, and pointing to the new API where possible.

  • Editor: Added missing USB device detection and reporting for Linux Editors.

  • Editor: Assets in ProjectWindow can now be cut, copied and pasted. (1264821)

  • Editor: Inspector property context menu 'Revert to Prefab' works with multiple selected objects now.

  • Package: [UDP] UI improvements.

  • Profiler: Tethered Android devices no longer requires manually calling ADB commands in the CLI, in order to be picked up as connection targets by the Editor. Multiple tethered android devices are now supported.

  • UI Toolkit: Improved USS validation to support more complex properties.

  • XR: Updated Windows MR Package to 5.2.2.

API Changes

  • 2D: Added: Allow user to register for notification when the SpriteRenderer's Sprite property has changed.

  • Graphics: Changed: Renamed Texture2D.Resize to Reinitialize. (1312670)

  • UI: Added: Added GetPersistentListenerState to UnityEvent.

  • UI Toolkit: Added: Tool for converting assets created with the package to use them without the package installation, and to convert them back to package versions.

Changes

  • 2D: 2D Animation Package 6.0.0 as verified package.

  • 2D: 2D Pixel Perfect 5.0.0 as verified package.

  • 2D: 2D PSDImporter 5.0.0 as verified package.

  • 2D: 2D Sprite Shape 6.0.0 as verified package.

  • 2D: 2D Tilemap Extras 2.0.0 as verified package.

  • Package: com.unity.purchasing updated with missing documentation.

Fixes

  • 2D: Fixed SpriteRect and Name File Id does not match in meta file. (1319819)

  • Android: Added a new AndroidDevice.hardwareType property, which is set to AndroidHardwareType.ChromeOS if running on a Chrome OS device. This is helpful if an app needs to run Chrome OS-specific code.

  • Animation: Fixed animation transition preview playback marker to update correctly when window is floating and animation is paused. (1285405)

  • Animation: Fixed edge highlighting logic with livelink in mecanim with edge cases involving Any State and Entry nodes. (1171704)

  • Asset Pipeline: Unity version is no longer written to serialized artifact files generated during asset importing. This was causing inconsistency import result across Unity versions. (1304327, 1310981)

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

  • Audio: Fixed microphone API not working when automatic output device suspension was active. (1318560)

  • Build Pipeline: Fixed inconsistent platform names in the project settings that made Managed Stripping Level not correctly applied for some platforms. (1317092)
    This is a change to a 2021.2.0 change, not seen in any released version, and will not be mentioned in final notes.

  • Burst: Dots runtime function pointer transform has been simplified, making it less brittle and fixing some bad IL generation.

  • Burst: Fixed crashes on 32 bit windows when calling function pointers from managed code and using IL2CPP.

  • Burst: Fixed multi-CPU dispatcher (used for player builds targetting multiple CPU architectures) generating invalid instructions.

  • Editor: Added tooltips in the Scene template Inspector. (1324637)

  • Editor: Fixed an issue to avoid MinMaxSlider disappears for UI Slider. (1323384)

  • Editor: Fixed an issue to stop sharing Player Settings properties between Player Settings window and Serialized Preset. (1263069)

  • Editor: Fixed an issue where the Assembly definition asset does not save after an apply action on import setting pop up. (1309567)

  • Editor: Fixed files in Packages folder getting moved to Assets when dragging in the Project Browser. (1319052)

  • Editor: Fixed instancing being ignored in the Shadow Pass when using the Mobile Diffuse shader. (1318675)

  • Editor: Fixed Scene's Hierarchy visibility and pickability settings being reset after building. (1271518)

  • Editor: Fixed the path to the scene template icon when querying icon from template path. (1325888)

  • Editor: Performance improvement when changing multiple elements of large arrays. (1272309)

  • GI: Removed erroneous asserts in scene object identifier remapping code.

  • Graphics: Fixed a regression where calling the the Texture2D.Resize method with a Texture format parameter caused the underlying GraphicsFormat to flip color spaces on each call. (1312670)

  • Graphics: Fixed HDRP Runtime test failure in Vulkan caused by incorrect shader code generation. (1323529)

  • IL2CPP: Fixed crash due to race condition allocating memory in MetadataCache::GetGenericInst. (1323462)

  • IL2CPP: Fixed CultureInfo.DateTimeFormat being loaded incorrectly in some locales. (1252269)
    This has already been backported to older releases and will not be mentioned in final notes.

  • IL2CPP: Worked around a crash caused by a MSVC optimizer incorrectly reusing stack space when a stack pointer is returned via a function pointer. (1317949)

  • iOS: Fixed Time.unscaledDeltaTime getting wrong after the screen was locked. (1319890)

  • iOS: Fixed video freezing or app crashing when resuming the app from suspension or unlocking the device. (1297877)

  • Linux: Auto-install sysroot packages only when Linux IL2CPP is present. (1325982)

  • Linux: Made updates to min/max size blocking if it results in a resized window to help ensure a window is ready after it's size has been changed. (1319323)

  • Linux: Reduced log spam when loading lots of assets. (1320406)

  • Mono: Prevent unnecessary files from being copied into the Managed directory when managed code stripping is enabled. (1302474)

  • Package Manager: Fixed bug where Package Manager window In Project list would be empty for a newly created project. (1319205)

  • Profiler: Fixed an issue where we could no longer connect to tethered Android devices after they have been disconnected, without manually calling adb commands from the CLI. (1268987)

  • Scene Manager: Fixed editor crashing while undoing creation of prefab variant when base asset is deleted. (1324358)
    This is a change to a 2021.2.0a9 change, not seen in any released version, and will not be mentioned in final notes.

  • Scene Manager: Fixed position not restored in hierarchy after undo and redo. (1323919)
    This is a change to a 2021.2.0a9 change, not seen in any released version, and will not be mentioned in final notes.

  • Scene/Game View: Fixed "Clicking the orientation Gizmo in the Scene View stopped working". (1311606)

  • Scene/Game View: Fixed clicking on a non-prefab child of a prefab instance incorrectly selecting prefab root. (1305433)

  • Scene/Game View: Fixed shortcut conflict between Scene View "Nudge Grid" and 2D "Flip X Y" axis. (1309850)

  • Scripting: Assembly Version Validation can now be enabled or disabled for the editor when the project is setup to run on IL2CPP backend. (1307810)

  • Scripting: Fixed undoing changes to a prefab instance not triggering object change events. (1308479)

  • Search: Fixed search takes a very long time when overriding indexes combined with glob pattern. (1323783)
    This is a change to a 2021.2.0a10 change, not seen in any released version, and will not be mentioned in final notes.

  • Shaders: Fixed incorrect struct reflection on GL and GLES backends when using multiple nested structs. (1322153)

  • Shaders: Fixed regression in the Shadergraph custom function node file selector not showing .hlsl and .cging files. (1322466)
    This is a change to a 2021.2.0a8 change, not seen in any released version, and will not be mentioned in final notes.

  • UI Toolkit: Displays the Flex layout related buttons of the Builder quick tool when the selected element is of type VisualElement even when it has no child. (1316928)
    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: Fixed adding templates in an empty document (UI Builder). (1322904)

  • UI Toolkit: Fixed TextCore visual artifacts caused by ddx/ddy glitches on AMD Radeon hardware. (1317114)

  • UI Toolkit: Fixed Tooltips of "Panel Settings" Asset always appear at the center of the Inspector window. (1319166)
    This is a change to a 2021.2.0a4 change, not seen in any released version, and will not be mentioned in final notes.

  • Video: Fixed "WindowsVideoMedia error 0xc00d36b4" error getting thrown when loading a video with the VideoPlayer. (1306350)

  • Virtual Texturing: Fixed incorrect GI bounce from certain materials. (1314358)

  • XR: Fixed deadlock when using XR + URP + D3D11 with skipPresentToMainScreen. (1323833)
    This has already been backported to older releases and will not be mentioned in final notes.

Changeset:
71a161db37e2

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