Unity 2021.2.0 Beta 9

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

  • Asset Importers: Editor crashes on UnityEditor.Unsupported:IsDestroyScriptableObject when applying changes to a custom asset (1353925)

  • Audio: Crash on AudioCustomFilter::GetOrCreateDSP when recompiling scripts while in Play Mode (1354002)

  • Audio: Crash on AudioMixer_CUSTOM_FindSnapshot when passing null as an argument to FindSnapshot() (1341752)

  • CodeEditors: Crash on stopping debugging (1355156)

  • Customer QA Onboarding: Odin Inspector crashes the Editor when selecting an entry from the Attribute Overview window (1357029)

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

  • Global Illumination: [Enlighten] Fatal Error when closing the Editor while Generating Lighting (1354238)

  • Global Illumination: [GPU PLM] Fallback to CPU PLM in CL_INVALID_MEM_OBJECT after switching light color only and rebaking GI (1356714)

  • Global Illumination: [PLM] Baking stalls after starting CPU PLM bake via the lightmapping API with enabled async shader compilation (1331268)

  • HD RP: HDRP Template fills the Console with "Shader error...couldn't open include file" messages after building the project (1342989)

  • IL2CPP: [Mono Upgrade] Il2CPP player fails to start on Windows 7 (1340258)

  • Input: Input.GetKey does not trigger when the mouse cursor is outside the Game window (1358134)

  • Input: Touch Input doesn't work in Play Mode when running an Editor on a Touchscreen device (1341159)

  • Linux: Crash on DisableSubMenu when double clicking to close a context menu (1347655)

  • Linux: Menu bar "Assets" submenu items are disabled after visualizing an asset's context menu in Project view (1346205)

  • Metal: Changing Adaptive Resolution Level asks for unsupported texture format which causes Editor crash (1355775)

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

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

  • Mono: [Linux] [Mono Upgrade] Unity crashes when detaching the Managed Debugger after hitting a breakpoint (1345784)

  • Mono: [Mono Upgrade] CommandBuffer native plugin events hang in the Editor (1308216)

  • Networking: Profiler/Memory Profiler cannot be connected to Standalone build when Run in Background is disabled (1355728)

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

  • Physics: Crash on mono_jit_runtime_invoke when closing project while having a Physics Material set as default in Physics settings (1356108)

  • Profiling: [Profiler] GC Alloc call stacks have unrelated stack trace lines (1355812)

  • Scene Management: "Error loading the file" and "Duplicate identifier" errors in the Console when importing .anim file (1357369)

  • Scene Management: Redoing Apply nestee prefab crashes Editor (1348899)

  • Scene Management: [Undo] Redoing Apply override to Prefab crashes Editor (1355538)

  • Scripting: Crash on PropertyUndoManager::Flush after recompiling scripts (1352394)

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

  • Scripting: Error CS8035 is thrown on opening a project when using rulesets (1349517)

  • Scripting: Increased Script Assembly reload time (1323490)

  • Scripting: Internal package modules that are not used in a project do not get stripped from player builds. (1332465)

  • Scripting: Only some assemblies fail to be loaded when assembly name does not match the file name (1345099)

  • Scripting: Performance degradation when activating or deactivating uGUI GameObject (1348763)

  • ShaderGraph: UI shaders are not rendered in Game View from 2021.2.0b2 (1352225)

  • UI Builder: Changes in UI Builder are lost when editing a 2D sprite (1357086)

  • UI Toolkit: [Shadergraph] "Transform" node no longer appears in searcher when typed (1344825)

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

  • Vulkan: [Editor] The Scene's GameObjects textures are seemingly random and change colours depending on the Scene's Camera pos. (1337772)

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

  • Windows: Mouse Y coordinate is wrong on windowed fullscreen player using a resolution smaller than native with New Input System enabled (1345405)

New 2021.2.0b9 Entries since 2021.2.0b8

Improvements

  • Android: Changed the device scanning operation of the Android Extension to be async when receiving an USB device changed event. (1349380)

  • Editor: Improved mac editor process guard in order to catch all types of exceptions and early handle cases where the ADB process might have already shut down

API Changes

  • Graphics: Added: Added UNITY_PREV_MATRIX_M and UNITY_PREV_MATRIX_I_M shader macros to support instanced motion vector rendering

  • Graphics: Added: Added VolumeComponentMenuForRenderPipelineAttribute to specify a volume component only for certain RenderPipelines.

  • HDRP: Added: Added a custom post process injection point AfterPostProcessBlurs executing after depth of field and motion blur.

  • HDRP: Added: Added a property on the HDRP asset to allow users to avoid ray tracing effects running at too low percentages (1342588)

  • HDRP: Added: Added dependency to mathematics and burst, HDRP now will utilize this to improve on CPU cost. First implementation of burstified decal projector is here.

  • HDRP: Added: Added warning for when a light is not fitting in the cached shadow atlas and added option to set maximum resolution that would fit.

  • Shadergraph: Added: Added a ShaderGraph animated preview framerate throttle.

  • Shadergraph: Added: Added Tessellation Option to PositionNode settings, to provide access to the pre-displaced tessellated position.

  • Shadergraph: Added: Added visible errors for invalid stage capability connections to shader graph.

  • VFX Graph: Added: Added HDRP Decal output context.

Changes

  • Graphics: Improved IntegrateLDCharlie() to use uniform stratified sampling for faster convergence towards the ground truth

  • HDRP: Changed the NVIDIA install button to the standard FixMeButton.

  • HDRP: Fixed upscaling issue that is exagerated by DLSS (1347250)

  • HDRP: Improved a bit the area cookie behavior for higher smoothness values to reduce artifacts.

  • HDRP: Improved volumetric clouds (added new noise for erosion, reduced ghosting while flying through, altitude distortion, ghosting when changing from local to distant clouds, fix issue in wind distortion along the Z axis).

  • HDRP: Improvements to the RTGI denoising.

  • HDRP: Restore old version of the RendererList structs/api for compatibility.

  • Shadergraph: Changed "Create Node" action in ShaderGraph stack separator context menu to "Add Block Node" and added it to main stack context menu

  • Shadergraph: ShaderGraph SubGraphs will now report errors and warnings in a condensed single error.

  • UI Toolkit: Marked the com.unity.ui package, which is incompatible with 21.2 and above, as deprecated.

