[GeForce Now] Error Loading

Fixed
ericjohnson7606-debug [github] · 1 year ago

Issue description

The game failed to initialize. Please file a bug report if this issue persists.

Mafi.DependencyResolverException: Failed to instantiate Mafi.Core.Trains.TrainTrackPathFinder. ---> Mafi.DependencyResolverException: TargetInvocationException thrown by constructor of 'Mafi.Core.Trains.TrainTrackPathFinder'. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.UnauthorizedAccessException: Access to the path "C:\Program Files (x86)\Steam\steamapps\common\Captain of Industry\TrainTrackPathHeuristics\0.generated.tph" is denied.
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e]
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode) [0x00000]
at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode)
at Mafi.Core.Trains.TrainTrackPathFinder.loadTrainTrackPathHeuristics (Mafi.Core.IFileSystemHelper fsHelper) [0x0009c]
at Mafi.Core.Trains.TrainTrackPathFinder..ctor (Mafi.Core.Terrain.TerrainOccupancyManager occupancyManager, Mafi.Core.Terrain.TerrainManager terrainManager, Mafi.Core.Trains.TrainTracksGraphManager trainGraphManager, Mafi.Core.Trains.TrainTracksPillarManager tracksPillarManager, Mafi.Core.Entities.EntitiesManager entitiesManager, Mafi.Core.Ports.Io.IoPortsManager portsManager, Mafi.Core.IFileSystemHelper fileSystemHelper, Mafi.Core.Prototypes.ProtosDb protosDb, Mafi.Core.CoreModConfig config) [0x0013f]
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.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+<BuildLoadedGameTimeSliced>d__3.MoveNext () [0x00390]
at Mafi.Unity.GamePlayScene+<loadGame>d__25.MoveNext () [0x00297]
at Mafi.Unity.GamePlayScene+<Initialize>d__22.MoveNext () [0x000a5]
at Mafi.Unity.Main+<unloadAndStartNewScene>d__89.MoveNext () [0x0011b]
at Mafi.Unity.Main.stepSceneInitialization () [0x000dd]

Reproduction steps

Game login via GeoForceNow

Game version and build number

v0.7.8 b481

Operating system

Windows

c00w [github] · 1 year ago

Note that this doesn't show up outside of geforce now with the same save as on geforce now.

c00w [github] · 1 year ago

I've also reported this bug to geforce now.

Captain Filip Captain Filip · 1 year ago

Sorry, you are all experiencing issues. It seems that GeForce Now has rolled out an update that completely cut off the game from accessing its very own files. That's quite unlucky. We are looking into it.

Captain Filip Captain Filip · 1 year ago

We have just contacted Nvidia and are awaiting their response.
In the meantime, please don't delete your save files or do anything with your accounts; they are not the root cause.

ericjohnson7606-debug [github] · 1 year ago

Thanks so much for your fast response! Will keep all files and await GeoForceNow. Thanks again! @MaFi-Games

ericjohnson7606-debug [github] · 1 year ago

I saw a post on the official GeForce now forums saying that it’s a game
designer issue related to the most recent patch.

On Tue, Aug 19, 2025 at 11:41 AM Silastar @.***> wrote:

Silastar left a comment (MaFi-Games/Captain-of-Industry-issues#2185)
[GeForce Now] Error Loading

Any updates? I'm missing my attempts at perfect ratio

—
Reply to this email directly, view it on GitHub
[GeForce Now] Error Loading,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BWF6COWKY7MKCGYYQFN3H3T3ONVVFAVCNFSM6AAAAACEGLM62WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTEMBRHAYDOMRXHA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Captain Filip Captain Filip · 1 year ago

We are in contact with Nvidia and their engineers are looking into the issue.

Captain Filip Captain Filip · 1 year ago

We have just received a message from Nvidia that this should be fixed, can you please try it and let us know?

Closed as ✅ Fixed

11 Showing 1–11 of 11