-
Notifications
You must be signed in to change notification settings - Fork 343
MelonMod Il2cpp not support new Input #728
Copy link
Copy link
Closed
Description
Old system UnityEngine.Input New system Input System package. Unity [6000.0.30f1]
[18:01:53.106] Loaded XUnity.AutoTranslator into Unity [6000.0.30f1] game.
[18:01:53.144] [Il2CppInterop] Registered mono type XUnity.AutoTranslator.Plugin.Core.Il2CppManagedEnumerator in il2cpp domain
[18:01:53.155] Input API is not available!
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> Il2CppInterop.Runtime.Il2CppException: System.InvalidOperationException: You are trying to read Input using the UnityEngine.Input class, but you have switched active Input handling to Input System package in Player Settings.
--- BEGIN IL2CPP STACK TRACE ---
System.InvalidOperationException: You are trying to read Input using the UnityEngine.Input class, but you have switched active Input handling to Input System package in Player Settings.
--- END IL2CPP STACK TRACE ---
at Il2CppInterop.Runtime.Il2CppException.RaiseExceptionIfNecessary(IntPtr returnedException) in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Il2CppException.cs:line 36
at UnityEngine.Input.GetKey(KeyCode key)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at XUnity.AutoTranslator.Plugin.Core.Input.GetKey(KeyCode key)
at XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin.HandleInput()
at XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin.HandleInputSafe()
[18:01:53.263] Skipping plugin scan because no plugin-specific translations has been registered.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels