搜索Unity

Unity 2019.2 Beta版

提前使用即将推出的完整版的功能。

下载Unity 2019.2b

2019.2 Beta版中的一些新功能

Unity在2019 TECH Stream的下一个版本中将推出一系列新功能,想不想先睹为快。在此Beta版中,我们在Unity中集成了流行的Polybrush工具,为了向全球新受众推广您的游戏,我们还添加了Unity Distribution Platform,同时改进和扩充了移动、光照、2D、XR以及其他许多方面的工具。

  • 移动性能和工具改进
  • Intel Open Image Denoise库支持
  • 探针光照GI参与者
  • GPU光照贴图改进
  • Editor代码中的TypeCache API
  • HDRP for VR(预览)
  • LWRP和中的新2D功能

还有更多

移动性能和工具改进

2019.2b为移动开发者提供了一些或大或小的改进。

  • 通过与Google的Android Gaming and Graphics团队合作开发,为Android优化了Frame Pacing,让帧的分布更加平滑,从而提供一致的帧速率。
  • OpenGL多线程支持(iOS),可改进在不支持Metal的低端iOS设备上的性能(约占运行Unity游戏的iOS设备的25%)。
  • SRP Batcher的OpenGL支持(iOS和Android),可改进使用轻量渲染管线(LWRP)的项目的CPU性能。
  • 通过新的Screen.brightness属性控制屏幕亮度(iOS和Android)。
  • 显示屏镂空包围盒支持(Android),可通过新的Screen.cutouts属性检测Android设备凹口周围的包围盒。

Intel Open Image Denoise库支持

该跨平台库是一个基于深度学习的去噪滤波器。在Unity中,通过使用Intel最新发布的AI降噪器,它可以通过后期处理光照贴图改进光照贴图工作流程和光照贴图质量。这样可以使用少得多的样本数量产生平滑的无噪声光照贴图。有关详细信息,请观看我们在Unity GDC 2019上关于此主题的演讲。

探针光照GI参与者

我们修改了静态光照贴图对象的术语,从现在开始将使用Contribute GI。您可以选择Contribute GI的对象是从光照探针还是从光照贴图接收GI。网格渲染器、蒙皮网格渲染器和地形有新的下拉菜单,可让您选择是让对象从光照贴图还是从光照探针获取GI。

GPU光照贴图改进

在2019.2中,对于与CPU光照贴图同等的功能,GPU光照贴图(预览)采取了一些重要的措施。现在的GPU光照贴图具有:

  • 关于环境光照的多个重要采样支持。
  • NVIDIA Optix去噪支持。
  • 提高了使用视图优先级或小/低占用率光照贴图的采样性能。

Editor代码中的TypeCache API

TypeCache提供了一种访问使用特定属性或类型标记的类型(从特定类型或界面派生出来)或方法的快捷方式。它利用为Editor加载的所有程序集构建的内部本机缓存。通过新UnityEditor.TypeCache C# API可访问此功能。

HDRP for VR(预览)

高分辨率渲染管线(HDRP)是预先构建的高保真可编程渲染管线,专为计算着色器兼容平台上运行的项目而设计。HDRP在设计中提供了从制作最高分辨率的游戏到技术演示的工具。在此版本中,我们现在为VR提供了HDRP(预览)。HDRP for VR定位于高端PC,可让您打造绝佳的视觉效果和最佳性能。

LWRP和中的新2D功能

在2019.2b初始版本发布后不久,将使用实验性2D渲染器更新轻量级渲染管线(LWRP),其中包含2D Pixel Perfect和新的2D Lights。 此外,Shader Graph现在有可以创建2D Unlit和Lit精灵着色器的2D Masternodes。

Beta版内容

和任何Beta版程序一样,您可提前使用新功能并且将能够帮助完成最后开发步骤。这意味着您的Unity体验在稳定性上可能不及最终版本。

Beta版阶段在所有计划的主要功能被纳入并确定了质量基准之后开始。在此阶段将提供数个Beta版,并且质量将通过每次迭代得到改进。

Unity 2019.2 Beta版
抢先测试新闻简报

注册并接收关于Beta版的消息,了解如何成为高效的Beta版测试员的技巧。

RSS反馈

订阅我们的测试版信息源,并在其发布时立即访问最新的测试版。

订用

Unity 2019.2.0b6 发行说明

Known Issues in 2019.2.0b6

  • 2D: [Sprite Atlas] Null reference on selecting sprite atlas during/after play mode (1157053)

  • Android: [Mac] Editor crashes while creating build for Android. (1162157)

  • Asset Import: Crash when regenerating SpeedTree Materials, but only when using Asset Database V2. (1144442, 1148391)

  • Asset Import: Model imported in Unity before 2019.1 with meshes that don't have a name conserve their Local IDs and references to them are not lost anymore. (1147902, 1160477)
    Fixed in 2019.2.0b7.

  • Asset Importers: Crash when regenerating SpeedTree Materials, but only when using Asset Database V2 (1144442)

  • Asset Importers: Unity freezes after reimporting a material with a Default texture type normal map (1159483)

  • Assets Management: AssetDatabase V2 gets stuck while importing (1149059)

  • Editor - Other: [HUB] Editor doesn't restart instead Hub opens up on selecting "Restart Editor" from popup when changing Graphics APIs. (1134314)

  • Editor: DLL Errors in IAP occur when upgrading project to 2019.2 or 2019.3. (1152392, 1153071)

  • Graphics: Terrain alphamaps now ignore QualitySettings master texture limit (1148582, 1154326)
    Fixed in 2019.2.0b7.

  • IL2CPP: NotImplementedException is thrown when use System.IO.Pipes (1159863)

  • Linux: Game object Start and Update methods are not called for game objects created from Editor Mode tests (1157976)

  • MacOS: [OSX] Default Icon for Mac Standalone is distorted (1152484)

  • MacOS: [OSX] UI Scroll View is much more sensitive to scroll after upgrading to 2019.2 (1162791)

  • OSX: Fix a tessellation crash issue with Intel 4000 GPU and fencing. (1158299, 1158342)
    This is a 2019.2 issue, not seen in any released version.
    Fixed in 2019.2.0b7.

  • Package Manager: Fix dependent package disappearing after removal (1140705, 1152141, 1152167, 1152815, 1152851, 1152867, 1152871, 1153066, 1162931)
    Fixed in 2019.2.0b7.

  • Package Manager: Test Framework package disappears from the list after removing. (1152815, 1152871)

  • Package Manager: The Package Manager UI does not refresh when packages are installed or removed. (1148329, 1152868)

  • Physics2D: Colliders are not merged when using CompositeCollider2D (1156794)

  • Physics: [Cloth] Stretching and bending stiffness of cloth gets clenched and does not work as expected from 2019.2.0a7 (1162758)

  • Prefabs: Fixed so modifying and deleting prefab asset in Prefab Mode ignores trying to reload prefab from disk. (1156017, 1159273)
    This is a 2019.2 issue, not seen in any released version.
    Fixed in 2019.2.0b7.

  • Scene/Game View: Panels displayed in scene view block user input across the width of the viewport (1147144)

  • SceneManager: Fix editor freezing if error is thrown while modifying multiple Prefab assets. (1150176, 1156292)
    Fixed in 2019.2.0b7.

  • SceneManager: Fixed undo of prefab asset after using Apply All from the overrides dropdown. (1150496, 1156293)
    Fixed in 2019.2.0b7.

  • Scripting: ScriptUpdater does not run when Editor is lanched with skipupgradeDialogs command line argument (1162226)

  • Scripting: Fix crash during Asset GC with large managed collections. (1137077, 1144682)
    Fixed in 2019.2.0b7.

  • Scripting: Fix crash during async debugging. (1153078, 1160547)
    Fixed in 2019.2.0b7.

  • Scripting: [Templates] Clamp BlendShapes are set to true by default when creating new projects (1148638)

  • UI Elements: Fix the drop area of groups in graph view. (1152487, 1155396)
    Fixed in 2019.2.0b7.

  • UI: Re-enabling game object with "Toggle group" loses information about previously checked toggle (1146883)

  • Version Control: Meta Files are now Hidden by Default. (1144410, 1144494)

  • Video: [Windows 7] Crash on WindowsVideoMedia::CopyToRGBA when importing video file (1154547)

  • XR: Cardboard projects default to 30fps unless targetFrameRate is set to 60. (1143799, 1144492)

New 2019.2.0b6 Entries since 2019.2.0b5

Backwards Compatibility Breaking Changes

  • Android: Android Gradle plugin version updated up to 3.4

  • Android: Default threshold for warning about App Bundle size increased up to 150MB
    This is a new issue, not seen in any released version.

  • Asset Import: Starting with the Unity 2019.3 release, direct import of Cinema4D files will require an external plugin. Keep an eye on our External Tools forum for updates: https://on.unity.com/c4d.

  • Scripting: Recommended Visual Studio installer upgrade to version 2019

