发行说明

Known Issues in 2021.2.0b6

  • AI: Fixed crash caused by the NavMesh builder code in very rare and specific configurations of the world geometry. (1329346)
    Fixed in 2021.2.0b7.

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

  • Asset Importers: [MacOS] Second Unity instance in Activity Monitor is "not responding” after importing (1331736)

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

  • Audio: Error is thrown when Audio Clip is selected in the Project Browser (1345239)

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

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

  • Graphics - Analysis Tools: (Frame Debugger) Clear events constantly appear and disappear (1341163)

  • Graphics Device Backends: CommandBuffer native plugin events hang in the Editor (1308216)

  • 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: Touch Input doesn't work in Play Mode when running an Editor on a Touchscreen device (1341159)

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

  • Metal: Unity does not use dedicated graphics card when graphics API is set to Metal (1352465)

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

  • Mobile: [Android] Using TouchScreenKeyboard.Open with a non-empty placeholder multiple times causes the app to crash (1347370)

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

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

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

  • Scene/Game View: Unity crashes when selecting objects in Scene using rectangular selection (1351135)

  • 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: Internal package modules that are not used in a project do not get stripped from player builds. (1332465)

  • Serialization: Prefab property override blue line have disepeared from HDRP's custom passes (1348031)

  • Shader System: Pass.CompileVariant crashes the shader compiler when using a target platform that is not installed (1348875)

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

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

  • Video: Video player fails to start playing and null handle errors are thrown when running Unity Editor/Build with specific hardware (1237818)

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

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

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

New 2021.2.0b6 Entries since 2021.2.0b5

Improvements

  • Android: Bump Android Logcat package to 1.2.3

  • Asset Pipeline: Improved upload and download path

  • Editor: (Dynamic Hints) If the target window of a Dynamic Hint is available but unfocused, it becomes focused before the Dynamic Hint is shown

  • Package: Update Addressables to 1.18.13

  • Scripting: Allow user code to build against .NET Standard 2.1 and .NET Framework 4.8

  • UI Toolkit: TransitionEvents are now collapsed when relevant.

