You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unity 6 - JSException: [JS] undefined:undefined System.Reflection.TargetParameterCountException: Number of parameters specified does not match the expected number
#126
Open
localhosted opened this issue
Feb 12, 2025
· 0 comments
Added the package to Unity and created the react js project but it won't run. Fails with:
JSException: [JS] undefined:undefined System.Reflection.TargetParameterCountException: Number of parameters specified does not match the expected number.
at System.Reflection.RuntimeMethodInfo.ConvertValues (System.Reflection.Binder binder, System.Object[] args, System.Reflection.ParameterInfo[] pinfo, System.Globalization.CultureInfo culture, System.Reflection.BindingFlags invokeAttr) [0x00016] in <321eb2db7c6d43ea8fc39b54eaca3452>:0
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00040] in <321eb2db7c6d43ea8fc39b54eaca3452>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <321eb2db7c6d43ea8fc39b54eaca3452>:0
at QuickJS.Binding.DynamicDelegateMethod.Invoke (QuickJS.Native.JSContext ctx, QuickJS.Native.JSValue this_obj, System.Int32 argc, QuickJS.Native.JSValue[] argv) [0x00070] in .\Library\PackageCache\com.reactunity.quickjs\Runtime\Source\Binding\DynamicMethod.cs:432
at QuickJS.Utils.TypeDB._DynamicMethodInvoke (QuickJS.Native.JSContext ctx, QuickJS.Native.JSValue this_obj, System.Int32 argc, QuickJS.Native.JSValue[] argv, System.Int32 magic) [0x00022] in .\Library\PackageCache\com.reactunity.quickjs\Runtime\Source\Utils\TypeDB.cs:428
at b__1 (native)
at ./node_modules/webpack-dev-server/client/index.js?protocol=ws%3A&hostname=0.0.0.0&port=3000&pathname=%2Fws&logging=none&overlay=false&reconnect=10&hot=true&live-reload=true (ReactUnity/main:31524)
at call (native)
at (ReactUnity/main:36301)
at call (native)
at webpack_require (ReactUnity/main:35752)
at (ReactUnity/main:36881)
at (ReactUnity/main:36885)
Added the package to Unity and created the react js project but it won't run. Fails with:
The text was updated successfully, but these errors were encountered: