Crashes on startup

Mr_Anivex Mr_Anivex · 1 day ago

First off - love the mod idea. I'd love to be able to ride my trains around my factory.

However, this mod is failing to load - would you mind taking a look at it? The error code I'm getting is listed below. Thank you!


Some mods failed to load. Update or remove the affected mods and try again.

---> TypeLoadException: VTable setup of type Dashcam.CabCameraModel failed
at Dashcam.DashcamMod..ctor (Mafi.Core.Mods.ModManifest manifest) [0x00034]
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]
---> TargetInvocationException: Exception has been thrown by the target of an invocation.
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.Core.Game.GameBuilder.<TryInstantiateModsTimeSliced>g__instantiate|9_1 (Mafi.Core.Mods.LoadedModData modData, System.Reflection.ConstructorInfo ctor, Mafi.Core.Game.GameBuilder+<>c__DisplayClass9_0& ) [0x0013e]
at Mafi.Core.Game.GameBuilder+<TryInstantiateModsTimeSliced>d__9.MoveNext () [0x002af]
at System.Linq.Enumerable+WhereSelectEnumerableIterator2[TSource,TResult].ToArray () [0x0003e] at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x0001f]
at Mafi.Collections.ImmutableCollections.ImmutableArray.CreateRange[T] (System.Collections.Generic.IEnumerable1[T] items) [0x00016] at Mafi.Collections.ImmutableCollections.ImmutableArray.ToImmutableArray[TSource] (System.Collections.Generic.IEnumerable1[T] items) [0x00000]
at Mafi.Core.Game.GameBuilder+<BuildLoadedGameTimeSliced>d__1.MoveNext () [0x00321]
at Mafi.Unity.GamePlayScene+<loadGame>d__42.MoveNext () [0x00304]
at Mafi.Unity.GamePlayScene+<Initialize>d__39.MoveNext () [0x000ad]
at Mafi.Unity.Main+<unloadAndStartNewScene>d__126.MoveNext () [0x00146]
at Mafi.Unity.Main.stepSceneInitialization () [0x00122]

Game version: 0.8.8b (b631, s345)
Save made with: 0.8.8a (s344)
Save made with mods: (COI-TrainsDlc 1.0.0), (AutoForestryDesignations 0.4.5), (AutoTerrainDesignations 0.9.6), (Bagger288Mod 0.9.2), (BetterLife_RoadsAndSigns 1.0.15), (BlueprintProductsInfo 1.1.0), (CargoHelicopter 0.20.2), (ConcreteRetainingCube 0.4.18), (DesignerToolkit 0.11.8), (ElevationPP 0.9.13), (HideBlockedPorts 0.1.1), (NotepadMod 0.2.4), (RealLifeTime 1.0.0), (Recolor 1.1.4), (ResearchQueue 1.0.1), (ShipAutoExplore 0.1.4), (UndergroundPipes 1.1.2), (UndergroundTransportMod 6.2.0), (WindPower 0.1.11a), (fishing-fleet 0.1.13), (mega-mining 0.8.3), (settlement-anarchy 1.1.0)
Loaded mods: (Trains expansion 1.0.0), (Kayser's Automatic Forestry Designations 0.4.5), (Kayser's Automatic Terrain Designations 0.9.6), (Bagger 288 0.9.2), (BeTTerLife: Roads and Signs 1.0.15), (Blueprint Products Info 1.1.0), (Cargo Helicopter 0.20.2), (Concrete Retaining Cube 0.4.18), (Dashcam 1.0.0), (Kayser's Blueprint Designer's Toolkit 0.11.8), (Elevation++ 0.9.13), (Hide Blocked Ports 0.1.1), (Notepad Mod 0.2.4), (Recolor 1.1.4), (Research Queue 1.0.1), (ShipAutoExplore 0.1.4), (Underground Pipes 1.1.2), (Underground Transport 6.2.0), (Wind turbines 0.1.11a), (Fishing Fleet 0.1.14), (Mega Mining 0.8.3), (Settlement Anarchy 1.1.0)
Failed mods: (Dashcam 1.0.0)

Scanner · 20 hours ago

Hey there, Mr_Anivex! Thank you very much for the kind words. That's actually how this mod started - I was tired of adjusting the camera while following a train around and thought it would be cool if you could sit in the cab.

When I first got it working, I must have spent 30 minutes just watching trains drive around the city, and hats off to the folks at Mafi - these objects look way better than I would have expected up close!

Apologies for the crash - It's been fixed. The new sound system in this latest version caused a few problems that have been resolved. On the bright side, thanks to Mafi, if you're the type to mess around with the engine sound mute button, it will now fade in and out nicely.

A new version of the Dashcam Mod has been uploaded here. An update should solve your problem immediately. Please let me know if you encounter any additional problems.

Enjoy exploring your cities!

Edited 20 hours ago
Mr_Anivex Mr_Anivex · 9 hours ago

Thanks a ton for the quick response! Loving the mod!

🫡 1
Vladovlak · 8 hours ago

After the repair, it works reliably. Thanks.

🫡 1
Scanner · 4 hours ago

Vladovlak wrote:

After the repair, it works reliably. Thanks.

You're very welcome, have fun exploring!

20 Showing 1–5 of 5