FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

FIX: Fixed NullReferenceException being thrown when project changes. … · 24BitGames/InputSystem@40c0e45 · GitHub

Commit 40c0e45

Browse files
jonas echterhoff
authored
FIX: Fixed NullReferenceException being thrown when project changes. (Unity-Technologies#705)
1 parent 9307ca1 commit 40c0e45

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

‎Packages/com.unity.inputsystem/CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ however, it has to be formatted properly to pass verification tests.
1818
- Allow using InputSystem package if the XR, VR or Physics modules are disabled for smaller builds.
1919
- Fixed documentation landing page and table of contents.
2020
- Fixed tracked devices assigning pointer ids for UI pointer events correctly.
21+
- Fixed NullReferenceException being thrown when project changes.
2122
- Fixed duplicate devices showing in the "Supported Devices" popup when using a search filter.
2223
- Fixed an error when adding new bindings in the Input Actions editor window when a filter was applied.
2324
- Fixed scroll wheel handling in `InputSystemUIInputModule` not being smooth.

‎Packages/com.unity.inputsystem/InputSystem/Editor/Settings/InputSettingsProvider.cs‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,9 @@ internal static void ForceReload()
336336
{
337337
// Force next OnGUI() to re-initialize.
338338
s_Instance.m_Settings = null;
339-
s_Instance.Repaint();
339+
340+
// Request repaint.
341+
SettingsService.NotifySettingsProviderChanged();
340342
}
341343
}
342344
}

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL