Issue description
Regularly the save doesn't load completely and I have to close the game and restart. If I try to open any map in the editor after the save hasn't loaded, there is a high chance it crashes. The crash sometimes happens when I try to load the save as well.
Reproduction steps
- Load attached save
- Crash happens
Secondary (trying to resolve the issue with the save):
- reopened the game
- opened map editor
- loaded in normally
- Tried to load any map after crash
- Crash of editor
Game version and build number
v0.6.2 b327
Operating system
Windows
Attachments
The game failed to initialize. Please file a bug report if this issue persists.
Mafi.DependencyResolverException: Failed to instantiate 'Mafi.Unity.MapEditor.MapEditor'. ---> Mafi.DependencyResolverException: Failed to instantiate 'Mafi.Unity.InputControl.UnityInputManager'. ---> Mafi.DependencyResolverException: Failed to instantiate 'Mafi.Unity.InputControl.Inspectors.InspectorController'. ---> Mafi.DependencyResolverException: Failed to instantiate 'Mafi.Unity.InputControl.CursorPickingManager'. ---> Mafi.DependencyResolverException: Failed to instantiate 'Mafi.Unity.Terrain.TreeRenderer'. ---> Mafi.DependencyResolverException: Failed to instantiate 'Mafi.Unity.ObjectHighlighter'. ---> Mafi.DependencyResolverException: TargetInvocationException thrown by constructor of 'Mafi.Unity.Camera.CameraController'. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
at Mafi.Unity.Camera.CameraController..ctor (Mafi.Core.GameLoop.IGameLoopEvents gameLoopEvents, Mafi.Unity.Camera.OrbitalCameraModel cameraModel, Mafi.Unity.InputControl.Cursors.CursorManager cursorManager, Mafi.Unity.InputControl.ShortcutsManager shortcutsManager, Mafi.Unity.UserInterface.Style.UiStyle style, Mafi.Core.Map.IStartLocationProvider startLocationProvider, Mafi.LazyResolve1[T] gameMenuController) [0x0008f] 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) [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.resolveDependency (System.Type dependencyType, System.Boolean throwOnError, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth) [0x000da]
at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x0021a] --- End of inner exception stack trace --- at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x0023b]
at Mafi.DependencyResolver.resolveDependency (System.Type dependencyType, System.Boolean throwOnError, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth) [0x000da] at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x0021a]
--- End of inner exception stack trace ---
at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x0023b] at Mafi.DependencyResolver.resolveDependency (System.Type dependencyType, System.Boolean throwOnError, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth) [0x000da]
at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x0021a] --- End of inner exception stack trace --- at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x0023b]
at Mafi.DependencyResolver.resolveDependency (System.Type dependencyType, System.Boolean throwOnError, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth) [0x000da] at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x0021a]
--- End of inner exception stack trace ---
at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x0023b] at Mafi.DependencyResolver.resolveDependency (System.Type dependencyType, System.Boolean throwOnError, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth) [0x000da]
at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x0021a] --- End of inner exception stack trace --- at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x0023b]
at Mafi.DependencyResolver.resolveDependency (System.Type dependencyType, System.Boolean throwOnError, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth) [0x000da] at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x0021a]
--- End of inner exception stack trace ---
at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x0023b] at Mafi.DependencyResolver.resolveDependency (System.Type dependencyType, System.Boolean throwOnError, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth) [0x000da]
at Mafi.DependencyResolver.TryResolve (System.Type dependencyType) [0x00029]
at Mafi.DependencyResolver.TryResolve[T] (T& dep) [0x00000]
at Mafi.Logging.Graylog.GraylogLogger.NotifyNewGameStarted (Mafi.DependencyResolver resolver) [0x000a2]
at Mafi.Unity.GameMainMb.onResolverCreated (Mafi.DependencyResolver resolver) [0x0000f]
at Mafi.Unity.Main.onResolverCreated (Mafi.DependencyResolver resolver) [0x0000a]
at Mafi.Unity.MapEditor.MapEditorScene.onResolverCreated (Mafi.DependencyResolver resolver) [0x00011]
at Mafi.Core.Game.GameBuilder+<BuildNewGameTimeSliced>d__2.MoveNext () [0x0037f]
at Mafi.Unity.MapEditor.MapEditorScene+<loadMap>d__15.MoveNext () [0x0033b]
at Mafi.Unity.MapEditor.MapEditorScene+<Initialize>d__12.MoveNext () [0x000cb]
at Mafi.Unity.Main+<unloadAndStartNewScene>d__70.MoveNext () [0x000fc]
at Mafi.Unity.Main.stepSceneInitialization () [0x000dc]
Try 3 - Move Smelting.save, 24-04-16_08-12-42_4170.zip
Files not imported: Try 3 - Move Smelting.save, 24-04-16_08-12-42_4170.zip