bloodypenguin / Skylines-UnlimitedOutsideConnections

Unlimited Outside Connections mod for game Cities: Skylines
GNU General Public License v3.0
5 stars 1 forks source link

Error when creating new Train outside connection #2

Open willbattel opened 6 years ago

willbattel commented 6 years ago

I've confirmed that the mod works for road connections but I am unable to create connections with train tracks. It does place the track but doesn't create the outside connection.

Argument cannot be null.
Parameter name: source [System.ArgumentNullException]

Details:
No details

Cities Skylines version: 1.10.1-f3 All DLCs enabled

No other mods are enabled except for 81 Tiles (Fixed for C:S 1.2+) - Allows to use all 81 map tiles by BloodyPenguin.

CyanideCarrot commented 4 years ago

It used to work for me, but now I am having problems with it after adding 81 tiles (problem persists after removing 81 tiles)

I used the Extended Error Reporting mod to gather this stacktrace:


Parameter name: source
at System.Linq.Check.SourceAndPredicate (object,object) <0x00068>
at System.Linq.Enumerable.Where<uint16> (System.Collections.Generic.IEnumerable`1<uint16>,System.Func`2<uint16, bool>) <0x0001f>
at UnlimitedOutsideConnections.BuildingUtil.FindServiceBuildings (uint) <0x002b7>
at UnlimitedOutsideConnections.BuildingManagerHooks.OnBuildingCreated (uint16) <0x00136>
at (wrapper delegate-invoke) BuildingManager/BuildingCreatedHandler.invoke_void__this___uint16 (uint16) <0x00063>
at (wrapper dynamic-method) BuildingManager.DMD<DMD<CreateBuilding_Patch1>?-1345601152..CreateBuilding_Patch1> (BuildingManager,uint16+,ColossalFramework.Math.Randomizer+,BuildingInfo,UnityEngine.Vector3,single,int,uint) <0x00d9c>
at NetNode.UpdateBuilding (uint16,BuildingInfo,single) <0x0027a>
at Crossings.CrossingsNode.CalculateNode (uint16) <0x016d9>
at (wrapper dynamic-method) NetManager.DMD<DMD<SimulationStepImpl_Patch0>?1364854528..SimulationStepImpl_Patch0> (NetManager,int) <0x00132>
at SimulationManagerBase`2.SimulationStep (int) <0x00040>
at NetManager.ISimulationManager.SimulationStep (int) <0x0001e>
at SimulationManager.SimulationStep () <0x00678>
at SimulationManager.SimulationThread () <0x0015e>```