We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34a5d1c commit d8a3405Copy full SHA for d8a3405
1 file changed
Packages/com.unity.inputsystem/InputSystem/Runtime/Actions/InputActionState.cs
@@ -4339,7 +4339,7 @@ private static void InitializeGlobalActionState()
4339
// Appears we shouldn't really reset globals in case the domain reload is enabled.
4340
// This is because in that case, we've just had the whole system init'ed via static ctors
4341
// Moreover, later in GlobalInialize we skip initialization specifically in this case.
4342
- if (!InputSystem.s_IsDomainReloadDisabled())
+ if (!(InputSystem.s_IsDomainReloadDisabled?.Invoke() ?? false))
4343
return;
4344
#endif
4345
0 commit comments