Issue with DOTween caused by Mono

Issue #138 resolved
Richard Parsons created an issue

If you import DOTween Pro into a project with QC you will get the following exception and no longer be able to use QC.

TypeLoadException: Type DG.Tweening.Plugins.SpiralPlugin has invalid vtable method slot 9 with method none
System.RuntimeType.GetMethodsByName (System.String name, System.Reflection.BindingFlags bindingAttr, System.Boolean ignoreCase, System.RuntimeType reflectedType) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.RuntimeType.GetMethodCandidates (System.String name, System.Reflection.BindingFlags bindingAttr, System.Reflection.CallingConventions callConv, System.Type[] types, System.Boolean allowPrefixLookup) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.RuntimeType.GetMethods (System.Reflection.BindingFlags bindingAttr) (at <437ba245d8404784b9fbab9b439ac908>:0)
QFSW.QC.QuantumConsoleProcessor+<ExtractCommandMethods>d__25.MoveNext () (at Assets/Plugins/QFSW/Quantum Console/Source/Scripts/QuantumConsoleProcessor.cs:122)
QFSW.QC.QuantumConsoleProcessor.LoadCommandsFromType (System.Type type) (at Assets/Plugins/QFSW/Quantum Console/Source/Scripts/QuantumConsoleProcessor.cs:265)
QFSW.QC.QuantumConsoleProcessor.LoadCommandsFromAssembly (System.Reflection.Assembly assembly) (at Assets/Plugins/QFSW/Quantum Console/Source/Scripts/QuantumConsoleProcessor.cs:242)
QFSW.QC.QuantumConsoleProcessor+<>c.<GenerateCommandTable>b__24_1 (System.Reflection.Assembly assembly) (at Assets/Plugins/QFSW/Quantum Console/Source/Scripts/QuantumConsoleProcessor.cs:98)
System.Threading.Tasks.Parallel+<>c__DisplayClass30_02[TSource,TLocal].<ForEachWorker>b__0 (System.Int32 i) (at <437ba245d8404784b9fbab9b439ac908>:0) System.Threading.Tasks.Parallel+<>c__DisplayClass17_01[TLocal].<ForWorker>b__1 () (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Threading.Tasks.Task.InnerInvoke () (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Threading.Tasks.Task.InnerInvokeWithArg (System.Threading.Tasks.Task childTask) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Threading.Tasks.Task+<>c__DisplayClass178_0.<ExecuteSelfReplicating>b__0 (System.Object <p0>) (at <437ba245d8404784b9fbab9b439ac908>:0)
Rethrow as AggregateException: One or more errors occurred.
System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Threading.Tasks.Task.Wait () (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Threading.Tasks.Parallel.ForWorker[TLocal] (System.Int32 fromInclusive, System.Int32 toExclusive, System.Threading.Tasks.ParallelOptions parallelOptions, System.Action1[T] body, System.Action2[T1,T2] bodyWithState, System.Func4[T1,T2,T3,TResult] bodyWithLocal, System.Func1[TResult] localInit, System.Action1[T] localFinally) (at <437ba245d8404784b9fbab9b439ac908>:0) System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal] (TSource[] array, System.Threading.Tasks.ParallelOptions parallelOptions, System.Action1[T] body, System.Action2[T1,T2] bodyWithState, System.Action3[T1,T2,T3] bodyWithStateAndIndex, System.Func4[T1,T2,T3,TResult] bodyWithStateAndLocal, System.Func5[T1,T2,T3,T4,TResult] bodyWithEverything, System.Func1[TResult] localInit, System.Action1[T] localFinally) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal] (System.Collections.Generic.IEnumerable1[T] source, System.Threading.Tasks.ParallelOptions parallelOptions, System.Action1[T] body, System.Action2[T1,T2] bodyWithState, System.Action3[T1,T2,T3] bodyWithStateAndIndex, System.Func4[T1,T2,T3,TResult] bodyWithStateAndLocal, System.Func5[T1,T2,T3,T4,TResult] bodyWithEverything, System.Func1[TResult] localInit, System.Action1[T] localFinally) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Threading.Tasks.Parallel.ForEach[TSource] (System.Collections.Generic.IEnumerable1[T] source, System.Action1[T] body) (at <437ba245d8404784b9fbab9b439ac908>:0)
QFSW.QC.QuantumConsoleProcessor.GenerateCommandTable (System.Boolean deployThread, System.Boolean forceReload) (at Assets/Plugins/QFSW/Quantum Console/Source/Scripts/QuantumConsoleProcessor.cs:94)
QFSW.QC.QuantumConsoleProcessor+<>c__DisplayClass24_0.<GenerateCommandTable>b__0 (System.Object state) (at Assets/Plugins/QFSW/Quantum Console/Source/Scripts/QuantumConsoleProcessor.cs:69)
UnityEngine.Debug:LogException(Exception)
QFSW.QC.<>c__DisplayClass24_0:<GenerateCommandTable>b__0(Object) (at Assets/Plugins/QFSW/Quantum Console/Source/Scripts/QuantumConsoleProcessor.cs:73)
System.Threading._ThreadPoolWaitCallback:PerformWaitCallback()

Comments (4)

  1. Log in to comment