-
Notifications
You must be signed in to change notification settings - Fork 85
ArgumentException An element with the same key already exists in the dictionary
You see an error on-screen or in log file like:
ArgumentException: An element with the same key already exists in the dictionary.
This occurs when a mod tries to store a value as a key in a dictionary lookup table, but the dictionary already contains a key with that value.
It can be caused by errors in the mod, or sometimes having multiple versions of the same mod subscribed.
In the log file, look for the full error message which will usally start with the ArgumentException
error and then be followed by several lines starting with at ...
.
If you see FineRoadAnarchy.ModInfo:.ctor()
or FineRoadTool.ModInfo:.ctor()
in the error message, it is almost certain that you have eitehr two versions of Fine Road Anarchy and/or Fine Road Tool mods subscribed. To fix, completely unsubscribe the older versions of the mod (don't just disable them).
If not, please share your log file in support forums and hopefully someone will be able to help.
Other issues? See: Troubleshooting
Red links are broken; this wiki is a work in progress
Getting Started (click to open)
Troubleshooting / Bugs (click to open)
- Hints Panel
- Road & Rail:
- Junctions:
- Despawning:
- Info Views:
- Roads/Tracks:
- Nodes, Segments, Lanes
- Collector Roads
- Dedicated Turning Lanes
- Enter Blocked Junctions
- High Priority Roads
- Highway Junction Rules
- Lane Changes
- Pedestrian Crossings
- Priority Routes
- Road Conditions
- Roundabouts
- Roundabout Policies
- Stay in Lane
- Turn on Red
- U-Turns
- Unprotected Turns
- Vehicle Restriction Aggression
- Public Transport:
- Vehicles:
Todo: