Issue description
The game failed to initialize. Please file a bug report if this issue persists.
Mafi.DependencyResolverException: Failed to instantiate CaptainOfCheats.UI.CaptainOfCheatsController. ---> Mafi.DependencyResolverException: TypeLoadException thrown by constructor of 'CaptainOfCheats.UI.CaptainOfCheatsController'. ---> System.TypeLoadException: VTable setup of type CaptainOfCheats.UI.CaptainOfCheatsController failed
at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00029]
at System.Reflection.RuntimeConstructorInfo.DoInvoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00086]
at System.Reflection.RuntimeConstructorInfo.Invoke (System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000]
at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x00260] --- End of inner exception stack trace --- at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x0028b]
at Mafi.DependencyResolver.EnsureResolved (System.Type implType, System.Type asType) [0x0008e]
--- End of inner exception stack trace ---
at Mafi.DependencyResolver.EnsureResolved (System.Type implType, System.Type asType) [0x000aa]
at Mafi.DependencyResolver.InstantiateAllAndLock () [0x002e6]
at Mafi.Core.Game.GameBuilder+<initializeGame>d__4.MoveNext () [0x00077]
at Mafi.Core.Game.GameBuilder+<BuildNewGameTimeSliced>d__1.MoveNext () [0x0029c]
at Mafi.Unity.GamePlayScene+<buildNewGame>d__15.MoveNext () [0x0007a]
at Mafi.Unity.GamePlayScene+<Initialize>d__14.MoveNext () [0x000a5]
at Mafi.Unity.Main.stepSceneInitialization () [0x00000]
Reproduction steps
Start new game using Captain of Cheats
Game version and build number
v0.5.3e b225
Operating system
Windows
Attachments
The game failed to initialize. Please file a bug report if this issue persists.
Mafi.DependencyResolverException: Failed to instantiate CaptainOfCheats.UI.CaptainOfCheatsController. ---> Mafi.DependencyResolverException: TypeLoadException thrown by constructor of 'CaptainOfCheats.UI.CaptainOfCheatsController'. ---> System.TypeLoadException: VTable setup of type CaptainOfCheats.UI.CaptainOfCheatsController failed
at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00029]
at System.Reflection.RuntimeConstructorInfo.DoInvoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00086]
at System.Reflection.RuntimeConstructorInfo.Invoke (System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000]
at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x00260] --- End of inner exception stack trace --- at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x0028b]
at Mafi.DependencyResolver.EnsureResolved (System.Type implType, System.Type asType) [0x0008e]
--- End of inner exception stack trace ---
at Mafi.DependencyResolver.EnsureResolved (System.Type implType, System.Type asType) [0x000aa]
at Mafi.DependencyResolver.InstantiateAllAndLock () [0x002e6]
at Mafi.Core.Game.GameBuilder+<initializeGame>d__4.MoveNext () [0x00077]
at Mafi.Core.Game.GameBuilder+<BuildNewGameTimeSliced>d__1.MoveNext () [0x0029c]
at Mafi.Unity.GamePlayScene+<buildNewGame>d__15.MoveNext () [0x0007a]
at Mafi.Unity.GamePlayScene+<Initialize>d__14.MoveNext () [0x000a5]
at Mafi.Unity.Main.stepSceneInitialization () [0x00000]