Changes

  • Android: Gradle version updated up to 5.1.1

Improvements

  • Windows: Added a Player Setting for reverting to BltBlt swapchain model which was used before 2019.1. This enables several scenarios like transparent window to be used once again

  • XR: Added GPU Profiler support for Oculus Quest and Oculus Go.

  • XR: Updated Oculus to use the 1.36 plugin.

Fixes

  • Asset Import: Fixed a crash in the Sketchup Importer with specific .skp files. (1152480, 1158398)

  • Asset Import: Fixed an issue where plugins marked as compatible with "All Platforms" were not being included in the Lumin builds. (1117516, 1150828)
    This has already been backported to older releases.

  • Asset Import: Fixed AudioImporter inspector in Presets and platform specific settings when doing Reset or applying a Preset. (1150491, 1156484)

  • Asset Import: Fixed VideoClipImporter inspector in Presets and platform specific settings when doing Reset or applying a Preset. (1150492, 1156789)
    This is a 2019.2 issue, not seen in any released version.

  • Editor: CustomPropertyDrawers of array elements inside another array is now working properly on each element. (1156837, 1158011)

  • Editor: Fix game view scale in play mode for mobile platforms. (1140742, 1151180)
    This has already been backported to older releases.

  • Editor: Fixed issue where SceneVis was not preventing picking of objects with gizmos and no renderers (1141999, 1146284, 1157413, 1157415)
    This has already been backported to older releases.

  • Editor: Fixed unlocalized addcomponent menu on Inspector. (1158141, 1159305)
    This is a 2019.2 issue, not seen in any released version.

  • Editor: Optimization on scene handle position computing (1137064, 1154695)

  • Editor: Optimization: for big nested prefabs, the search of removed components in the inspector could be slow (1137064, 1154696)

  • Editor: Preset asset does not show an error anymore when deleted in ADB2. (1157112, 1159888)

  • Graphics: Fix for Xbox 32-bit float formats in UAVs not working (1141538, 1153168)

  • Graphics: Fixed a crash that can occur when accessing the MeshFilter.mesh property when the mesh is loaded via the async upload manager. (1124524, 1158402)

  • Graphics: Fixed an infinite console error loop when the user tries to assign a 2D texture in the Cubemap field of a Custom Reflection Probe. (1156727, 1156969)

  • Graphics: Fixed bad alignment of render surface resource heaps (1155163, 1156592)

  • Graphics: Fixed OpenGL 4.2 rendering the editor pink. (1146762, 1150530)

  • IL2CPP: Correct handling of exceptions in some try/finally situations. (1136256, 1152170)
    This has already been backported to older releases.

  • IL2CPP: Fix AppleTlsProvider error on iOS when Strip Engine Code is enabled caused by incorrectly falling back to AppleTlsProvider. (1134343, 1154765)
    This has already been backported to older releases.

  • iOS: Add missing RG16 texture format for Metal.

  • Linux: Fixed submenus from losing focus, thus closing prematurely and not being functional. (1142911, 1144233)

  • Mobile: Fixed crash and data corruption occuring when multiple Assetbundles were loaded concurrently. (1140019, 1148620)
    This has already been backported to older releases.

  • OSX: Fixed focus issues between multiple visible game views. (1145433, 1153165)

  • Package Manager: Fixed an issue where the cancel icon (x) on the Search box in the Package Manager UI disappears when installing or removing a package. (1152444, 1156832)

  • Particles: Fixed an issue where the Particle System Inspector can become slow after editing its material but not saving the changes. (1154688, 1159215)
    This has already been backported to older releases.

  • Prefabs: Fixed nested Canvases not getting treated as nested Canvases in Prefab Mode if the Canvas had no visual elements (CanvasRenderers) under it. This could cause properties to get reset due to being driven as a Screen Space Canvas. (1103699, 1156304)

  • SceneManager: Documentation of SaveAsPrefab now has a note about namebased replace. (1152708, 1154227)
    This has already been backported to older releases.

  • SceneManager: Fixed drag and drop replacing of prefab when dragging variant to project folder. (1152704, 1154213)
    This has already been backported to older releases.

  • Shaders: Fixed shader include errors after package updates (1141216, 1155955)

  • Terrain: Fixed an issue with Terrain's deprecated splatPrototype from runtime script (1126400, 1150744)
    This has already been backported to older releases.

  • Terrain: Fixed case 1148469 : Trees are not generated from Code in the Built Game when Terrain Data is created via Code using the Constructor (1148469, 1158548)

  • UI: Fix issue with null TransformHierarchy while Updating RectTransform (1102234, 1158048)

  • UI: Fixing compilation errors in .asmdefs that require a reference to the uGUI package. (1154163, 1154711)

  • Universal Windows Platform: Files in StreamingAssets directory are now treated as generic data files so they won't get consumed by various VS tools like the XAML compiler (1110262, 1152578)
    This has already been backported to older releases.

  • Universal Windows Platform: Fixed reference rewriter complaining about managed code referencing fields from winmd files when those fields are of types that project to CLR from Windows Runtime. (1146307, 1159987)

  • Universal Windows Platform: Fixed UnityEngine.WSA.Application.windowActivated and UnityEngine.WSA.Application.windowSizeChanged events not firing. (1146982, 1159986)
    This has already been backported to older releases.

  • Version Control: Fixed a case where a Version Controlled Project would not update ProjectSettings/ProjectVersion.txt on editor start. (1131599, 1146735)
    This has already been backported to older releases.

  • WebGL: Fix rendering errors in WebGL when canvas is not displayed (1141232, 1154630)

  • Windows: Fixed locked cursor getting placed slightly off center in the editor and the standalone player (824304, 1152575)
    This has already been backported to older releases.

  • XR: Fix API used to switch to/from on scrren keyboard in HoloLens to use correct anchor window id. (1156224, 1156226)
    This has already been backported to older releases.

  • XR: Fix source state assert if there are no source states to get in Windows MR Gesture Recognizer. (1152462, 1156184)
    This has already been backported to older releases.

Preview of Final 2019.2.0b6 Release Notes

System Requirements Changes

Nothing changed.

Features

  • 2D: Added a Secondary Textures module to the Sprite Editor.

  • 2D: The Sprite Editor window is now available as a package.

  • Android: Added AAB file size validation to Android app bundles. You can disable this in the Android Player Settings (Warn About App Bundle Size) and adjust the maximum size (App Bundle Size Threshold).

  • Android: Added Optimized Frame Pacing.

  • Animation: Added a selection filter for the Animation window to only show properties and curves of selected GameObjects.

  • Editor: Added VSCode, Visual Studio, and Rider code editor integration as Packages.

  • Editor: Updated behavior so that when you double-click on C# compile messages in the console window in Visual Studio, the corresponding C# file opens at the correct line and column.

  • Editor: Updated behavior so that when you double-click on C# compile messages in the console window, in Visual Studio in Windows, the corresponding C# file opens at the correct line and column.

  • GI: Added Static Scene Dressing, which lets the user choose whether GameObjects that contribute to Global Ilumination should receive GI from Light Probes or Lightmaps.

  • GI: Added support for multiple importance sampling the environment to the GPU lightmapper.

  • GI: Added support for the cross-platform Intel lightmap denoiser, Intel Open Image Denoise.

  • Graphics: Added SpeedTree support to the Scriptable Render Pipeline.

  • Graphics: Added support for all GPU formats for RenderTexture with Vulkan.

  • Graphics: Added support for partial mipmap chains in Texture classes.

  • iOS: Added client/worker multi-threaded rendering support for OpenGL ES 2 and 3.

  • Package Manager: Added the ability to show or hide Packages in the Project Browser and Object Picker.

  • Physics: Upgraded the cloth library to use NVIDIA's NvCloth Library instead of the deprecated PxCloth.

  • Scripting: Added support for Assembly Definition Reference (.asmref) files.

  • UI Elements: Added UIElements Samples window. This window provides quick UIElements code snippets in the Editor.

  • VFX: Added core pieces to support MotionVectors in VFX Editor (preview Package).

