Closed benoitalain closed 2 months ago
Jira ticket: https://jira.unity3d.com/browse/ISXB-953
Fixes memory allocated every frame when using InputForUI with InputSystem package, i.e. when using a UIDocument without an EventSystem.
InputForUITests.Update_DoesntAllocate
Manually tested the repro project profiler evidence, and the fix. Added a unit test.
Very low risk. Change is a one-liner, simple and only has a local impact.
Before review:
Changed
Fixed
Added
Area_CanDoX
Area_CanDoX_EvenIfYIsTheCase
Area_WhenIDoX_AndYHappens_ThisIsTheResult
During merge:
NEW: ___
FIX: ___
DOCS: ___
CHANGE: ___
RELEASE: 1.1.0-preview.3
After merge:
Description
Jira ticket: https://jira.unity3d.com/browse/ISXB-953
Fixes memory allocated every frame when using InputForUI with InputSystem package, i.e. when using a UIDocument without an EventSystem.
Changes made
InputForUITests.Update_DoesntAllocate
that fails without the fix and passes with it.Testing
Manually tested the repro project profiler evidence, and the fix. Added a unit test.
Risk
Very low risk. Change is a one-liner, simple and only has a local impact.
Checklist
Before review:
Changed
,Fixed
,Added
sections.Area_CanDoX
,Area_CanDoX_EvenIfYIsTheCase
,Area_WhenIDoX_AndYHappens_ThisIsTheResult
.During merge:
NEW: ___
.FIX: ___
.DOCS: ___
.CHANGE: ___
.RELEASE: 1.1.0-preview.3
.After merge: