リリースノート

Known Issues in 2021.2.0a6

  • Shaders: Fixed shader compiler communication instability. (1314994)
    Fixed in 2021.2.0a7.

  • UI: Fixing a issue where adjusting the canvas rendering size to render a custom camera render would cause scaling issues (1301378)
    This has already been backported to older releases and will not be mentioned in final notes.
    Fixed in 2021.2.0a7.

  • Asset Importers: [Performance Regression] Importing an fbx model is noticeably slower when the model contains Animations (1265275)

  • Packman: Post Processing 3.0.3 package can't be found when installing from Package Manager (1317088)

  • Global Illumination: Colors of objects tinted when updating between Unity versions (1316292)

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

  • Linux: Linux Editor crashes with "mmap(PROT_NONE)" assertion failure during GC in Play Mode (1312972)

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

  • Linux: Menu bar no longer shows up on startup on second project load (1317207)

  • Linux: "Out of memory!" crash when opening Unity on Ubuntu 20.04 (1262894)

  • Terrain: Terrain Lit Opacity as Density option causes alpha'd areas on the 5th layer or greater to appear with artifacts (1283124)

  • Profiling: [Profiler] ArgumentNullException is thrown on maximizing Profiler window when Editor Record Mode is set (1315755)

  • Shuriken: Particle System is not rendering properly in the Scene view (1316083)

  • MacOS: Menu does not appear where the mouse Left or Right clicked, when Left or Right clicking to open Menu (1309452)

  • Window Management: Switching to Forma Editor mode does not work (1309845)

  • WebGL: [Audio] "Cannot create FMOD" Error when importing 3D Game Kit project on webGL (1293595)

  • Quick Search: [Search] Fix asset worker log object thread stalling (1316768)

  • Project Browser: Basic primitive Meshes are not shown in Select Mesh window (1314696)

  • Scene Management: Freeze or crash on EditorSceneManager::ReloadScene when importing an Asset and reloading the opened Scene (1309393)

  • Shader System: [URP Template] Major performance drop in the Editor during Play Mode (1277222)

  • MacOS: macOS builds no longer run when with a quarantine attribute due to incorrect codesigning (1304455)

  • Scene/Game View: vSyncCount does not work when used in the Play Mode (1305631)

  • UI Toolkit: Silent Crash when selecting a Profiler Module (1315473)

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

  • Serialization: Editor crashes on RaiseException when allocating huge amount of memory (1313492)

  • Scripting: Application.quitting event is not raised when closing build (1309540)

  • Templates: [Linux] Missing libdl.so library causes crash when entering Playmode for the second time or closing the Editor (1237642)

  • Build Pipeline: [Cache Server] Building process freezes on compiling shader variants when connected to Accelerator (1296800)

  • Metal: [Apple M1] Crash on MTLGetEnvCase on startup when 'm_Automatic' is set to 0 in the ProjectSettings (1306688)

  • Global Illumination: GI bake isn't started with multiple Editors warning after pressing Generate GI button after individual reflection probe bake (1312881)

  • UI Builder: Visual Studio opens up instead of UI Builder on double-clicking on uXML file in the Project window (1298297)

  • MacOS: [Mac OS] Building Standalone project for Mac when Generate Xcode project is enabled generates both a folder and .xcodeproj (1288729)

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

New 2021.2.0a6 Entries since 2021.2.0a5