Backwards Compatibility Breaking Changes

  • 2D: Updated the 2D Project Template manifest.json to include 'com.unity.2d.sprite' and 'com.unity.2d.tilemap' as core packages.

  • Android: Android Gradle plugin version updated up to 3.4

  • Android: Deprecated x86 support.

  • Android: Increased the minimum Vulkan API version for Adreno drivers to 1.0.38.

  • Animation: Constraints are now evaluated before LateUpdate script (1123107)

  • Asset Import: Starting with the Unity 2019.3 release, direct import of Cinema4D files will require an external plugin. Keep an eye on our External Tools forum for updates: https://on.unity.com/c4d.

  • Editor: Changed default shortcut for Stage/Go Back from O to H to avoid shortcut conflicts in Project templates.

  • Editor: Removed most of the legacy Module Manager. Only extension modules located inside the Unity install are loaded now. Also completely removed the Modules... menu item and window.

  • Editor: UGui Objects use ObjectFactory and default Presets when created from the GameObject menu in the Editor.

  • Facebook: Added deprecation warning for Facebook Gameroom platform.

  • Graphics: Added Rendering Layer Mask to Lights as a filtering option during shadow passes in Scriptable Render Pipelines. This is similar to Renderers Rendering Layer Masks.

  • Graphics: Asynchronous Shader compilation: Blit now never uses cyan dummy Shader.

  • Graphics: Asynchronous Shader compilation: DrawProcedural now skips rendering during compilation instead of trying to use the dummy Shader.

  • Graphics: Moved the Async Shader Compilation option from Preferences to Project Settings.

  • Graphics: Support graphics API switching by restarting Unity.

  • Prefabs: Prefabs created by dragging into the hierarchy are now parents to the correct parent, instead of being a root object. The correct parent will thus be set in Awake calls.

  • Scripting: Made the GarbageCollector.GCMode property only throw an exception on unsupported platforms when trying to change it's value, not when reading it.

  • Scripting: Recommended Visual Studio installer upgrade to version 2019

  • Timeline: Clip properties are no longer animated by recording. They are now animated using the inline curves.

  • Timeline: Updated Timeline package version to 1.1.0.

  • XR: Moved Vuforia support to a package.

  • XR: Oculus (Standalone) and OpenVR (Standalone) package names have been changed to use (Desktop) instead of (Standalone).

Changes

  • Android: Gradle version updated up to 5.1.1

  • Android: Updated Bundletool to version 0.7.2.

  • VFX: Changed the awakening process of the VisualEffect component, so you can now use the Inspector even if the component is disabled. (1117103)

Improvements

  • 2D: Add multi-texture support to SpriteShapeRenderer

  • 2D: Add multi-texture support to TilemapRenderer

  • 2D: Added a toggle switch to the Grid Brush for a mode to change Z Positions of Tiles.

  • 2D: Added the CreateTileFromPaletteAttribute to allow users to specify how and what Tiles are created when dragging Assets onto the Tile Palette window.

  • 2D: Exposed GridPaintingState APIs to allow users to programatically change Tile Palette Painting states

  • 2D: Users can now convert Prefabs to Tile Palettes by dragging a valid Prefab onto the Tile Palette window.

  • Android: AndroidJava* and AndroidJNI APIs moved to built in package AndroidJNI.

  • Android: Enabled Vulkan support for Optimized frame pacing on Android.

  • Android: Implemented Screen.Brightness property for Android (read only)

  • Android: Improved performance of string marshaling between C# and Java (up to 50% faster).

  • Android: Reduce armv7 code size by 20% by enabling thumb.

  • Android: Small reduction in job overhead when few cores are being used.

  • Android: The Unity video player can now be used with the Vulkan renderer.

  • Android: When set to true, you can mimic TouchScreenKeyboard.hideInput by drawing an input field outside the screen.

  • Animation: Added a right-click menu option to jump to a specific AnimatorController State while liveLinked.

  • Animation: Added option to hide read-only clip properties and curves in the Animation Window to improve editor performance.

  • Animation: Added option to hide read-only clip properties and curves in the Animation Window to improve editor performance.

  • Animation: Added selection filter for the Animation Window. Only shows properties and curves of selected game objects.

  • Animation: Added visibility feedback in the Animator Inspector Info box

  • Animation: Added visual feedback and hotkeys for the ripple option in the Animation Window.

  • Animation: Added visual feedback and hotkeys for the ripple option in the Animation Window.

  • Animation: The Animation Window can now be used to preview/author Animation C# Jobs constraints.

  • Animation: Updated animation window to preview/author Animation C# Jobs constraints.

  • Asset Import: Added a new Cancel option for changing the Import Settings for Assets in addition to Apply and Revert. The Cancel option is the default when pressing or closing the popup. Canceling restores the current selection and keeps the unapplied changes.

  • Asset Import: Compressor Quality can now be set in the texture asset import settings for BC6H and BC7 formats allowing compression quality to be traded for import speed.

  • Asset Import: Undo and Redo are now available on the Import Settings window while importing Assets.

  • Asset Import: Updated Sketchup SDK to version 19.0.

  • DX12: Improved performance of async texture loading in DX12 to avoid a rendering stall when 2D textures are created.

  • Editor: Added Enable Code Coverage option in General Preferences. Added a popup and a Console warning that notifies users that enabling Coverage slows performance. The window title now displays [CODE COVERAGE] when Coverage is enabled.

  • Editor: Added a message box whenever the OS fails to delete an asset when deleted from the Project Browser view.

  • Editor: Added a proxy icon for the currently open Scene to the title bar in the main Editor window on macOS.

  • Editor: Added a toggle to the Scene Camera settings for infinite acceleration when navigating with flying mode.

  • Editor: Added Araxis Merge support on Revision Control Diff/Merge tool.

  • Editor: Added new options for expanding/collapsing the components in the inspector context menu.

  • Editor: Added shortcut for Scene Visibility Show All.

  • Editor: Exposed ProjectWindowUtil.CreateScriptAssetFromTemplateFile. This function allows Editor scripts to create new text-based assets from template files in a similar way to how the built-in C# Script template is used to create new MonoBehaviour classes.

  • Editor: Made ProBuilder a recommended package.

  • Editor: Made the RenderDoc capture button in the Scene/Game view work with the Xcode frame debugger in Metal. This requires launching Unity through Xcode with the Metal frame capture enabled.

  • Editor: Moved Camera Easing options from Preferences to Camera Settings in the Scene view.

  • Editor: Moved Camera Easing options from Preferences to Camera Settings in the Scene view.

  • Editor: Optimized Inspector refresh after entering Play mode.

  • Editor: Reduced the number of key presses in order to start a rebind in the Shortcut manager.

  • GI: Added a 'None' mode for emissive GI contribution in the standard shader GUI.

  • GI: Added mixed area lights to culling results, which enable mixed rectangular lights in HDRP.

  • GI: Added Rendering.GraphicsSettings.realtimeDirectRectangularAreaLights to enable HDRP to provide direct realtime area lighting.

  • GI: Improved baking speed for the Progressive lightmapper in cases with many Light Probe sets in the Scene.

  • GI: Improved GPU Lightmapper performance by generating many rays per texel/Light Probe for indirect lighting. Optimized direct lighting by using compaction.

  • GI: Improved the GPU Lightmapper performance by generating many rays per texel/Light Probe for direct lighting.

  • GI: Optimized time to first lit texel for the progressive lightmappers by multithreading heavy functions.

  • GI: Realtime GI now uses correct lightomg falloff for indirect Lights when you use configurable light falloff.

  • GI: Reduced GPU memory footprint for the GPU Lightmapper when baking lighting. This is done by compressing normal vectors and albedo.

  • GI: The GPU Lightmapper now supports the Optix AI denoiser.

  • GI: Upgraded Optix AI Denoiser to version 6. This new version has better performance and a lower memory footprint.

  • Graphics: Added profiler markers for splash screen.

  • Graphics: Added sprite mesh support for Splash Screen logos. You can now use tight mesh mode and Vector sprites.

  • Graphics: Added SRP hooks for detail rendering Shaders.

  • Graphics: Added support for Dynamic Resolution Scaling to the Lightweight Rendering Pipeline.

  • Graphics: Added the ability to disable the blur on the splash screen background.

  • Graphics: Asynchronous Shader compilation: Minimized cyan dummy shader flashes by variant tracking and warmup.

  • Graphics: Deferred the creation of command buffers and render encoders until they are needed in Metal.

  • Graphics: Improved performance of async texture loading on PS4 to remove a rendering stall when 2D textures are created.

  • Graphics: SRP batcher is now supported on OpenGL 4.2+ and OpenGL ES 3.1+.

  • Graphics: The SRP Batcher is now supported on Xbox DirectX11.

  • iOS: Added new iOS device (released in 2018) identification support to the Profiler.

  • iOS: Added LowPowerModeEnabled and WantsSoftwareDimming properties to iOS.Device and a Brightness Property to Screen (currently only supported on iOS).

  • iOS: Can now select architecture for native plugins on iOS & TvOS.

  • iOS: ReplayKit improvements:

    • For local recordings, we can now capture the local camera, microphone, and screen.
    • The size of the preview window overlay can now be adjusted.
    • Added ReplayKit.isPreviewControllerActive, ReplayKit.PauseBroadcasting, and ReplayKit.ResumeBroadcasting.
  • Kernel: Performance improvements in internal Matrix4x4 Invert method used primarily by Rendering and Cameras.

  • Mobile: Improved performance of async texture loading on iOS to remove a rendering stall when 2D textures are created.

  • OSX: Native plugins with the .dylib file extension are now supported.

  • Package Manager: Added support to include built-in packages in the Project as dependencies of other packages.

  • Package Manager: Improved package visibility in the Project view and the Object Picker.

  • Package Manager: Improved Undo/Redo and Cancel button handling in the Package Manifest Importer window.

  • Package Manager: Installed modules now appear in the Dependencies list alongside package dependencies.

  • Particles: Made missing External Forces module properties available in scripting API.

  • Physics: Upgraded the cloth library to use NVIDIA's NvCloth Library instead of the deprecated PxCloth.

  • Plugins: Added Unity Companion license to the Plugin API header.

  • Profiler: Memory Profiler added single threaded platform support. Eg: WebGL.

  • Profiler: Players will show up more consistently in the profiler list, when there are a lot of players running on the same network, previously Editor wouldn't keep up with message processing incoming from a lot of players, thus it was taking a while for a new player to show up in the profiler list.

  • Profiler: Provide dynamic code (Mono JIT) information to VTune Amplifier.

  • Profiler: Reduced profiler overhead when flushing data from Job threads.

  • Profiler: Unity created threads are now named in VTune profiler.

  • ps4: Improved PS4 Additional content to support multiple products.

  • Scripting: Enabled incremental Garbage Collection in the Editor.

  • Scripting: Managed debugger will now output which network port it's listening on to the player log

  • Shaders: Defined UNITY_SEPARATE_TEXTURE_SAMPLER in HlslSupport.cginc for platforms capable of separate texture and sampler objects.

  • Shaders: Moved 38 built-in keywords to local keywords. Shaders inspector now shows used global/local keywords by shader.

  • Terrain: Made changes such that the system no longer generates basemap Textures if you do not use the basemap shader.

  • Terrain: Made changes to allow local keywords, which are defined with multi_compile_local or shader_feature_local, for Terrain shaders.

  • Terrain: Removed the Terrain Material enum type, and changed built-in Terrain Materials into selectable Assets.

  • Timeline: Added ability to override loop setting on AnimationClips in Timeline. (1140766, 1144743)

  • Timeline: Added the ability to mute an entire group.

  • Timeline: Added UI to animate track and clip properties.

  • Timeline: New read-only mode, when timeline asset is not editable (file readonly flag or by source control).

  • UI: Added ability to modify the UI Dropdown's Alpha fade when showing and hiding.

  • UI: Adding ability to modify the pixel per unit used during the calculation of sliced and tiled sprites.

  • UI: Removed the spritePacking tag option from the TextureImporter when not using the legacy packing mode.

  • UI Elements: Prevented exceptions thrown by user code from corrupting the UI renderer.

  • Video: Improved documentation for platform strings used VideoClipImporter Set/Get/ClearTargetSettings

  • Windows: Added a Player Setting for reverting to BltBlt swapchain model which was used before 2019.1. This enables several scenarios like transparent window to be used once again

  • XR: Add Low Overhead Mode setting to Oculus (Android) to do less driver validation, which can potentially increase performance.

  • XR: Added GPU Profiler support for Oculus Quest and Oculus Go.

  • XR: Moved the Google VR Cardboard and Daydream support to a package and updated to version 1.180.

  • XR: Updated Oculus to use the 1.36 plugin.

  • XR: Updated Vuforia to version 8.0.10.

