Closed originalfoo closed 4 years ago
Will send a PR to fix, just logging issue here.
If a network does not load correctly, it can cause the node to be null:
node
null
https://github.com/CitiesSkylinesMods/HideCrosswalks/blob/14b3c0d405c890d60798539b7fc1a397781b2e06/HideTMPECrosswalks/Utils/PrefabUtils.cs#L32-L33
@krzychu124 spotted the error while testing some stuff for fps booster mod:
btw, that segment was trolleybus vanilla asset, if that matters
Will send a PR to fix, just logging issue here.
If a network does not load correctly, it can cause the
node
to benull
:https://github.com/CitiesSkylinesMods/HideCrosswalks/blob/14b3c0d405c890d60798539b7fc1a397781b2e06/HideTMPECrosswalks/Utils/PrefabUtils.cs#L32-L33
@krzychu124 spotted the error while testing some stuff for fps booster mod: