Release notes

Known Issues in 2021.3.14f1

  • Linux: Editor crashes at "DisconnectGtkSignal(void*, GtkCallbackResponse ()(), void)" when opening floating windows (UUM-11724)

  • MacOS: [M1] Crash on System.Object:__icall_wrapper_ves_icall_array_new_specific when launching a project (UUM-3207)

  • MacOS: [M1][Rosseta] Editor crashes on mono_arch_patch_callsite when entering the Play Mode (UUM-10411)

  • Mono: Crash with ScanAssemblyForAttributesAndInterfaceImplementations when opening a project (1376858)

  • Shader System: GameObjects doesn't get rendered when using "Unlit.Unlit_UsePass" Shader (UUM-18980)

  • Universal RP: Shader compilation time is higher in 2021.3 than in 2020.3 (UUM-17405)

  • Visual Effects: [VFX Graph] Opaque Unlit Output don't write to Depth (UUM-19559)

  • Web Platform: Project fails with "UnityEditor.BuildPlayerWindow+BuildMethodException" when building for the WebGL platform (UUM-17658)

2021.3.14f1 Release Notes

Improvements

  • Animation: Further improvements to animation job performance (esp. some forms of IK).

  • Asset Import: Improved performance of asset imports in large projects.

  • Editor: Reduced the time taken by AssetDatabase.FindAssets when used with a custom filter, speeding up domain reloads and other editor operations that made the poor choice of calling this function in the first place.

  • Multiplayer: Added Netcode for GameObjects 1.1.0.

  • Profiler: Improved performance of rendering the CPU timeline view when viewing large captures.

  • Scripting: Always inline the Mathf Sign() script API function.

  • Scripting: Does not discard AssemblyUpdater output when no updates have been applied.

  • VFX Graph: Reduced the time taken by VFXGraph.CheckCompilationVersion that would previously potentially query all assets on every domain reload.

API Changes

  • Graphics: Added: Added SystemInfo.computeSubGroupSize API, allows users to query the size of the compute thread group that supports efficient memory sharing on the GPU.

  • Graphics: Added: Added SystemInfo.maxTexture3DSize API, allows users to query the largest 3D Texture size that the graphics hardware supports.

  • Graphics: Added: Added SystemInfo.maxTextureArraySlices API, allows users to query the maximum number of slices in a Texture array that the graphics hardware supports.

Changes

  • Graphics: Changed Graphics packages version from 12.1.7 to 12.1.8.

  • URP: Avoid using Depth32Stencil8 format on Android.

Fixes

  • 2D: Fixed result of the Tilemap.GetCellCenterLocal/World API for a Hexagonal Grid and a large Tile Anchor offset.

  • Android: Fixed infinite loop when requesting for runtime permission that is automatically rejected by the OS. (UUM-15923)

  • Android: Fixed stacktrace on Chrome OS x86_64. (UUM-781)

  • Android: InputView is not clickable when isInputFieldHidden AND !mConsumeOutsideTouches. (UUM-16292)

  • DX12: Fixed single frame flicker which can occur when streaming textures. (UUM-15646)

  • Editor: Added iPhone 13 Pro, iPhone 13 Pro Max and Samsung Galaxy Z Flip3 to the device simulator. (UUM-655)

  • Editor: Don't remove full symbols from build location when making Linux installer package. (UUM-1828)

  • Editor: Fixed an issue where TextureImporter.GetPlatformTextureSettings would not perform fix-up on the platform string argument correctly. (UUM-15361)

  • Editor: Fixed crash when using URP on some Adreno 6xx devices with shaders that use clip(). (UUM-4367)

  • Editor: Fixed crash while pausing progress if in playmode. (UUM-14845)

  • Editor: Fixed debug canvas open in random user input key combinations. (UUM-17026)

  • Editor: Fixed editor crashing when entering into play mode in LEGO tutorial. (UUM-971)

  • Editor: Fixed EditorUtility.DisplayDialog layout after showing dialog with a long text. (UUM-9447)

  • Editor: Fixed inspector window black out after addComponent action from menu dropdown or shortcut. (UUM-1565)

  • Editor: Fixed issue where Camera and Lights animations are transferred to the wrong animation clip when importing a FBX file with multiple takes. (UUM-13001)

  • Editor: Fixed scripted importer registration errors, when changing platform. (UUM-14062)

  • Editor: Fixed Unity crashes in batch mode when using -vcsMode Perforce. (UUM-17597)

  • Editor: Fixed yamato test on 2021.3 by backporting a missing fix.

  • Editor: Re-introduce the recompile-after-finished-playing option. (UUM-16168)

  • Editor: [SpeedTree] ExtraTexture texture is no longer marked sRGB (Color Data) when imported with a SpeedTree asset. (UUM-10912)

  • GI: Avoid unnecessary gfx fence when Enlighten Realtime GI is not enabled. (UUM-8035)

  • Graphics: Fixed BatchRendererGroup TempJob memory leak in special rendering situations like HDRP AOV rendering. (UUM-16733)

  • Graphics: Fixed crash when creating a RenderTexture with dimensions exceeding the capabilities of the current graphics device. (UUM-5459)

  • Graphics: Fixed crash when loading a specific window layout on the Mac editor. (UUM-11907)

  • Graphics: Fixed depth-only rendering to Texture2DArray not working on Metal. (UUM-14488)

  • Graphics: Fixed metal shader compilation error when using bit-shift operations to create the destination vector from the scalar source. (UUM-16113)

  • IL2CPP: Corrected handle enums declared inside a generic type. (UUM-612)

  • IL2CPP: Corrected the behavior of the System.IO.Compression.ZipArchive API. (UUM-14582)

  • IL2CPP: Fixed compilation error that occurred when a enum was passed by reference in a marshalling definition. (UUM-11353)

  • IL2CPP: Fixed crash in IL2CPP metadata code when loading a field RVA value. (UUM-17473)

  • IL2CPP: Fixed exception when calling Enum.CompareTo on enum with a System.Uint16 underling type. (UUM-11944)

  • IL2CPP: Fixed sporadic ArgumentOutOfRangeException during code conversion. (UUM-10403)

  • IL2CPP: Fixed syntax error: ')' " when "Faster (smaller) builds" is selected on function pointer call with a return type but no parameters. (UUM-14778)

  • IL2CPP: Implement the Assembly.Location property. (UUM-15152)

  • IL2CPP: Improved error messages for unsupported Process API methods. (UUM-11147)

  • iOS: Fixed unity view behavior when in "split view". (UUM-9081)

  • Kernel: Fixed AssertOnRecursiveCall with tests. (UUM-13234)

  • Linux: Fixed CinemachineVirtualCamera Component's body's "ScreenY" and "ScreenX" values move towards 1.5 while pressing and moving the mouse. (UUM-14611)

  • Linux: Fixed crash on Linux inside profiler memory sampling function. (UUM-11011)

  • Linux: Fixed diagnostic switches can not be set using command line arguments. (UUM-10269)

  • Linux: Fixed right mouse button pasting in packman. (UUM-2304)

  • Linux: Fixed Scene view Flythrough mode does not work when using a non-lating alphabet based keyboard layout. (UUM-5302)

  • Linux: Fixed scrolling with the scroll wheel is slower on builds when using the New Input System package on Linux Standalone. (UUM-12564)

  • Linux: Fixed second cursor appearing when toggling between hardware and software cursor modes on Standalone player and Play Mode on Editor. (UUM-1594)

  • Linux: Updated Simple DirectMedia Layer to 2.0.22. (UUM-6773)

  • Mono: Fixed Editor liveness crash when processing RealProxy classes. (UUM-13031)

  • Mono: Fixed issue where DeflateStream would swallow exceptions instead of throwing them. (UUM-17185)

  • Particles: Fixed invert culling api when used with Particle Systems. (UUM-890)

  • Physics: Fixed ArticulationBody SetDriveTargets and SetDriveTargetVelocities methods checking List capacity instead of count and improved the error message. (UUM-12713)

  • Prefabs: Fixed Rect tool is enabled for root Prefab in Context mode. Now it behaves similar to the other Transform tools. (UUM-16728)

  • Profiler: Fixed freeze caused when opening profiler data recorded on Editor versions 2019.4.28f1 and prior. (UUM-2234)

  • PS4: Fixed the Param File Package Category Setting not being correctly overridden when a custom param file override was set in the Player Settings. (UUM-17357)

  • Scripting: ApiUpdater could corrupt sources when updating attributes with parameters.

  • Serialization: Avoid crash and log error message when struct assigned to SerializeReference field. (UUM-661)

  • Serialization: Fixed performance regression reading yaml objects containing large number of SerializeReference instances which were created prior to 2021.2. (UUM-15130)

  • Serialization: Fixed regression where if a mesh was used in VFX and included in an AssetBundle there could be indeterminism in its streaming info offset field. (UUM-12721)

  • Shaders: Fixed a rare crash when opening a project with compute shaders. (UUM-10259)

  • Shaders: Fixed an incorrect error when drawing an instanced mesh and async shader compilation was enabled. (UUM-13174)

  • Shaders: Fixed metal code generation for shaders using IBFE opcode. (UUM-2292)

  • Shaders: Fixed Shader Variant Collection UI not working correctly with shaders with stage-specific keywords. (UUM-12220)

  • Shaders: Material.SetOverrideTag will now warn when trying to override LightMode. (UUM-11988)

  • uGUI: Updated the Raycast Target property at runtime even if started as disabled. (UUM-2221)

  • UI Toolkit: Fixed an issue where the dragger of a slider would become visually corrupted after toggling the showMixedValue property. (UUM-13013)

  • UI Toolkit: Fixed invalid vertex count shown for UIToolkit draw calls in the frame debugger and the game view statistics. (UUM-2725)

  • UI Toolkit: Fixed rendering glitch on circles caused by incorrect geometry. (UUM-10297)

  • UI Toolkit: Fixed UI Toolkit throwing InvalidOperationExceptions when Input Manager isn't accessible. (UUM-6611)

  • UI Toolkit: Fixed visual artifact when border width is larger than border radius. (UUM-10298)

  • UI Toolkit: Fixed yoga bug when calculating margin in percentage to be relative to parent instead of current item. (UUM-12999)

  • UI Toolkit: [UI Builder] ProgressBar Component is missing a field for setting the current value. (UUM-496)

  • Universal RP: Broken setters which could cause infinite loop in URP pipeline asset. (UUM-18025)

  • Video: Fixed virtual camera not playing due to DevicePath missing. (UUM-3367)

  • Video: VP8 Video Encoder bitrate corrected to use bps instead of kbps. (UUM-12918)

  • Video: [WebGL] Video Player updates to a previously sought frame when seeking a paused video. (UUM-11808)

  • Web: Updated UglifyJS from 2.7.5 to 3.17.0. (UUM-6914)

  • WebGL: Added warning that WebGL builds with the Linux Editor require glibc 2.27 or later (i.e. Ubuntu 18+). (UUM-1156)

  • WebGL: Use glGetBufferSubData in AsyncGPUReadback Request for WebGL builds. (UUM-7112)

  • Windows: Fixed IL2CPP runtime compilation failing when building C++ code using Visual Studio 2022 17.4 or newer. (UUM-17921)

Package changes in 2021.3.14f1

Packages updated

Changeset: eee1884e7226