Fixes

  • 2D: Fixed OnDrawGizmos not being called for Tile Palette when Draw Gizmos are enabled. (1348123)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Android: Il2cpp resources will be extracted during player launch only when needed, for ex., changes in scripts. Previously they would be extracted each time you make a new build from Unity.

  • Android: Logcat 1.2.3 version fixes 'The type or namespace name 'NUnit' could not be found' error when test framework package is removed. (1343006)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Asset Pipeline: Duplicating folders and assets now invokes OnWillCreateAsset callbacks on the duplicated items. (949423)

  • Asset Pipeline: Fixed issue with some FBX models being imported with a scale of 0 when 'Remove Constant Scale Curves' is enabled. (1348264)

  • Editor: (Dynamic Hints) Fixed: NullReferenceException when a prefab with a missing script is hovered in the ProjectBrowser

  • Editor: Added support for duplicate component names to UnityEvent selection popup. (1309997)

  • Editor: Fixed a crash in ReorderableList while ensuring a valid array SerializedProperty (1320319)

  • Editor: Fixed an issue to avoid asserts when opening gradient editor (1344785)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Editor: Fixed File->Open Recent Scene menu entries not working correctly after upgrading project from versions earlier than 2021.2.0a5. (1338322)

  • Editor: Fixed Inspector ignoring NonReorderable attribute when a class implementing it is assigned to an interface or other abstract field (1320158)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Editor: Fixed lists inside lists not rendering elements after interaction (1332688)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Editor: Fixed NonReorderable attribute being ignored on derived class variables (1331091)

  • Editor: Fixed not being able to expand ReorderableLists while in inspector debug mode (1316226)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Editor: The progress bar in the status bar no longer gets stuck in an empty state. The progress bar in the status bar no longer shows instantaneous progresses. (1341616)

  • GI: Editor crashes on EnlightenSceneMapping::GetTerrainChunkUVST when loading scene with corrupt Lighting Data Asset. (1325758)

  • Graphics: Fixed ImageConversion.LoadImage and Texture2D.LoadImage always returning true even in case of a failure (1336892)

  • Graphics: Reload inspector on srp type changed (1346694)

  • Graphics: Support undo of Global Settings assignation (1342987)

  • iOS: Fixed crash when using external display connected with USB-C (1321153)

  • iOS: Fixed query of Display native resolution (1342424)

  • iOS: Fixed video becoming unplayable after resuming an app when video's audio output mode is set to API Only. (1330901)

  • macOS: Fixed non-development IL2CPP builds crashing on startup on Apple silicon machines. (1348307)
    First seen in 2021.2.0a9.

  • Mono: Fixed issue where InvalidOperationException was thrown when a GCHandle was defined within a Job. (1343011)
    First seen in 2021.2.0a18.

  • Nintendo Switch: Fixed shader precision issue that could cause artifacts in Terrain rendering (1345800)

  • Package Manager: Fixed issue where user can't view assets in Package Manager (error 400) (1330334)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Particles: Optimize Mesh data stripping vertex channels that are used by particle systems when the mesh is included in assetbundles. (1313420)

  • Physics: Fixed a crash in "PhysicsScene2D::UpdateJoints()" (1342152)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Physics: Fixed Articulation Bodies not showing up in the Physics Visualiser (1343929)
    First seen in 2021.2.0b1.

  • Profiler: Invoking a domain reload with the Module Editor Window open no longer causes subsequent errors when making changes in the Module Editor. (1347205)
    First seen in 2021.2.0a17.

  • Scene/Game View: Fixed Grid Axis field in the Grid Settings Overlay not accepting input. (1345036)

  • Scene/Game View: Fixing overlay placement when scene view is resizing (1341038)

  • Scene/Game View: Improved performance of Gizmo rebuilding (1350835)
    First seen in 2021.2.0a19.

  • UI: Reverting change that caused highlight to take precedence over selected. (1325066)

  • UI Toolkit: Fixed issue where the layout of a document was getting corrupted after saved the document. (1348002)

  • UI Toolkit: Fixed pointer events not working correctly when multiple UI Documents have different Screen Match values. (1341135)

  • UI Toolkit: Fixed rendering issue after clicking refresh in package manager. (1343188)
    First seen in 2021.2.0a19.

  • UI Toolkit: Fixed scrollview offset when Rebuild is called on a ListView. (1344825)
    First seen in 2021.2.0b1.

  • UI Toolkit: Fixed scrollview offset when Reordering the contents in hierarchy is not visible. (1341758)

  • UI Toolkit: Fixed search option elements in shortcut window when a command is entered. (1344699)
    First seen in 2021.2.0a19.

  • UI Toolkit: Fixed shortcut window rendering some extra whitespaces when the scrollview is down. (1342465)
    First seen in 2021.2.0.

  • UI Toolkit: Fixed the position of searcher in shadergraph when opening and closing a dropdown. (1344830)
    First seen in 2021.2.0a19.

  • UI Toolkit: Fixed Toolbar turning white when loading certain native plugins (1335430)

  • UI Toolkit: Fixed wrong mouse position on events when a UI Toolkit element has mouse capture, the mouse is outside the element's editor window and that window doesn't have the active mouse capture from the OS. (1342115)

  • UI Toolkit: TransitionEvents reentrance is properly handled
    First seen in 2021.2.0a20.

  • VFX Graph: Fixed collision with depth buffer when using an orthographic camera (1309958)

  • WebGL: Fixed gamepad stick Y being inverted. (1336005)

  • WebGL: Fixed handling of touch events. (1349226)

  • WebGL: Fixed Permission denied error during build (1345412)

  • WebGL: Improved network bandwidth usage of VideoPlayer.Stop() API in WebGL builds by stopping the video stream from downloading further. (1348468)

  • Windows: Fixed for mouse deltas always being 0 when running Windows in a VM. (1303445)

  • XR: Updated XR Legacy Input Helpers to 2.1.8.

变更集: 2055a14f48ed