Fixes

  • 2D: Fixed an issue where a sprite could get an invalid GUID. (1346443)
    First seen in 2021.2.0a4.

  • Android: Fixed crash when using TouchScreenKeyboard with placeholder text. (1347370)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Asset Pipeline: Fixed issue where some meshes imported from FBX are missing the first UV channel. (1342131)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Editor: Added support for GameCoreXboxOne and GameCoreXboxSeries reduced location path length.

  • Editor: Ensured RootEditor API behaves as expected and allows to totally highjack the inspector. (1346788)

  • Editor: Fixed empty reason on passed tests results xml (DSTR-63).

  • Editor: Fixed issue when . suffix was applied to BuildTargets without extension.

  • Editor: Fixed Repeat and Retry attribute for UnityTest in PlayMode (DSTR-237).

  • Editor: Remove XDK Xbox One platform after Unity 2020.3.

  • Graphics: Fixed error when change Lens Flare Element Count followed by undo. (1346894)

  • Graphics: Fixed flickering events in frame debugger. (1341163)
    First seen in 2021.2.0a19.

  • Graphics: Fixed Lens Flare 'radialScreenAttenuationCurve invisible'.

  • Graphics: Fixed Lens Flare rotation for Curve Distribution.

  • Graphics: Fixed Lens Flare Thumbnails.

  • Graphics: Fixed library function SurfaceGradientFromTriplanarProjection to match the mapping convention used in SampleUVMappingNormalInternal.hlsl and fix its description.

  • Graphics: Fixed LightAnchor too much error message, became a HelpBox on the Inspector.

  • Graphics: Fixed MeshRenderer still rendering a mesh when the MeshFilter has been removed whilst editing the prefab in context. (1251154)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Graphics: Fixed rotation issue now all flare rotate on positive direction. (1348570)

  • Graphics: Fixed Volume Gizmo size when rescaling parent GameObject.

  • Graphics: Virtual Texturing fallback texture sampling code correctly honors the enableGlobalMipBias when virtual texturing is disabled.

  • Graphics: When adding Overrides to the Volume Profile, only show Volume Components from the current Pipeline.

  • GraphView: Fixed GraphView group to allow drag and drop of nodes when edges are selected. (1348542)
    This has already been backported to older releases and will not be mentioned in final notes.

  • HDRP: Fixed a null ref exception when adding a new environment to the Look Dev library.

  • HDRP: Fixed a nullref in volume system after deleting a volume object. (1348374)

  • HDRP: Fixed access to main directional light from script.

  • HDRP: Fixed an issue that made camera motion vectors unavailable in custom passes.

  • HDRP: Fixed an issue that made Custom Pass buffers inaccessible in ShaderGraph.

  • HDRP: Fixed an issue with reflection probe normalization via APV when no probes are in scene.

  • HDRP: Fixed an issue with surface gradient based normal blending for decals (volume gradients weren't converted to SG before resolving in some cases).

  • HDRP: Fixed conflicting runtime debug menu command with an option to disable runtime debug window hotkey.

  • HDRP: Fixed CPU performance of decal projectors, by a factor of %100 (walltime) on HDRP PS4, by burstifying decal projectors CPU processing.

  • HDRP: Fixed custom pass workflow for single camera effects.

  • HDRP: Fixed custom post process name not displayed correctly in GPU markers.

  • HDRP: Fixed custom post process template not working with Blit method.

  • HDRP: Fixed distortion when resizing the graphics compositor window in builds. (1328968)

  • HDRP: Fixed Dof and MSAA. DoF is now using the min depth of the per-pixel MSAA samples when MSAA is enabled. This removes 1-pixel ringing from in focus objects. (1347291)
    This has already been backported to older releases and will not be mentioned in final notes.

  • HDRP: Fixed enabling a lensflare in playmode.

  • HDRP: Fixed exposure not being properly handled in ray tracing performance (RTGI and RTR). (1346383)

  • HDRP: Fixed fabric IBL (Charlie) pre-convolution performance and accuracy (uses 1000x less samples and is closer match with the ground truth).

  • HDRP: Fixed failures on platforms that do not support ray tracing due to an engine behavior change.

  • HDRP: Fixed gbuffer depth debug mode for materials not rendered during the prepass.

  • HDRP: Fixed ghosting issues if the exposure changed too much (RTGI).

  • HDRP: Fixed infinite propagation of nans for RTGI and SSGI. (1349738)

  • HDRP: Fixed misc TAA issue: Slightly improved TAA flickering, Reduced ringing of TAA sharpening, tweak TAA High quality central color filtering.

  • HDRP: Fixed missing global wind parameters in the visual environment.

  • HDRP: Fixed objects disappearing from Lookdev window when entering playmode. (1309368)

  • HDRP: Fixed override camera rendering custom pass API aspect ratio issue when rendering to a render texture.

  • HDRP: Fixed parameter ranges in HDRP Asset settings.

  • HDRP: Fixed possible QNANS during first frame of SSGI, caused by uninitialized first frame data.

  • HDRP: Fixed rendering of objects just after the TAA pass (before post process injection point).

  • HDRP: Fixed screen-space shadows with XR single-pass and camera relative rendering. (1348260)

  • HDRP: Fixed some of the extreme ghosting in DLSS by using a bit mask to bias the color of particles. VFX tagged as Exclude from TAA will be on this pass.

  • HDRP: Fixed spot light radius not changed when editing the inner or outer angle of a multi selection. (1345264)

  • HDRP: Fixed support for instanced motion vector rendering.

  • HDRP: Fixed support for ray binning for ray tracing in XR (case ). (1346374)

  • HDRP: Fixed support of multi-editing on custom pass volumes.

  • HDRP: Fixed TAA upsampling algorithm, now work properly.

  • HDRP: Fixed the APV UI loosing focus when the helpbox about baking appears in the probe volume.

  • HDRP: Fixed the FreeCamera and SimpleCameraController mouse rotation unusable at low framerate. (1352679)

  • HDRP: Fixed the incorrect value written to the VT feedback buffer when VT is not used.

  • HDRP: Fixed the possibility to hide custom pass from the create menu with the HideInInspector attribute.

  • HDRP: Fixed the RTAO debug view being broken.

  • HDRP: Fixed tiled artifacts in refraction at borders between two reflection probes.

  • HDRP: Fixed various SSGI issues. (1327919, 1339297, 1340851)

  • HDRP: Fixed Vertex Color Mode documentation for layered lit shader.

  • HDRP: Fixed VFX flag "Exclude From TAA" not working for some particle types.

  • HDRP: Fixed Volumetric Clouds not updated when using RenderTexture as input for cloud maps.

  • HDRP: Fixed warning "Releasing render texture that is set to be RenderTexture.active!" on pipeline disposal / hdrp live editing.

  • HDRP: Fixed white flash with SSR when resetting camera history. (1335263)

  • HDRP: Fixed white flashes when history is reset due to changes on type of upsampler.

  • HDRP: Fixed wobbling/tearing-like artifacts with SSAO.

  • HDRP: HDRP Wizard can still be opened from Windows > Rendering, if the project is not using a Render Pipeline.

  • HDRP: Only display HDRP Camera Preview if HDRP is the active pipeline. (1350767)

  • HDRP: Prevent any unwanted light sync when not in HDRP. (1217575)

  • HDRP: Prevented user from spamming and corrupting installation of nvidia package.

  • IMGUI: When using a Non-ReorderableList, pressing the Delete key on one of the element deletes it from the array. (1335322)
    This has already been backported to older releases and will not be mentioned in final notes.

  • iOS: Fixed Mute Other Audio Sources not muting background audio on a device when toggled on when Unity audio is enabled. (1335093)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Linux: Fixed plugin header files not being copied to the editor installer. (1345891)

  • Linux: Fixed regression that caused builds to be 10x slower. (1332772)
    First seen in 2021.2.0a10.

  • Package Manager: Errors are now automatically refreshed once packages are updated to fix the issue. (1342141)

  • Package Manager: Fixed the issue when sorting by "Update date" and filtering by "Downloaded", the order of the assets is inconsistent in My Assets tab. (1343200)

  • Package Manager: Fixed the issue where modifying sort option breaks package list ordering in the My Assets tab. (1343198)

  • Package Manager: Fixed the issue where the selection in the list is broken and the wrong package appears as selected in My Assets. (1343197)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Package Manager: Fixed the issue where there is a noticeable lag when selecting an asset in the PackageList when navigating a large number of assets in My Assets. (1343193)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Particles: Correctly support 16-bit vertex attributes in CPU mesh particle rendering. (1340944)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Prefabs: Fixed crash when apply GameObjects or Components to Prefab while the Asset Pipeline is paused. (1324978)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Scripting: Fixed crash in ScriptUpdater.exe when editor is installed in a path containing commas. (1341703)

  • Serialization: Fixed regression where prefab override would not show up on SerializeReference instance and you could no longer remove contextually a single Override. (1348031)

  • Services: Updated analytics package. Constantly repopulating a list of strings was causing the inspector panel for the analytics tracker to spam autosave in some cases. (1150985)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Shadergraph: Disconnected nodes with errors in ShaderGraph no longer cause the imports to fail. (1349311)

  • Shadergraph: Fixed a ShaderGraph issue where Float properties in Integer mode would not be cast properly in graph previews. (1330302)

  • Shadergraph: Fixed a ShaderGraph issue where hovering over a context block but not its node stack would not bring up the incorrect add menu.. (1351733)

  • Shadergraph: Fixed incorrect warning while using VFXTarget.

  • Shadergraph: Fixed ShaderGraph exception when trying to set a texture to "main texture". (1350573)

  • Shadergraph: Fixed ShaderGraph isNaN node, which was always returning false on Vulkan and Metal platforms.

  • Shadergraph: Fixed ShaderGraph sub-graph stage limitations to be per slot instead of per sub-graph node. (1337137)

  • Shadergraph: Fixed the BuiltIn Target to perform shader variant stripping. (1345580)

  • Shadergraph: Fixed the incorrect value written to the VT feedback buffer when VT is not used.

  • Shadergraph: ShaderGraph SubGraphs now report node warnings in the same way ShaderGraphs do. (1350282)

  • Shadergraph: Updated the ShaderGraph searcher package dependency to be in sync with the latest searcher package version i.e. 4.8.0.

  • Shaders: Fixed instancing count constant generating an error when compiling shaders for Vulkan using Pass.CompileVariant API. (1348871)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Shaders: Fixed Pass.CompileVariant not filtering keywords not relevant to the given pass. (1349218)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Shaders: Fixed Pass.CompileVariant silently accepting impossible combinations of ShaderCompilerPlatform and BuildTarget. (1348874)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Shaders: Fixed Pass.CompileVariant throwing errors when compiling subshaders coming from the fallback or passes coming from UsePass. (1348862)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Shaders: Fixed shader compiler crash when asked to compile a variant for a platform that is not installed. (1348875)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Shaders: Fixed ShaderData.Pass providing no way to check whether a particular shader stage is included. (1348880)
    This has already been backported to older releases and will not be mentioned in final notes.

  • uGUI: When multiple materials with multiple textures are assigned to a single UI Element, they are now rendered correctly. (1341814)
    This has already been backported to older releases and will not be mentioned in final notes.

  • UI Toolkit: Added missing asset conversion information for Text Core generated assets. (1348577)

  • UI Toolkit: Fixed cursor not updating when changing it using a variable which has hotspot data. (1340471)

  • UI Toolkit: Fixed non-uniform scaling issues with UI Toolkit elements. (1336053)

  • UI Toolkit: Fixed TextureId leak that could occur when a Panel was disposed or when the graphics device reloads. (1336881)
    This has already been backported to older releases and will not be mentioned in final notes.

  • UI Toolkit: Fixed ui builder layout broken when restarting unity. (1340218)

  • UI Toolkit: Fixed wrong SerializedProperty value when using a UI Toolkit PropertyField for an enum type with values not declared in strict ascending order. (1345171)
    First seen in 2021.2.0a5.

  • UI Toolkit: ScrollView's wheel events are relative to line height instead of page size. Line height can be overridden in stylesheet with --unity-metrics-single_line-height. (1344829)
    First seen in 2021.2.0a19.

  • URP: Fix indentation of Emission map on material editor.

  • URP: Fixed an issue in PostProcessPass causing OnGUI draws to not show on screen. (1348882)

  • URP: Fixed an issue where ShadowCasters were sometimes being rendered twice in the editor while in playmode.

  • URP: Fixed an issue where Sprite type Light2Ds were missing a default sprite.

  • URP: Fixed an issue where Sprite type Light2Ds would throw an exeception if missing a sprite.

  • URP: Fixed issue with legacy stereo matrices with XR multipass. (1342416)

  • URP: Fixed Terrain holes not appearing in shadows. (1349305)
    This has already been backported to older releases and will not be mentioned in final notes.

  • URP: Fixed unlit shader function name ambiguity.

  • URP: VFX: Compilation issue with ShaderGraph and planar lit outputs. (1349894)

  • VFX Graph: Unexpected operator and block removal during migration. (1344645)

  • VFX Graph: When adding a new node/operator in the graph editor and using the search field, the search results are sorted in a smarter way.

  • Windows: Fixed performance issues caused by using a high input polling rate mouse (8000 Hz+). (1336740)

  • XR: 2021.2 Backport: Added IUnityGraphicsVulkanV2 plugin interface to add support for chaining vulkan initialization intercepts. (1349908)
    This has already been backported to older releases and will not be mentioned in final notes.

  • XR: Fixed subsystem manifest json files not being found when use patch and run on Android. (1349953)

  • XR: Updated the verified AR Foundation related packages to 4.2.0-pre.12. Please see the AR Foundation package changelog for details.

Changeset:
162b5e238388

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