Unity 2021.2.0 Alpha 21

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

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

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

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

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

  • Core: Secured player connection so it try to send all remaining data before terminating connection. (1340632)
    First seen in 2021.2.0a20.
    Fixed in 2021.2.0b1.

  • 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: [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 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: User can't easily configure location of both UPM and Asset Store package local cache (1317232)

  • Physics: Fixed a crash inside Cloth caused by a memory corruption in the bindings layer (1337649)
    This has already been backported to older releases and will not be mentioned in final notes.
    Fixed in 2021.2.0b1.

  • Profiler: Errors are no longer thrown when opening the Module Editor. (1341039)
    First seen in 2021.2.0a20.
    Fixed in 2021.2.0b1.

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

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

  • Scripting: When in SafeMode, IDE integration packages should now work even if a CodeGen assembly fails to build (1337678)
    First seen in 2021.2.0.
    Fixed in 2021.2.0b1.

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

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

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

  • 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: [XR][XR-Automation] 2021.2 Editor is unable to run UTF tests on Oculus Quest (1340845)

  • URP: Fixed an issue with Shader Graph Lit shaders where the normalized view direction produced incorrect lighting. (1332804)
    First seen in 2021.2.0.
    Fixed in 2021.2.0b1.

  • Vulkan: Linux Editor using Vulkan crashes at " GfxDeviceVK::EnsureValidBackbuffer" when showing tooltips for ProBuilder buttons (1335846)

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

  • WebGL: Fix the issue of the local server not starting when hitting Build and Run. The issue occurs after updating to Mono 6.13, where the behavior of Console.WriteLine has changed. When encountering a broken stdout pipe, it used to discard output silently, but it now errors out and the server doesn't start. (1339143)
    First seen in 2021.2.0a18.
    Fixed in 2021.2.0b1.

  • Windows: Editor crashes when exiting and keeping a tutorial project (1338299)

New 2021.2.0a21 Entries since 2021.2.0a20

Features

  • Graphics: Added anisotropic filtering to the built-in inline samplers.

  • XR: Reducing rendering latency in URP with Late Latching.

Improvements

  • Editor: Added "Open in Property Editor" menu item to the Inspector's kebab menu. (1334342)

  • IL2CPP: Added optimizations to Enum.HasFlag.

  • Physics: Added icon for Articulation Body Anchor Transform tool.

API Changes

  • Graphics: Added: A new player setting "Upload Cleared Texture Data" was added to revert to the old default behavior of uploading initialised data to video memory when creating a texture from script.

  • Physics: Added: Expose the improved patch friction mode that will distribute the normal force over the friction anchors and thus match analytical results closer.

  • Shaders: Added: LocalKeyword.isOverridable property to check whether a given local shader keyword can be overridden by global shader keyword state.

  • Video: Added: Advanced video encoding controls for H.264 (for Windows only) and VP8.

Changes

  • Editor: Removed limitation on TooltipAttribute so it can be applied anywhere. Only Tooltips on fields will currently be shown in the Editor though.

  • Package: Added Sequences (com.unity.sequences) to the Cinematic Studio feature set.

  • Package: Updated Sequences (com.unity.sequences) to 1.0.0-pre.6.

  • Physics: Adjusted anchor position based on anchor/parentAnchor transforms to better fit expected result.

Fixes

  • 2D: Fixed error when activating Rotate/Flip Tile Palette tool on a disabled target GameObject. (1334552)
    First seen in 2021.2.0a10.

  • 2D: Fixed Paint tool triggering a Tile Palette edit when Paint tool is active and is removed from the Tile Palette default tools.

  • 2D: Swapped behavior of rotating clockwise and counter-clockwise.

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

  • Animation: Fixed ScaleConstraint on child with parent having a nulled scaled axis. (1243185)

  • Asset Import: Prevented data in the Assets\StreamingAssets folder from being cached by the Unity Accelerator. (1295717)

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

  • Documentation: Changed the documentation for HorizontalLayout and VerticalLayout. (1260855)

  • Editor: Fixed ArgumentOutOfRange exception when attempting to multi-select AudioMixer groups. (1339103)

  • Editor: The EditorSceneManager now gets the correct build index for Scenes of the same name upon calls to SceneManager.GetScenesAt in Play mode. (1128653)

  • Editor: The Object Picker has a maximum number of items it shows. Now showing a note to narrow the search if more than 12000 hits are shown. (1331728)

  • Graphics: D3D12 player will not crash/freeze when switching between full screen modes. (1318640)

  • Graphics: Fixed a case where some texture types would not report any errors on creation when using compressed formats which allowed unintended behavior. (1329157)
    First seen in 2021.2.0a14.

  • Graphics: Fixed for performance regression to render sorting on Mac. (1337862)
    First seen in 2021.2.0a18.

  • Graphics: Fixed GPU crash on Intel integrated cards when opening the editor with a scene that had VFX. (1332956)

  • Graphics: Fixed incorrect shader code generation when using half precision SV_POSITION. (1323558)

  • Graphics: Order of DLSS quality enumerations changed for better and more intuitive user experience. This change does not break API. (1335732)

  • Graphics: Removed the unneeded data copy of the initialised memory to video memory when creating a texture from script. (1337186)

  • Graphics: When dynamic scaling is enabled and a Render Target is attached to a Camera the ScreenTo and ToScreen functions no longer use the scaled viewport size, instead match the behaviour when a Render Target isn't attached as per the documentation. (1329240)

  • IL2CPP: Emit proper C++ comments for type names ending in a forward slash and a space. (1328322)
    This has already been backported to older releases and will not be mentioned in final notes.

  • iOS: Fixed tweaking WebCamTexture sampler setup resulting in GPU error on older devices. (1309523)

  • Networking: UnityWebRequest: UploadHandlerRaw can accept null, empty array or empty NativeArray payload. (1324331)

  • Package Manager: Enabled Update button for packages installed from Git, will check if any updates are available and update the Git package.

  • Package Manager: Fixed 401 Response code when user tries to download a paid asset store package in My Assets.
    Check ToS agreement before download and redirect user to Asset Store web page in order to read and accept terms. (1335976)

  • Package Manager: Fixed tests compilation warnings.

  • Particles: Fixed orientation of GPU instanced mesh particle shadows. (1036174)

  • Physics: Fixed Character Controller returning incorrect closest points when the center is offset. (1339454)

  • Physics: Fixed PhysX crash when articulation body mass is invalid - zero, it is replaced with 1e-7. (1316719)

  • Physics: Improved the stability of the HingeJoint2D angular lower/upper limits when using higher motor/external forces. (1339471)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Prefabs: An open ComparisonViewPopup is now closed if undo operations cause selection changes which affect the content of the Overrides Window's tree view and render the popup's visibility redundant. (1325826)

  • Prefabs: Checked that the GameObject pointed by a component, during scene loading, is actually a valid GameObject. (1333374)

  • Prefabs: Fixed an issue where OnValidate() could be called on an inactive Prefab. (1271820)

  • Prefabs: PrefabUtility.SavePrefabAsset is now robust against supplied objects being reloaded during AssetModificationProcessor.OnWillSaveAssets. (1276013)

  • Prefabs: Updated documentation that scripts using OnValidate can only modify data on itself. (1333052)

  • Profiler: Fixed long running IJobs not showing up in the Profiler. (1288665)

  • Profiler: Fixed systrace captures producing corrupted data when started in middle of frame, mismatch begin and end samples. (1270929)

  • Scene/Game View: Fixed for the default Overlays' preset not matching the intended design. (1339964)

  • Scripting: UnityWebRequest no longer re-uses previous connections when custom certificate handler is changed. (1337019)

  • Scripting: When inspecting a readonly asmdef file, the inspector fields are disabled and a small text indicates that the asmdef file is read-only. (1255405)

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

  • uGUI: Fixed UI Components being selected when their child is selected. (1067993)

  • uGUI: Fixed undesired values for the Scrollbar by clamping and rounding it. (1312723)

  • UI Toolkit: Fixed contentHash not being updated in UI Builder. (1336924)

  • VFX Graph: Fixed possible crash with sorting on particle system without kill. (1333851)

  • VFX Graph: Fixed unexpected missing binding of deadElementCount dispatching sort. (1311837)

  • Video: Fixed source Info text of the video asset that was barely visible. (1328269)

  • WebGL: Fixed audio restarting when paused and resumed on timeline. (1204018)

Changeset:
75138d5880a6

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