Fixes

  • Asset Pipeline: Fix for crash that could happen after safe mode exit

  • Asset Pipeline: Fixed problem with missing profiler EndSample errors (1306178)
    This is a change to a 2021.2.0a1 change, not seen in any released version, and will not be mentioned in final notes.

  • Editor: Fix Android TV Banner disappearing after being set (1313048)
    This has already been backported to older releases and will not be mentioned in final notes.

  • Editor: Fixed array SerializedProperty using ReorderableList not returning true via EditorGUI.PropertyField when children are not included but the property is expanded (1311349)

  • Editor: Fixed cursor locking on Windows when the cursor is on a non-primary display. (1282412)

  • Editor: Fixed not being able to edit array items when EditorGUI.PropertyField is using SerializedProperty created from the target of custom editor (1308472)

  • Editor: Fixes mouse hide issues in windows editor playmode (1273522)

  • Editor: Improved default Hierarchy search engine's performance. (1313691)
    This has already been backported to older releases and will not be mentioned in final notes.

  • GI: Reimport all lightmap textures when "Lightmap Encoding" project setting is changed. (1195551)

  • GI: Release temporary memory used by baking under with GPULM to make denoising of lightmap more robust. (1117995)

  • Graphics: A CopyDepth pass was previously included which allowed users script access to _CameraDepthTarget but this has been removed on the metal GPU families that use Tile-based renderers (iOS, Silicon-GPU), fixing the performance decrease that this was causing. (1298799)

  • Graphics: Choose the proper graphics multithreaded mode. (1223767)

  • Graphics: fixed Unwrap crash when automatic margin calculation results in very small margin (1308365)

  • Graphics: More work on alpha blending of canvas in the scene. (1313236)
    This is a change to a 2021.2.0a5 change, not seen in any released version, and will not be mentioned in final notes.

  • Graphics: RenderPass API: access to RenderTexture's implicit resolve surface fix (1313072)
    This is a change to a 2021.2.0 change, not seen in any released version, and will not be mentioned in final notes.

  • IMGUI: Hide the MaterialEditor in inspector when a MeshRenderer is hidden. (1289980)

  • iOS: Fixed a performance issue where Microphone.Start would cause CPU spikes on iOS. If the user selects the player setting "Prepare iOS for Recording", these spikes have been eliminated. They will now only occur when switching back-and-forth between a built-in microphone and a Bluetooth microphone. When using "Prepare iOS for Recording", most projects will also want to set "Force iOS Speakers when Recording". (1281833)

  • Linux: Converted "X11 did not respond within x milliseconds" error to a logged warning. (1309607)

  • Linux: Fix "Not Responding" dialog window opens up in the Player when the splash screen's logo duration is set to 4.65 or higher. (1249666)

  • Linux: Fix recognition of game controllers with same usd product id. (1300415)

  • macOS: Fixed a bug related to 8 monitors connected at one time. (1272030)

  • macOS: Fixed memory leak in HDR Display related code

  • Package Manager: Fix the button text being clipped and properties going out of panel under the foldout of Scoped Registries in Project Settings window.

  • Package Manager: Show package update icon and update button when there is a latest update available. Remove update icon and update button when there is a recommended update available that is not the latest update.

  • Particles: Prevent errors and invalid particle simulations, when using an Arc of 0 and Ping-Pong mode in the Shape module. (1278594)

  • Prefabs: Adding and applying new events to a deeper level Prefab when there is an event already corrupts the newly added events (1292519)

  • Profiler: Fix potential array outbound access on non-paired GPU marker begin/end (1295390)

  • Profiler: Fixed GLES performance regression caused by the new GPU Recorder GLES backend (1297080)

  • Profiler: Fixed HDRP/URP GPU statistics in Editor showing zeroes (1299569)

  • Scene Manager: Fix rename overlay in Hierarchy to support hierarchy changes while renaming. (1296235)

  • Scene/Game View: Fixing Slider1D Handle

  • Scripting: Correctly switch assembly name and type for scripts. Editor scripts and runtime scripts. (1293581)

  • Scripting: Fix exceptions getting logged in the Console when the Logger.logEnabled is set to false (1311534)

  • Search: Fixed NullReferenceException is thrown on enabling quick Search with background task window in HDRP template. (1313706)

  • Shaders: Fixed a crash on OOB access when calling disassembleShader (1312596)
    This is a change to a 2021.2.0a4 change, not seen in any released version, and will not be mentioned in final notes.

  • UI Toolkit: Double-clicking a uxml file will always open the UI Builder (1313423)

  • UI Toolkit: Fixed ellipsis showing up for no reason on UI Toolkit labels (1291452)

  • UI Toolkit: Fixed exception on Text Settings coming from uninitialized Line Breaking Rules when text wrap is enabled. (1305483)

  • UI Toolkit: Missing theme style sheet on PanelSettings now gets logged to console.

  • Video: Changing VideoPlayer.frame before playing the video does not change Video clock time (1297646)

  • XR: Fix for bug: Frame Debugger first freezes Unity, then breaks XR rendering (1275361)
    This has already been backported to older releases and will not be mentioned in final notes.

  • XR: Fix occlusion mesh showing up when stereo is disabled (1307273)

API Changes

  • Graphics: Added: Adding project-wide settings for RenderPipeline with RenderPipelineGlobalSettings.

  • Graphics: Added: Made GetQualitySettings() method public. This method is used by internal code to implement undo functionality in the Unity Editor

  • Graphics: Changed: Exposed UseSceneFiltering API as public.

  • Version Control: Added: VCS support can now be added to Unity with managed code only as opposed to implementing native plugin. See UnityEditor.VersionControl.VersionControlObject and related classes.

Improvements

  • Android: Added support for custom cursors to Android. The existing Unity player settings and C# functions related to custom cursors now work on Android 7.0 and later.

  • Particles: Add exception if sending too much particle data to SetCustomParticleData.

  • Particles: GPU Instanced Mesh particles may not use the same shader for the main geometry and the trails. Show a warning to the user if they do this.

  • Scene/Game View: Added Shortcut Manager entries for "Toggle Selection Outline" and "Toggle Selection Wireframe."

  • Scene/Game View: Improve documentation for EditorTool.

  • Scene/Game View: Improve documentation for HandleUtility.PickGameObject.

  • Scripting: Update Roslyn to 5.0.102, Update NetCore to 5.0.2

Features

  • UI Toolkit: Update UIElementsGenerator tool to the latest version

チェンジセット: dc497bf8326a