Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
"
1,127,831ms | Simulation error: Object reference not set to an instance of an object
at Vehicle.CalculateTotalLength (uint16,int&) <0x00281>
at Vehicle.CalculateTotalLength (uint16) <0x00036>
at TrainAI.PathFindReady (uint16,Vehicle&) <0x000c5>
at CargoTrainAI.PathFindReady (uint16,Vehicle&) <0x0008b>
at (wrapper dynamic-method) TrainAI.TrainAI.SimulationStep_Patch0 (TrainAI,uint16,Vehicle&,UnityEngine.Vector3) <0x0009d>
at (wrapper dynamic-method) CargoTrainAI.CargoTrainAI.SimulationStep_Patch0 (CargoTrainAI,uint16,Vehicle&,UnityEngine.Vector3) <0x0037c>
at (wrapper dynamic-method) VehicleManager.VehicleManager.SimulationStepImpl_Patch0 (VehicleManager,int) <0x004d9>
"
Interestingly, this exception was now thrown by Vehicle Effects mod:
"
129,318ms | Vehicle Effects An exception was thrown:
NullReferenceException: Object reference not set to an instance of an object
at VehicleEffects.VehicleEffectsMod.ParseVehicleDefinitio
"
Imho this indicates that the issue points more towards this asset than to RTT mod.
Some additional info in output_log.txt related to this asset and Vehicle Effects mod:
129,314ms | Vehicle Effects Added effect Train Brake Cargo to vehicle 551161964.Trailer0
However, no explicit errors in output_log.txt referring to this asset id 551161964
I will run another test with Vehicle Effects disabled & unsubscribed.
130,499ms | Random Train Trailers: 551161964.Trailer1 can not be found!
I will now try this asset without RTT mod, and wait for it to spawn. Back in a moment.
"
The Mod C:\Program Files (x86)\Steam\steamapps\workshop\content\255710\870291141 [RandomTrainTrailers.dll] has caused an error [ModException]
Details:
System.NullReferenceException: Object reference not set to an instance of an object
at RandomTrainTrailers.TrailerManager.ApplyDefinition (RandomTrainTrailers.TrailerDefinition
"
I haven't tried your suggestions yet. I will try them and let you know asap.
Thanks for all support in advance!
Have you tried unsubscribing from this asset and the RTT mod, running Skyve's "Workshop Packages Cleanup" and then subscribing again? A fresh download like that may work
Also, does this asset work fine without RTT enabled or does that still cause issues when it spawns somewhere?
Back after a goodnight rest, cheers.
The issue with this asset, NS 2200 Mixed Cargo, is in combination with Random Train Trailers which throws an object not set to instance exception.
The issue with those other assets, like 2 Lane 2 Way - Tram Road, is an assertion failed error.
Let's minimize further ambiguity and keep things separated ;) (my bad and apologies that i caused the confusion).