Skip to content

Commit 1e926a8

Browse files
FIX: Compile issue on linux standalone (#760)
* FIX: Linux standalone can't build with Switch code. * FIX: Replace standalone with win and osx for switch module.
1 parent 1971230 commit 1e926a8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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
- DualShock 3 on macOS:
1919
* Fixed actions bound to the dpad control performing correctly.
2020
* Fixed non-present touchpad button control being triggered incorrectly.
21+
- Fixed compile issues with switch classes on standalone Linux.
2122

2223
#### Actions
2324

Packages/com.unity.inputsystem/InputSystem/InputSystem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2201,7 +2201,7 @@ private static void PerformDefaultPluginInitialization()
22012201
WebGL.WebGLSupport.Initialize();
22022202
#endif
22032203

2204-
#if UNITY_EDITOR || UNITY_SWITCH || UNITY_STANDALONE || UNITY_WSA
2204+
#if UNITY_EDITOR || UNITY_SWITCH || UNITY_STANDALONE_OSX || UNITY_STANDALONE_WIN || UNITY_WSA
22052205
Switch.SwitchSupport.Initialize();
22062206
#endif
22072207

0 commit comments

Comments
 (0)