Release notes

Fixes

  • 2D: Fixed crash on when passing array of nulls to SpriteAtlas.Add. (1089125, 1120906)

  • Animation: Fixed a crash when parenting an GameObject during an AnimationEvent. (1115423)

  • Asset Pipeline: Optional parameter added to SceneManager.UnloadScene function allowing to unload assets embedded in a scene without calling UnloadUnusedAssets. (998958, 1111167)

  • Build Pipeline: Fixed rare data corruption when building asset bundles with LZMA compression. (1118331)

  • DX12: Fixed a crash when switching to exclusive fullscreen.

  • Editor: Fixed an issue where text flickers when displaying a button or label using the IMGUI that has a long text with wordwrap enabled. (1106201)

  • Editor: Fixed crash and validation errors when opening editor windows. (1085277)

  • Graphics: Disabled GPU skinning in the Editor when Graphics Emulation is enabled. (1107282)

  • Graphics: Fixed an issue where Light Probe Proxy Volumes did not function correctly with Vulkan as the graphics API. (988476)

  • Graphics: Improved terrain painting that produces quantization when using OpenGL API. (1114680)

  • Graphics: Vulkan: Various stability, performance and correctness fixes.

  • Graphics: Vulkan: Various stability, performance and correctness fixes.

  • Graphics: [ShaderGraph] Fixed Transparent preview not clearing framebuffer. (1068062)

  • IL2CPP: Add support for marshaling fields which are arrays of structs which in turn have arrays as fields. (1106047)

  • IL2CPP: Added protocol support for IPv6 on Windows. (1099133)

  • IL2CPP: Correctly indicate that IPv6 is not supported on non-IPv6 platforms. (1108823)

  • IL2CPP: Emit proper C++ code when type names include characters that are not valid for C++ source code. (1108435)

  • IL2CPP: Fixed a crash when using the Environment.MachineName property on some machines when targeting UWP and make it return results consistent with the Standalone Player. (1093953)

  • IL2CPP: Fixed an intermittent crash in the native linker on Android. (1108960)

  • IL2CPP: Fixed InvalidCastException that can sometimes happen when passing managed object that derives from a native Windows Runtime class to native code. For instance, this happens when deriving from Windows.UI.Xaml.Control.ContentDialog and trying to show it. (1104540)

  • IL2CPP: Generate proper C++ code for an out parameter used as SizeParamIndex. (1115412)

  • IL2CPP: Handle null explicitly casted to an array and indexed. (1115145)

  • IL2CPP: Loaded field addresses via unsigned native integer types properly. (1104370)

  • IL2CPP: Prevent a compilation error in generated C++ code when the ldtoken opcode is used in some cases. (1108435)

  • IL2CPP: Prevent an compilation error in generated C++ code when an enum field is marshaled. (1104889)

  • IL2CPP: Prevent an exception during IL2CPP code conversion that can happen with Trace statements in some cases. (1120880)

  • IL2CPP: Prevented a crash at runtime with the .NET 4.x equivalent scripting runtime that can occcur when an enum is nested in a generic type. (1113091)

  • IL2CPP: Properly generate code using the in modifier for parameters on abstract methods in a generic type. (1103142)

  • Package Manager: Fixed moving files in the editor project view (drag and drop) not working in local packages. (1114391, 1117976)

  • Particles: Fixed erroneous Particle System error message: "Sub-emitters must be children of the system that spawns them". (949522, 1089804)

  • Particles: Fixed Frame Debugger failing to show draw call information for Particle Systems. (1107382)

  • Particles: Fixed incorrect curve evaluation when using the Limit Velocity over Lifetime module with a micture of optimized and non-optimzied curves. (1096701)

  • Particles: Fixed particle bounds when using Sprites in the Texture Sheet Animation Module. (1107722)

  • Particles: Fixed particle trails could being culled incorrectly when using the World Space trails option. (1089679)

  • Particles: Fixed regression bug where offscreen Particle Systems failed to play. (1114729)

  • Particles: Fixed scaling regression bugs with Particle Systems. (1112937, 1116160)

  • Particles: Fixed Velocity Module Speed Modfiier not applied to the initial simulation step of newly spawned particles. (1111134)

  • Particles: Update particle bounce light immediately when the multiplier is changed on the Light. (1102543)

  • Physics: Ensure that ContactPoint2D and Collision2D types do not get stripped causing a crash. (1121995)

  • Prefabs: Fixed references to Prefabs from scene getting lost if prefab is modified. (1116476)

  • Prefabs: Updated Undo to return Prefab instances with missing assets to previous state correctly. (1056446, 1120322)

  • Scripting Upgrade: Fixed crash in ScriptUpdater.exe when code contains qualified references to methods of type that were statically imported (#using static). (1081267)

  • Shaders: Fixed incorrect shader code generation with tessellation shaders when using the Vulkan API. (1092160)

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

  • Universal Windows Platform: Fixed memory leaks on .NET backend when calling Mesh.SetVertices(), Mesh.SetUVs(), Mesh.SetTriangles() methods. (1042218)

  • Windows: Fixed setting refresh rate in exclusive fullscreen mode having no effect on D3D11 and D3D12. (975924)

  • XR: XR devices in new input system package are now all Y-up is away from the user. (1091918)

Changeset: a220877bc173

Changeset: a220877bc173