API Changes

  • AI: Added the GetEdgesAndNeighbors() method in the NavMeshQuery class for retrieving the shape of a given node and all the navigation nodes which it connects to. The method can be called in jobs.

  • Android: Added support for JNI Weak References (AndroidJNI class).

  • Asset Import: Added an API in the Model Importer to prevent GameObjects from being sorted by name in imported GameObject hierarchies.

  • Editor: Added API for Scene Visibility.

  • Editor: Added more API endpoints for TransformHandle to allow granular control over which handles appear.

  • Editor: Added new API to better detect and control async shader compilation in the Editor.

  • Editor: Added AssemblyBuilder.referencesOptions to allow building assemblies using UnityEngine module .dlls instead of the default monolithic UnityEngine.dll.

  • Editor: Added AssetDatabase.OpenAsset() overloads that take both a line number and column number.

  • Editor: Added Editor.DrawFoldoutInspector to draw a nested Inspector with a foldout title bar.

  • Editor: Added EditorWindow.CreateWindow, which works like EditorWindow.GetWindow, but always creates a new window.

  • Editor: Added GameObjectUtility.GetMonoBehavioursWithMissingScriptCount and GameObjectUtility.RemoveMonoBehavioursWithMissingScriptfor removing MonoBehaviours with missing scripts from GameObjects.

  • Editor: Added MaterialEditor.customShaderGUI property that returns the active ShaderGUI object for the current material.

  • Editor: Changing the display name of enum values in the Inspector is now done using the InspectorNameAttribute instead of the DescriptionAttribute. (1115381)

  • Editor: Renamed SceneView.SceneViewCameraSettings to SceneView.CameraSettings.

  • Editor: Replaced EditorTool.OnActivate and OnDeactivate methods with EditorTools events. This addresses callback order problems.

  • Editor: OnOpenAsset attribute now supports method signature (int instanceId, int line, int column)

  • GI: Added Gizmos.exposure texture which, when set, is readback to determine exposure correction for LightProbe gizmos. This is the alternative to correcting them via Postprocessing.

  • GI: Fixed issue where we can't set Lightmap Parameters from script on non-prefab objects. (966408)

  • Graphics: - Changed the SRP signature of BeginCameraRendering and BeginFrameRendering to give access to the ScriptableRenderContext.

    • Added callbacks for end camera and end frame rendering.
  • Graphics: Added the static function, Inverse3DAffine(), to Matrix4x4 to compute the inverse of an affine matrix.

  • Kernel: The function, UnsafeUtility.MemCpyReplicate(), no longer logs a failed assertion or raises an exception when the size or Count parameters are zero. Instead, it passively exits (like the other UnsafeUtility methods).

  • Mobile: Added 'Screen.cutouts' to get display cutout bounding boxes

  • Mobile: Application.absoluteURL property and Application.deepLinkActivated event to handle application activation via deep link, implemented for Android/iOS/UWP

  • Package Manager: Added an Editor API for retrieving package information based on an Asset path or an assembly:

    • PackageManager.PackageInfo.FindForAssetPath(string assetPath)
    • PackageManager.PackageInfo.FindForAssembly(Assembly assembly)
  • Scripting: Add the TryGetComponent API to GameObject and Component classes that do not allocate in the editor when the component does not exist

  • Scripting: Added UnityEditor.TypeCache API for fast extraction of derived types, methods or classes marked with an attribute.

  • Shaders: Added the Shader.FindPassTagValue method for querying pass tag values.

  • Shaders: Added the Shader.passCount property for retrieving the number of shader passes of the active SubShader.

  • Terrain: Added a non-alloc version overload to the new TerrainData.GetInterpolatedHeights API.

  • Terrain: Added new callback APIs to monitor changes to Terrain Textures.

    • TerrainAPI.TerrainCallbacks.heightmapChanged
    • TerrainAPI.TerrainCallbacks.textureChanged These callbacks return both the changed rect region, and whether the change is synchronized to the CPU or is GPU only.
  • Terrain: Added new TerrainData APIs to modify Terrain Textures more easily.

    • TerrainData.CopyActiveRenderTextureToHeightmap
    • TerrainData.CopyActiveRenderTextureToTexture Use the two above functions to copy content of the active RT into Terrain Textures, and optionally delay CPU synchronization, for instance, when a mousemove event occurs in the middle of painting.

    • TerrainData.DirtyHeightmapRegion

    • TerrainData.DirtyTextureRegion Use these two functions instead of ones initially listed if the user directly changes the GPU resources through other means.

    • TerrainData.SyncHeightmap

    • TerrainData.SyncTexture Use these two functions to perform a full synchronization from GPU to CPU, for instance, when a mouseup event occurs.
  • Terrain: Added the TerrainData.GetInterpolatedHeights method for querying interpolated Terrain height values over a grid of samples.

  • Terrain: Added TerrainData.SetTerrainLayersRegisterUndo for setting the terrainLayers property. This function also lets undo operations in the Editor correctly handle Textures created or destroyed during the process.

  • Terrain: Deprecate TerrainData.UpdateDirtyRegion. Use TerrainData.DirtyHeightmapRegion instead.

  • Terrain: Deprecated Terrain.ApplyDelayedHeightmapModification. Use TerrainData.SyncHeightmap instead.

  • Terrain: Exposed the TerrainLayerInspector class.

  • Time: Introduced Time.captureDeltaTime, a more precise floating point reciprocal of Time.captureFramerate

  • Timeline: Added ClipEditor, TrackEditor, and MarkerEditor classes the user can derived from to modify custom clips, tracks and marker functionality inside the Timeline Editor

  • Timeline: Added TimelineEditor.selectedClip and TimelineEditor.selectedClips that gets and sets TimelineClips selected by the Timeline Editor

  • Timeline: Added TrackAsset.mutedInHierarchy to determine if a track is muted because it is in a muted group.

  • Timeline: Exposed FootIK option on Timeline Animation Clips (1115652)

  • Video: MediaEncoder.AddFrame now has overloads that take timestamps for producing Variable Frame Rate movies. Timestamps are expressed using new MediaTime struct.

  • Video: VideoClipImporter and VideoClip now have a sRGBClip and sRGB property, respectively, to describe whether content is sRGB or linear.

  • XR: Added the XRSetting property XR.XRSettings.deviceEyeTextureDimension which allows you to determine what the XR platform's swap chain eye texture layout is.

  • XR: Added UNITY_INITIALIZE_OUTPUT_STEREO_EYE_INDEX to the builtin shader macros to allow for transfering the unity_StereoEyeIndex from a vertex shader to a geometry shader.

  • XR: Added XR.XRDevice.UpdateEyeTextureAntiAliasingSettings to force the hmd swap chain to be reallocated when the MSAA sample count is changed.

