发行说明

Known Issues in 2021.2.0b5

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

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

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

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

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

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

  • Mobile Graphics: [iOS] Player crashing when connecting external Display via USB-C port (1321153)

  • Mono: [Mono Upgrade] MissingMethodException thrown when attempting to use IsComObject (1346334)

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

  • Quality of Life: Crash in SerializedProperty::IsValid when reordering a SerializedProperty list (1320319)

  • 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: Improved performance of Gizmo rebuilding (1350835)
    First seen in 2021.2.0a19.
    Fixed in 2021.2.0b6.

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

  • 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: Fixed scrollview offset when Rebuild is called on a ListView. (1344825)
    First seen in 2021.2.0b1.
    Fixed in 2021.2.0b6.

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

  • 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: Build fails with .emscripten permission errors (1345412)

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

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

New 2021.2.0b5 Entries since 2021.2.0b4

Features

  • Version Control: - Plastic: Added support for inviting other members. This option is available from the gear / settings icon.
    • Plastic: Added support for signing in with Cloud Edition. This is available during the onboarding screen if you have never signed in.
    • Plastic: Added support for turning off Plastic in their project. This option removes the Plastic metadata from your directory. This option is available under Assets > Plastic SCM > Turn off Plastic SCM
    • Plastic: Added notification on the Plastic SCM tab title to indicate incoming changes. Users will no longer need to have the Plastic SCM window visible to know there are incoming changes.
    • Plastic: Auto configuration of SSO
    • Plastic: Added date column in incoming changes

Improvements

  • Editor: UnityEvent callbacks can be reordered

  • Package: Updated com.unity.formats.alembic@2.2.0

  • Version Control: - Stability and performance improvements

API Changes

  • Services: Added: Added new com.unity.services.core package that is used for common behaviour of Game Service packages

Changes

  • Version Control: ### Changed
    • Updating license to better conform with expected customer usage.
    • Updated documentation file to meet standards.
    • Updated third-party usage.
    • No longer requires downloading of the full Plastic client. Basic features will work without additional installation. Features that require the full Plastic client will allow download and install as needed.
    • Usability improvements around checking in code
    • Improved update workspace tab UX
    • Plastic SCM context menu is now available even if the Plastic SCM window is closed

Fixes

  • Editor: Deleting search query from project browser won't break the search window (1336787)

  • Editor: Favorite star is always visible for favorited items (1336789)

  • Editor: Fix beeping on keyboard input for input fields in mac editor playmode (1338906)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Editor: Fix styling of selected search query if hovering (1336784)

  • Editor: Fixed SerializedObject.hasModifiedProperties returning false after modifying reorderable array element values (1328336)

  • Graphics: Fixed Canvas not rendering on the secondary screen, when there are no Cameras rendering to it too (1340327)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Graphics: Fixed enabling "Contribute Global Illumination" checkbox crashing if a mesh does not have a valid index buffer. (1343239)
    First seen in 2021.2.0.

  • Linux: Fixed issue where adding a new shortcut profile crashes the Editor. (1334874)

  • Package Manager: If user install same version as feature set required locally, we don't show it as customized. (1342339)

  • Package Manager: There are no more missing packages in a Feature's dependencies list. (1344819)

  • Physics: Clamp ArticulationBody mass when loading data from disk so that it's within the valid range for the physics engine. (1316719)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Prefabs: Fix cannot move/rotate/scale static objects in Prefab Mode when playing (1343040)

  • PS5: Fix a crash that can occur in ReadbackImage with a R8 texture format (1348451)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Scene/Game View: Fix for built-in tool buttons toggling highlighted state when clicked consecutively. (1344813)

  • Scene/Game View: Fixed issue with scene view overlay in some packages (1339984)

  • Scene/Game View: Fixing selection outline causing performance drops in SceneView (1329140)
    First seen in 2021.2.0.

  • Scene/Game View: Fixing styling issues in Toolbar Elements. (1337703)
    First seen in 2021.2.0.

  • Scene/Game View: Overlay positioning optimization by using transform position and usageHints (1339973)

  • Scripting: Fixed condition on accessing a game object from a callback while it was being constructed that was leaving the original GameObject managed wrapper in a detached state. (1295939)

  • Shaders: Fixed DIRECTIONAL being defined to nothing when no other light type is defined (1342654)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Shaders: Fixed line directives sometimes erroneously skipped in output by the caching preprocessor (1340531)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Timeline: skip unstable test FrameLock_FollowsGameTimeClock for UWP (1342169)

  • UI Toolkit: Fixes undo of a change of Sort Order field value for a UI Document. (1337070)

  • WebGL: The WebGL 1 Graphics API is now marked as deprecated and will be removed in a future release of Unity once all major browser vendors have released browser versions with WebGL 2 enabled by default. (1345140)

  • XR: Splash screen now sends correct zNear and zFar values to XRDisplaySystem (1349851)
    This has already been backported to older releases and will not be mentioned in final notes.

  • XR: [OpenXR]Fix for Editor memory leak when HMD is in idle state (1344762)

变更集: c11a42e94ab9