failed to initialize

Won't fix Mod issue
modeincognito477-cloud [github] · 3 months ago

Issue description

The game failed to initialize. If this issue persists, please file a bug report.

Mafi.DependencyResolverException: Failed to instantiate FastStart.FactoryStartService. ---> Mafi.DependencyResolverException: TargetInvocationException thrown by constructor of 'FastStart.FactoryStartService'. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Registration of new 'NewGameCreated' event by 'FactoryStartService' but the event was already invoked. Current state: None, last state: RenderUpdateEnd
at Mafi.Core.GameLoop.GameLoopEvents.Mafi.Core.GameLoop.INewGameCreatedEvents.RegisterNewGameCreated (System.Object registrator, System.Collections.Generic.IEnumerator1[T] iterativeCallback) [0x00045] at FastStart.FactoryStartService..ctor (Mafi.Core.GameLoop.IGameLoopEvents gameLoopEvents, Mafi.Core.Research.ResearchManager researchManager, Mafi.Core.Vehicles.VehiclesManager vehiclesManager, Mafi.Core.Entities.EntitiesManager entitiesManager, Mafi.Core.Entities.EntitiesCreator entitiesCreator, Mafi.Core.Entities.EntitiesBuilder entitiesBuilder, Mafi.Core.Economy.IAssetTransactionManager assets, Mafi.Core.Prototypes.ProtosDb protosDb) [0x00010] at (wrapper managed-to-native) System.Reflection.RuntimeConstructorInfo.InternalInvoke(System.Reflection.RuntimeConstructorInfo,object,object[],System.Exception&) at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00005] --- End of inner exception stack trace --- at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x0001a] 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) [0x00284]
--- End of inner exception stack trace ---
at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set`1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x002b2]
at Mafi.DependencyResolver.EnsureResolved (System.Type implType, System.Type asType) [0x0008f]
--- End of inner exception stack trace ---
at Mafi.DependencyResolver.EnsureResolved (System.Type implType, System.Type asType) [0x000ae]
at Mafi.DependencyResolver.InstantiateAllAndLock () [0x00316]
at Mafi.Core.Game.GameBuilder+<initializeGame>d__5.MoveNext () [0x0007d]
at Mafi.Core.Game.GameBuilder+<BuildLoadedGameTimeSliced>d__1.MoveNext () [0x00650]
at Mafi.Unity.GamePlayScene+<loadGame>d__28.MoveNext () [0x002ca]
at Mafi.Unity.GamePlayScene+<Initialize>d__25.MoveNext () [0x000ad]
at Mafi.Unity.Main+<unloadAndStartNewScene>d__116.MoveNext () [0x0013b]
at Mafi.Unity.Main.stepSceneInitialization () [0x00104]

Game version: 0.8.6a
Loaded mods: (Trains expansion 1.0.0), (Quick Build Unlocked 1.0.3), (Cargo Helicopter 0.18.0), (Kayser's Blueprint Designer's Toolkit 0.8.5), (Advanced Farm & Food Optimiser 0.1.0), (Fast Start 1.0.2), (Throughput Monitor & Flow Meter 0.2.1), (Underground Transport 5.3.1), (Wind turbines 0.1.11a), (Keybind Framework 2.0.0), (Cheat++ 1.2.9), (Storage++ 1.1.5), (Tweaks++ 1.2.1)
Failed mods: none

Reproduction steps

just trying to load a save from the night before

Game version and build number

v0.8.6a b610

Operating system

Windows

poltime poltime · 3 months ago

Loaded mods: (Trains expansion 1.0.0), (Quick Build Unlocked 1.0.3), (Cargo Helicopter 0.18.0), (Kayser's Blueprint Designer's Toolkit 0.8.5), (Advanced Farm & Food Optimiser 0.1.0), (Fast Start 1.0.2), (Throughput Monitor & Flow Meter 0.2.1), (Underground Transport 5.3.1), (Wind turbines 0.1.11a), (Keybind Framework 2.0.0), (Cheat++ 1.2.9), (Storage++ 1.1.5), (Tweaks++ 1.2.1)

Update the mods.

Closed as 🗑️ Won't fix

6 Showing 1–3 of 3