Fixes

  • 2D: Changed position of Tile Instantiated GameObject to align with the Tile Anchor position of the Tilemap.

  • 2D: Cleaned up and updated the Sorting Group status of Renderers whose GameObjects were activated and then deactivated. (1141682, 1151999)

  • 2D: Fixed an issue where a Particle System's Sorting Fudge value while it is in a Sorting Group caused it to sort correctly. Similar Renderers are now sorted according to their Sorting Group order.

  • 2D: Fixed an issue where a Sprite Atlas did not change when its associated "Object for Packing" Texture was modified by a custom AssetPostprocessor script. (1135638)

  • 2D: Fixed crash when rendering a Hexagonal Tilemap with Top Left/Right Sort Order in Individual mode (1142429, 1155196)

  • 2D: Fixed links to documentation for Tilemap components. (972901)

  • 2D: Fixed the offset of a Tile's Collider shape when a Grid Collider type is used with an Isometric Grid. (1148573, 1155197)

  • 2D: Updated SortingLayerField and SpriteRendererEditor to correctly handle PrefabOverrides. (1109376, 1151997)

  • Analytics: Passing Unity objects to AnalyticsEvent causes allocation leak warnings (1086690)

  • Android: File system: Fixed incomplete reading of large files (1111919)

  • Android: Fix apk version parsing failing due to unexpected java output (1133867)

  • Android: Fix Editor crash on opening Player Settings when Android SDK is not setup. (1143624, 1144223)

  • Android: Fix error when trying to sign a development build (1137971)

  • Android: Fix large Unicode character marshaling between C# and Java on Android 4 and 5. (1123693)

  • Android: Fix [Android] Only part of Static Splash Image is visible on load when Splash Image is transparent. (1136826)

  • Android: Fixed a crash when using Android JNI methods from custom thread. (545977)

  • Android: Fixes an issue where custom android libraries would not be initialized after launching an app after previously exiting the app via Application.Quit. (1116123)

  • Android: Make Android handle an Application.targetFrameRate value of -1 as 30 fps again.

  • Android: Touch and mouse position's y value will be inverted in the native backend instead of managed code in the new input system

  • Animation: Allow deleting curve keys whilst dragging, without throwing errors. (1129837)

  • Animation: Fix live link not showing the right edge (1032879)

  • Animation: Fixed a crash when unloading animations that are part of an AnimatorController. (1122054)

  • Animation: Fixed an issue where RectTransform properties would show missing curves that were not actually missing (1115014)

  • Animation: Fixed an issue where the Animation Component would stay ActiveAndEnabled when the GameObject was disabled. (1094567)

  • Animation: Fixed an issue where the AnimationEvent "Function" field would accept spaces. (1111933)

  • Animation: Fixed an issue where the Avatar preview would not react to ObjectSelector changes. (1113154)

  • Animation: Fixed an issue where the preview of transitions with exitTime == 0 would generate some NaN errors (1092857)

  • Animation: Fixed AnimationUtility.SetAnimationClipSettings not regenerating runtime data. (1091972)

  • Animation: Fixed crash when changing controller in Animator Override Controller used in a Playable Graph. (1104518)

  • Animation: Fixed FileNotFoundException when double-clicking to open an Animator Controller asset. (1127826)

  • Animation: Fixed issue with .NET 4.0 causing issues with System.Single conversion (1057751)

  • Animation: Fixed memory leak in AnimationWindow when inspecting animation with large number of keyframes (1092423)

  • Animation: Fixed TransformStreamHandle.GetPosition not returning global position when applyRootMotion is off and user is controlling the root transform. (1115701)

  • Animation: Properly stop graph when switching to manual update mode (1084441)

  • Animation: Right clicking on an item in a ReoderableList will select it, but will not trigger dragging logic (907650)

  • Animation: Throw argument exception when legacy clip is used with AnimationClipPlayable (1100643)

  • Asset Import: An error message now appears in the Texture Import Settings window when assigning an invalid texture format for a given platform and texture type. (1115190)

  • Asset Import: Fixed a compression quality issue found with some Textures using DXT1/BC1 and DXT5/BC3 compressed Texture formats. (1132906, 1148707)

  • Asset Import: Fixed a crash in the Sketchup Importer with specific .skp files. (1152480, 1158398)

  • Asset Import: Fixed a regression where the contextual menu items for adding and deleting events were not working on the Animation tab of the Import Settings window. (1136900, 1144451)

  • Asset Import: Fixed an issue where imported Assets were reverting to their names at the time of export, if they didn't match the name associated with the GUID. (1130301)

  • Asset Import: Fixed an issue where re-importing a Shader caused a property size to keep growing even when the Shader failed to compile. (1127367)

  • Asset Import: Fixed AudioImporter inspector in Presets and platform specific settings when doing Reset or applying a Preset. (1150491, 1156484)

  • Asset Import: Fixed cases where Sketchup files, originating from Sketchup 2019, failed to import successfully.

  • Asset Import: Fixed issue where clicking Cancel on the Import Package dialog failed to invoke the importPackageCancelled callback. (1037916)

  • Asset Import: Fixed issue where Unity returned an error instead of creating an empty package if no Assets can be exported. (1105480)

  • Asset Import: The Import Settings window now shows a specific error when the Editor is not a valid MonoScript type. (1127110)

  • Asset Pipeline: Fixed an issue with Unity crashing when a Material that is highlighted in the Project window is overwritten from a script. (1119351)

  • Audio: Removed "raw speaker mode" option from Project Settings for audio, as it was never usable and made the matching enum value obsolete. (1062387)

  • Build Pipeline: Fix "Sprite Atlas Sprites Included in Bundle Multiple Times" (1121868)

  • Build Pipeline: Fix Unity allows to build project via script with not compatible color space and graphics API. (1076664)

  • Build Pipeline: Fixed an issue where BuildPipeline.BuildAssetBundles was not releasing memory frequently enough leading to a out of memory crash

  • Build Pipeline: Include the splash screen background textures even when the splash screen is disabled. If we dont then using the scripting api to draw the splash screen produces logos but no background. (1117936)

  • Build Pipeline: We now Include the splash screen background textures even when the splash screen is disabled. If we dont then using the scripting api to draw the splash screen produces logos but no background. (1114547)

  • DX12: Fixed exclusive fullscreen always reverting to windowed fullscreen.

  • Editor: Acknowledge [Normal] attribute in shader when checking that normal maps have "Normal Map" texture usage (1132148)

  • Editor: Added an error message to EditorGUI.EndChangeCheck when the stack is empty.

  • Editor: Added Material checkout support from within the Game Object Inspector. Previously it was only possible to check it out by selecting a Material asset in the Project panel. (962080)

  • Editor: Added support for a new toolbox format for Rider.

  • Editor: Added support for menu trees in EditorTool context menu.

  • Editor: Assume calls in UnityTest are now treated as an inconclusive result. (1075663)

  • Editor: CustomPropertyDrawers of array elements inside another array is now working properly on each element. (1156837, 1158011)

  • Editor: Editor windows now restore size when pulled from the top bar when maximized. (1126516)

  • Editor: Entering of exiting Playmode when some AssetImporter are focused in the Inspector does not crash anymore. (1141570, 1144208)

  • Editor: Fix Batchmode build hanging in PackageManager::RunRequestSynchronously. (1137073, 1154317)

  • Editor: Fix editor windows respond to mouse events outside the window (1143721, 1144224)

  • Editor: Fix inspector is stuttering when scrolling through the large serialize list (1131250)

  • Editor: Fix issue with "Assembly has duplicate references" error not listing the duplicate references correctly. (1132593, 1148355)

  • Editor: Fix issue with "Multiple precompiled assemblies with the same name" error not listing the paths of the precompiled assemblies. (1138754, 1148356)

  • Editor: Fix issue with "Use GUIDs" being enabled in the Assembly Definition File inspector when GUID references were not used. (1140806, 1148354)

  • Editor: Fix issue with C# solution not getting regenerated when changing "Allow 'unsafe' code" project setting. (1105512, 1148358)

  • Editor: Fix issue with CompilationPipeline.GetAssemblies(AssemblyType.Player) not returning test assemblies. (1137205, 1148357)

  • Editor: Fix layout being saved/loaded incorrectly when saving undocked or maximized tabs (1122565)

  • Editor: Fix Play mode Color tint not removed when Play mode cannot be entered due to compiler errors (1141886, 1156447)

  • Editor: Fix Shift+Delete does not remove an empty element from the array in the Inspector window (1105084)

  • Editor: Fix shortcuts not being updated in Main Menus after user unbinds it. (1109108)

  • Editor: Fixed an issue where gamepad input was not detected when 3 Xbox controllers were connected. (1127453)

  • Editor: Fixed a delay when dragging the end cap of an edge in GraphView.

  • Editor: Fixed a holdover of the alt modifier in the Editor when gaining focus for Linux editor from alt+tab (1104979)

  • Editor: Fixed a NullReferenceException when changing reorderable list order.

  • Editor: Fixed a possible crash when the splash screen was playing and a sprite that was being drawn was modified or deleted . We now cancel the splash when an asset is modified or deleted. (857060)

  • Editor: Fixed an Editor crash that occurred when switching to DirectX 12. (1127388)

  • Editor: Fixed an error when closing a detached Material preview window belonging to a second instance of a InspectorWindow. (1119612)

  • Editor: Fixed an exception when expanding the Mesh Renderer's Shader section in the Tree Inspector. (1145010, 1145056)

  • Editor: Fixed an issue in Unity Test Runner where tests timed out early when using large Timescale values. (1098090)

  • Editor: Fixed an issue where Console windows disappear when Unity Editor is not in focus (1109182)

  • Editor: Fixed an issue where ShowObjectPicker freezes editor when it's invoked right after another ObjectPicker is closed. (1113046)

  • Editor: Fixed an issue where the AvatarMask Inspector transforms field doesn't show all transforms from the skeleton. (1123656, 1152129)

  • Editor: Fixed an issue where the Edit button became stuck in its enabled state. (1120360)

  • Editor: Fixed an issue where the Editor window "cropped" render textures. (1127773)

  • Editor: Fixed an issue where the FilePathAttribute constructor threw an exception if called from a MonoBehaviour constructor or another thread. (1077857)

  • Editor: Fixed assertion message 's2 != NULL' in log files.

  • Editor: Fixed bug where uniformly scaling a zero-sized PrimitiveBoundsHandle with the Shift key modifier would simply cause the center point to drift. Uniform scaling now applies to all axes if the bounding volume had zero size at the time the control handle was clicked. (1021975, 1152362)

  • Editor: Fixed checkbox button not toggling when shortcut key(space) is pressed. (1136216)

  • Editor: Fixed clicking on AudioListener toggled some empty space (1122847)

  • Editor: Fixed console log that has paranthesis in the path. (1139181, 1149504)

  • Editor: Fixed crash on quit in UNITY_FT_Done_Face when using large prefab with TextMesh. (1075972, 1150370)

  • Editor: Fixed creating a material with multiple inspector windows open would trigger IndexOfOfRange errors (1122847)

  • Editor: Fixed issue where Inspector context menu Reset option clears name property for MonoBehaviour assets. (1092051)

  • Editor: Fixed issue where PropertyAttribute was not applied on arrays (1140241)

  • Editor: Fixed issue wih Camera preview having a fixed size when scene view tools popup is present (1125006)

  • Editor: Fixed issue with orphan host views while loading an editor window layout (1079742)

  • Editor: Fixed play mode tint affecting parts of the editor after exiting play mode due to compilation failiures. (1130997)

  • Editor: Fixed resize borders on floating windows to better expose window controls. This also fixes an issue where dragging from other parts of the window triggered resizing. (1116567)

  • Editor: Fixed security vulnerability UNITY-SEC-2144.

  • Editor: Fixed splitter view layout and resizing rounding issues. (1099360)

  • Editor: Fixed the preview pane in the object selector.

  • Editor: Fixed the Splash Screen Unity logo not fitting inside the logo list item box when the inspector is wide. (976154)

  • Editor: Fixed the Unity logo not fitting inside the logo list item box when the inspector is wide. (1077388)

  • Editor: Made the "Add Component" popup window receive focus in Linux editor. (1098140)

  • Editor: One column layout drop fix (1150509, 1158294)

  • Editor: Optimization on scene handle position computing (1137064, 1154695)

  • Editor: Optimization: for big nested prefabs, the search of removed components in the inspector could be slow (1137064, 1154696)

  • Editor: Preset asset does not show an error anymore when deleted in ADB2. (1157112, 1159888)

  • Editor: Renamed MeshRenderer Priority in the Editor to match the documentation.

  • Editor: Renamed the "Logging" preference in "Stack Trace" to avoid confusion. (1118914)

  • Editor: Renamed the UI Transparency Priority to Renderer Priority in MeshRenderer component.

  • Editor: Unity native DefaultImporter is now excluded from Presets. (1129083)

  • Editor: Update windows splash screen.

  • GI: Creash when recompiling shaders (both when manually doing it or when switching pipeline).

  • GI: Fixed an intermediate lookup issue in Enlighten when using SSDs with Realtime GI and Baked GI enabled (1128583, 1134676, 1134702, 1143679, 1143686, 1143687)

  • GI: Fixed case of missing lighting when baking with GPU lightmapper. (1121705)

  • GI: Fixed error related to cached G buffer data: "Failed reading from a9/a9af123a12f31.ghd" when using the progressive lightmapper while having data from older versions in the GI cache.

  • GI: Fixed hashing issue when writing out AO textures for PLM.

  • GI: Fixed issue where probes had corrupted gizmos when they had 1 static object in the scene. (1123892)

  • GI: Fixed issue where push off parameter in Lightmap Parameters asset is ignored when baking lightmaps. (1117680)

  • GI: Fixed issue where selecting probe groups crashed Editor when using Metal (OSX). (1123971)

  • GI: Fixed so that the Lighting Explorer saves the column settings after restart of the Editor. (1131422)

  • GI: Fixes a potential baking crash when objects HideFlags are configured. (1129038)

  • GI: GPU lightmapper: Ensure OpenCL kernel are recompiled on Nvidia even when only the include files changes.

  • GI: GPU lightmapper: Fix crash on application exit when GPU lightmapper openCL context is lost.

  • GI: GPU lightmapper: Handle out of memory gracefully when BVH doesn't fit in GPU memory. This can happen when baking a terrain with high heightmap resolution.

  • GI: GPU lightmapper: Light shadow casting flag is respected for direct light from bounces. (1111135)

  • GI: GPU lightmapper: Make render jobs resilient to not yet prepared materials. This fix a crash when GPU lightmapper fallback to CPU. (1133816, 1149276)

  • GI: Renamed "Auto Bake On/Off" to "Auto Generate Lighting On/Off" in the app bar.

  • GI: Use AI denoising for shadow mask and direct environment samples when baking with the GPU lightmapper. (1138839, 1144432)

  • Graphics: Create texture now occurs on a thread in cases when async loading to update an existing texture.

  • Graphics: Delay in bursts no longer works. (1154292, 1156374)

  • Graphics: Do not try to do gpu skinning with blend shapes having zero vertices (this IS in line with cpu skinning behavior) (1121794)

  • Graphics: Enabled GPU skinning for BlendShapes on Metal.

  • Graphics: Fix crash caused by Unknown LightMode in ShaderLab shader (1132088)

  • Graphics: Fix for Xbox 32-bit float formats in UAVs not working (1141538, 1153168)

  • Graphics: Fixed a crash that can occur when accessing the MeshFilter.mesh property when the mesh is loaded via the async upload manager. (1124524, 1158402)

  • Graphics: Fixed a crash that happened when updating mesh data from script when using Vulkan and graphics jobs. (1090932)

  • Graphics: Fixed an infinite console error loop when the user tries to assign a 2D texture in the Cubemap field of a Custom Reflection Probe. (1156727, 1156969)

  • Graphics: Fixed an issue where visual flickering happened when mesh data was edited from a script when graphics jobs are in use in Vulkan. (1075277)

  • Graphics: Fixed an issue with game view not updating streaming mips fully when in edit mode. (1141222, 1145166)

  • Graphics: Fixed bad alignment of render surface resource heaps (1155163, 1156592)

  • Graphics: Fixed cases where overlapping cross-fade objects sometimes appeared as opaque. (916831)

  • Graphics: Fixed dynamic resolution when using Vulkan. (1148341, 1148390)

  • Graphics: Fixed indices being kept in memory for non readable mesh when loading from built data (1126675)

  • Graphics: Fixed issue where shadow quality settings were hidden when using an SRP, which meant that culling sometimes didn't include shadow casters.

  • Graphics: Fixed issue where Vulkan implementation of Texture2D.SetPixels may pipeline stall. (1141239, 1145494)

  • Graphics: Fixed memory leak when using Vulkan. (1137290, 1147000)

  • Graphics: Fixed missing caps for Pixels32 APIs (1129776)

  • Graphics: Fixed missing IsEACFormat and IsXRFormat APIs (1129777)

  • Graphics: Fixed OpenGL 4.2 rendering the editor pink. (1146762, 1150530)

  • Graphics: Fixed RenderTextureFormat BGRA support. (1141798, 1144325)

  • Graphics: Fixed the app bar to show "Compiling shader 'x'" instead of just the shader name.

  • Graphics: Fixed vertex compression being disabled for all components for skinned mesh (as opposed to being disabled only for pos/nrm/tan) (1118278)

  • Graphics: Fixed: Instancing batcher would crash hard on Vulkan if attempting to draw without an active GPU program.

  • Graphics: Made changes to correctly display a preview image of the Billboard Renderer in the Project Window and LODGroup preview panel. (769753)

  • Graphics: Metal: Artifacts appear when using Dynamic Resolution with MSAA (1111105)

  • Graphics: Remove 4G limit on texture mip streaming budget. (1147394, 1150741)

  • Graphics: Textures unsupported by mip map streamin such as reflection probes and decals now load highest mip. (1115306, 1145164)

  • Graphics: Unity crashes when a VFX is playing and the VFX project settings are reset. (1154099, 1154781)

  • Graphics: VFX : Enable/Disable doesn't restart effect. (1133474, 1152230)

  • Graphics: Vulkan: Fixed a crash that occcured when setting rendertexture sampler properties before creating the actual texture. (1115165)

  • Graphics: Vulkan: Fixed an issue that caused an error message to repeatedly occur when attempting to draw with missing bindings.

  • Graphics: Vulkan: Fixed crash when rendering reflection probes on Android. (1108968)

  • Graphics: Vulkan: Fixed crash when using MSAA.

  • IL2CPP: Corrects an intermittent crash when a managed exception occurs on a back ground thread while the process is shutting down.

  • IL2CPP: Fixed a performance issue with lumped builds.

  • IL2CPP: Marshal an array of primitive types as SAFEARRAY by default when if it used as a field. (1131557, 1146301)

  • IL2CPP: Throw a managed exception at runtime when a generic type is marshaled as a delegate parameter. (1122074)

  • Input: New Input System: Fix a crash when trying to map a key when a non-ASCII key mapping is selected, which does not produce characters for single key presses (e.g. Japanese).

  • Input: New Input System: Make scrolling delta on mac work with old-school clicker mice

  • Internal: Fixed BatchRendererGroup group removal.

  • iOS: Add missing RG16 texture format for Metal.

  • iOS: Added missing iOS devices to the device list used by the editor for profiler, Unity Remote, etc. (1111598)

  • iOS: Fixed an issue where the Xcode framework search paths setting was overridden when appending an Xcode project. (703217)

  • iOS: Fixed build failure when Xcode DerivedData path was set relative to the project. (1117371)

  • iOS: Fixed identification of iPad 6th (it used to be identified as iPadPro10Inch2Genor or iPadUnknown with iOS.Device.generation) (1065983)

  • iOS: Fixed Screen.autorotateTo causing missing call to UnityOrientationRequestWasCommitted, effectively resulting in running some code every frame from now on erroneously. (1122902)

  • iOS: Made Screen.currentResolution.refreshRate return the actual refresh rate instead of hardcoding 30. (1117877)

  • iOS: [iOS] Audio is "jumpy" on some iOS devices, skipping a few frames every few seconds (1124966)

  • Kernel: Fixed possible crashes in Editor when methods in UnsafeUtility receive a null pointer. (1077692, 1144754)

  • Kernel: Fixed: Resizing array through SerialziedPropertie could lead to a crash. (1123752)

  • Linux: Fix: [Linux] Editor overwrites PlayerPrefs file when launched (1072116)

  • Linux: Fixed Editor crashing when started from the Hub (1140369, 1154319)

  • Linux: Fixed Linux Standalone Player touch events for IMGUI (1106839)

  • Linux: Fixed non-printable characters being allowed in GUI text objects in the Linux Editor. (1126208)

  • Linux: Fixed submenus from losing focus, thus closing prematurely and not being functional. (1142911, 1144233)

  • Linux: Linux Editor no longer fails to delete assets on partitions or network drives that do not contain trash directories. (1062162)

  • Linux: Pausing the Linux editor while playing with cursor lock mode set to locked or confined will now free the cursor. (1132336)

  • Lumin: Fixed error preventing running playmode tests on a Lumin device.

  • Lumin: Re-add package signing support for MagicLeap packages.

  • Multiplayer: Fixed NetworkManagerHUD "Uncaught TypeError: Cannot read property 'id' of null" thrown when clicking Lan Client on WebGL build (860733)

  • OSX: Fixed focus issues between multiple visible game views. (1145433, 1153165)

  • OSX: Fixed incorrect Input.keyCode value when keyboard layout changes on macOS.

  • OSX: Fixed queued key events getting incorrect modifiers flags causing the wrong shortcut to be executed.

  • OSX: [Metal] Fixed excessive fencing causing all GPU workload to be serialized

  • Package Manager: A local package (using the file:/ protocol) is no longer allowed to reference a sub folder inside "Assets", "Library" or "ProjectSettings".

  • Package Manager: Fixed an error in the Package Manager UI when the OS uses a language other than English.

  • Package Manager: Fixed an issue where a Git dependency resolved to the locked hash even after removing the commitish part of a Git URL.

  • Package Manager: Fixed an issue where cloning a Git repository could wait indefinitely for user input if credentials for that repository were not configured.

  • Package Manager: Fixed an issue where the cancel icon (x) on the Search box in the Package Manager UI disappears when installing or removing a package. (1152444, 1156832)

  • Package Manager: Fixed an issue where the status icons got corrupted whenever a user exits search mode. (1142542, 1144549)

  • Package Manager: Fixed an issue with hidden elements erroneously appearing in the UI. (1139170)

  • Package Manager: Fixed incorrect error messages in the Package Manager UI while disabling the Built-in package. (1131602, 1145317)

  • Particles: Apply fade and soft particle properties to the Emissive color of the Standard Particle Shaders.

  • Particles: Fixed stuttering when using scripted simulation to request long simulation times. (753940, 1144335)

  • Particles: Opening a legacy Prefab with a ParticleSystem in Prefab Mode: ParticleSystemRenderer component is now correctly hidden in the Inspector.

  • Player: Make PlayerConnection API work when reconnecting after disconnecting.

  • Player: New Input System: Fix order of event timestamps on windows. (1132707)

  • Player: New Input System: Fix potential deadlock when adding new devices.

  • Player: New Input System: Make Input Debugger work in edit mode.

  • Prefabs: Fix loosing selection of Prefab root in Prefab Mode after draggging script to Inspector.

  • Prefabs: Fixed nested Canvases not getting treated as nested Canvases in Prefab Mode if the Canvas had no visual elements (CanvasRenderers) under it. This could cause properties to get reset due to being driven as a Screen Space Canvas. (1103699, 1156304)

  • Prefabs: PrefabMode: For broken prefabs use the root that the PrefabImporter has chosen when opening the prefab file in Prefab Mode, other dangling roots are deleted.

  • Prefabs: When multi-selecting Prefab instances and clicking Apply All, imports are now batched.

  • Scripting: Assembly Definition Reference editor - enable useGUID by default when the reference field is empty.

  • Scripting: Constructors called twice on ScriptableObjects with custom attributes when referencing the ScriptableObject instance. (1113071)

  • Scripting: Fix running editor with old scripting runtime if incremental GC is enabled in Project Settings. (1119216)

  • Scripting: Fix TargetInvocationException when using ML.NET. (1109657)

  • Scripting: Fix: Assertion failed on expression: '!m_CoroutineEnumeratorGCHandle.HasTarget()' is thrown when GC is collected (1094391)

  • Scripting: Fix: prevent user scripts from explicitely unloading global game managers (1114406)

  • Shaders: Fixed non-deterministic shader binaries in asset bundles (749340)

  • Shaders: Fixed shader include errors after package updates (1141216, 1155955)

  • Shaders: Fixed shader upgrader to not add exclude_renderers due to const array usage. (1053734, 1143646)

  • Shaders: Minor HLSLcc fixes. (1105361, 1142484, 1143647, 1143648)

  • SpeedTree: Fixed the import of collision objects from SpeedTree v8 Assets.

  • Terrain: Fixed case 1148469 : Trees are not generated from Code in the Built Game when Terrain Data is created via Code using the Constructor (1148469, 1158548)

  • Terrain: Terrain tree brush can now be painted across Terrain tiles (1126622)

  • Timeline: Clips will no longer randomly disappear when showing or hiding inline curves. (1141661, 1150620)

  • Timeline: Fixed an issue where dragging and dropping objects between tracks did not insert a new track correctly. (1011381)

  • Timeline: Fixed an issue where the Track group background would disappear while scrolling. (876340)

  • Timeline: Fixed an issue with dragging and dropping objects on a Track group. (1014774)

  • Timeline: Fixed Disable the possibility to add Markers to tracks of a Timeline that is ReadOnly (1134463, 1146268)

  • Timeline: Fixed record button state not updating when offset modes are changed. (1142747, 1150598)

  • Timeline: Going to Play Mode while inspecting a Track Asset will no longer throw exceptions. (1141958, 1150599)

  • Timeline: Reactions for Signals were not correctly drawn (1134422)

  • Timeline: The global/local time referential button will no longer be shown for a top-level timeline. (1080872, 1150607)

  • UI: Adding uv2 and uv3 copying from the UIVertex AddVert overloaded API.

  • UI: Fix issue with null TransformHierarchy while Updating RectTransform (1102234, 1158048)

  • UI: Fixed an issue where enabling a Canvas and polling its RectTransform data in Awake/Start returned incorrect values for root RectTransforms.

  • UI: Fixed issue caused by deleting a dropdown list while it is open. (1106263)

  • UI: Fixed issue where assigning a togglegroup or changing isOn would not set the toggle as dirty. (1141606, 1154185)

  • UI: Fixed issue where rich text tags would get verticies generated causing very large vertex buffers.

  • UI: Fixed memory leak when rendering to a Camera with a disabled display. (944603)

  • UI: Fixed performance issues with animation by not dirtying the layout if a animation updates the items.

  • UI: Fixed poor wording in Advance Texture importing of tiled sprites. (1040453)

  • UI: Fixed the editor becoming unresponsive when the GICache tab was open in the project preferences. (1149001, 1152685)

  • UI: Fixing compilation errors in .asmdefs that require a reference to the uGUI package. (1154163, 1154711)

  • UI: Fixing issue with IndexedSet not returning -1 when element is not found in dictionary.

  • UI: Recreate the gfx buffer if the stride size changes. (1143087, 1144234)

  • UI: Update SetChildAlongAxis to have matching SetChildAlongAxisWithScale that takes a scale as default values will cause confusion in which function needs to be used

  • UI Elements: A default asset is now created when a USS file import fails. (1125716)

  • UI Elements: Fixed an invalid texture for toolbar elements in Light skin. (1117232)

  • UI Elements: Fixed an issue that caused the Editor to freeze when adding new elements while clearing children. (1102592)

  • UI Elements: Fixed an issue where resizing a clipper could leave child clippers with an invalid clipping state. (1119623)

  • UI Elements: Fixed an issue where the Material Editor constantly repainted the Inspector window. (1111923)

  • UI Elements: Fixed an issue where using the initial setting in a USS rule caused other settings in the specification to be overlooked. (1152232, 1154377)

  • UI Elements: Fixed broken edge expansion system and tesselation.

  • UI Elements: Fixed Play mode tint in the Editor for UIElements. (1129564)

  • UI Elements: Fixed the foldout triangle size. (1122034)

  • UI Elements: Improved consistency of MouseEnter and MouseLeave events. (1081998, 1150185)

  • UI Elements: Invalid Scale values on the Z component are now ignored and do not prevent the VisualElement from disappearing. (1134758, 1147315)

  • UI Elements: Picking is now faster in UIElements. (1124338)

  • UI Elements: Prevented the activation of Content Dragger from the Blackboard in GraphView. (1146288)

  • UI Elements: Prevented zooming in and out with the scroll wheel while the mouse pointer is over the Blackboard in GraphView. (1139333, 1146282)

  • UI Elements: Removed support for instantiating elements with DoCreate() in UXMLFactories

  • UI Elements: Resizing a VisualElement no longer causes unnecessary nudges or repainting of children. (1109689, 1144434)

  • UI Elements: UI element that has focus now loses focus when the window loses focus, and gets focus back when window is gets focus back. (984433)

  • Universal Windows Platform: Fixed case of IL2CPP crashing when using certain new types (like Windows.Foundation.GuidHelper.Equals) in Windows SDK 17763 or newer.

  • Universal Windows Platform: Fixed reference rewriter complaining about managed code referencing fields from winmd files when those fields are of types that project to CLR from Windows Runtime. (1146307, 1159987)

  • WebGL: Fix rendering errors in WebGL when canvas is not displayed (1141232, 1154630)

  • WebGL: Fixed a bug when indexedDB timeout would prevent the build from loading. (1134367)

  • WebGL: Fixed an issue with saving PlayerPrefs in WebGL. (1140820, 1145636)

  • Windows: Fix key 9 sending key events in the input system on Windows. (1132663)

  • Windows: Fix standalone Windows player hanging on startup on machines with strict group policies (1083303)

  • Windows: Improved Windows crash handling reliability.

  • XR: Added Incremental GC on Lumin.

  • XR: Deprecated UnityEngine.XR.InputTrackings GetLocalPosition and GetLocalRotation.

  • XR: Fix for standalone player with Vulkan api and single-pass instanced mode showing black screen in HMD. (1142602)

  • XR: Fix for Vulkan draw calls not drawing to second slice of texture array during stereo instancing (1129656)

  • XR: Fix for Vulkan Y-flipped on final rendered image when single-pass stereo instancing is enabled (1135134)

  • XR: Fix Unity shaders on Vulkan not setup for stereo instancing (1129654)

  • XR: Fixed case of Vulkan instance extensions not being applied on Oculus. (1123193)

  • XR: Fixed Magic Leap package download in Lightweight Render Pipeline template. (1106219, 1146997)

  • XR: Renamed the two types of raycasts in the XRRaycastSubsystem profiler to XR.RaycastFromScreen and XR.RaycastRay for easier identification.

System Requirements

For development

OS: Windows 7 SP1+, 8, 10, 64-bit versions only; macOS 10.12+. (Server versions of Windows & OS X are not tested.)

CPU: SSE2 instruction set support.

GPU: Graphics card with DX10 (shader model 4.0) capabilities.

The rest mostly depends on the complexity of your projects.

Additional platform development requirements:
  • iOS: Mac computer running minimum macOS 10.12.6 and Xcode 9.0 or higher.

  • Android: Android SDK and Java Development Kit (JDK); IL2CPP scripting backend requires Android NDK.

  • Universal Windows Platform: Windows 10 (64-bit), Visual Studio 2015 with C++ Tools component or later and Windows 10 SDK

For running Unity games

Generally content developed with Unity can run pretty much everywhere. How well it runs is dependent on the complexity of your project. More detailed requirements:

  • Desktop:

    • OS: Windows 7 SP1+, macOS 10.12+, Ubuntu 12.04+, SteamOS+
    • Graphics card with DX10 (shader model 4.0) capabilities.
    • CPU: SSE2 instruction set support.
  • iOS player requires iOS 9.0 or higher.

  • Android: OS 4.1 or later; ARMv7 CPU with NEON support or Atom CPU; OpenGL ES 2.0 or later.

  • WebGL: Any recent desktop version of Firefox, Chrome, Edge or Safari.

  • Universal Windows Platform: Windows 10 and a graphics card with DX10 (shader model 4.0) capabilities

变更集: 2099073aa6fc

版本 已发布
June 17, 2019 下载 / 发行说明
June 5, 2019 下载 / 发行说明
May 29, 2019 下载 / 发行说明
May 22, 2019 下载 / 发行说明
May 15, 2019 下载 / 发行说明
May 9, 2019 下载 / 发行说明
May 1, 2019 下载 / 发行说明
April 24, 2019 下载 / 发行说明
April 11, 2019 下载 / 发行说明
March 20, 2019 下载 / 发行说明
March 13, 2019 下载 / 发行说明
March 4, 2019 下载 / 发行说明
February 27, 2019 下载 / 发行说明
February 6, 2019 下载 / 发行说明
使用beta版程序的6大理由

使用beta版程序的6大理由

  1. 提前使用所有最新功能
  2. 测试兼容性
  3. 加入Unity专家社区
  4. 有机会赢取大奖
  5. 展现个人技能
  6. 影响Unity的未来
了解更多

相关新闻

{{ post.title.rendered }}

阅读更多

立即提前试用

下载Unity 2019.2b
明白了

我们使用cookies来确保为您提供网站的最佳体验。点击这里了解更多信息。