Captain of Industry

Captain of Industry

Tremor65 Apr 22, 2024 @ 10:58am
Mapeditor error
when i want to load a map or open new , i get this error

Beim laden einer Map(Standard,Downloaded oder Wip-) ,Resize Map oder laden einer neuen Map kommt dieser Fehler ...



Das Spiel konnte nicht initialisiert werden. Bitte senden Sie uns einen Bericht mit Details.

Mafi.DependencyResolverException: Failed to instantiate Mafi.Unity.Vehicles.ExcavatorMbFactory. --->
Mafi.DependencyResolverException: Failed to instantiate 'Mafi.Unity.Vehicles.ExcavatorMbFactory'. --->
Mafi.DependencyResolverException: TargetInvocationException thrown by constructor of 'Mafi.Unity.Audio.EntityAudioManager'. --->
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.Audio.EntityAudioManager..ctor (Mafi.Unity.Audio.AudioDb audioDb, Mafi.Unity.Camera.CameraController cameraController, Mafi.Core.GameLoop.IGameLoopEvents gameLoopEvents) [0x00035]
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.Set`1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x00260]
--- 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) [0x0028b]
at Mafi.DependencyResolver.resolveDependency (System.Type dependencyType, System.Boolean throwOnError, Mafi.Collections.Set`1[T] pendingResolves, System.Int32 recursionDepth) [0x000da]
at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set`1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x0021a]
--- 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) [0x0023b]
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__6.MoveNext () [0x00077]
at Mafi.Core.Game.GameBuilder+<BuildNewGameTimeSliced>d__2.MoveNext () [0x003f5]
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]

help pls
Originally posted by Captain of Industry devs:
Thanks for the report, issues with EntityAudioManager were hopefully fixed in v0.6.3b. If problems persist, please let us know!
< >
Showing 1-4 of 4 comments
Captain Zuff  [developer] Apr 29, 2024 @ 8:44am 
Sorry for the late reply to this. Is this issue still happening? If so what game version are you running?
Tremor65 Apr 29, 2024 @ 10:01am 
yes it still happen ,running v0.6.3a
my rig
win 10
i 14700 k
gf 4090
32gb ram

all drivers are up to date.
Captain Zuff  [developer] May 3, 2024 @ 11:02am 
Originally posted by Tremor65:
yes it still happen ,running v0.6.3a
my rig
win 10
i 14700 k
gf 4090
32gb ram

all drivers are up to date.

Thanks I've created a ticket for it in Github here:
https://github.com/MaFi-Games/Captain-of-Industry-issues/issues/1499

Feel free to monitor it and if we figure out what the issue I'll post back here.
A developer of this app has indicated that this post answers the original topic.
Captain of Industry devs  [developer] May 8, 2024 @ 10:01pm 
Thanks for the report, issues with EntityAudioManager were hopefully fixed in v0.6.3b. If problems persist, please let us know!
< >
Showing 1-4 of 4 comments
Per page: 1530 50