In Unity3D I am reading a textfile with information on nodes and its connections.
However it seems that ALL duplicates are removed automatically!
This is an infamous gotchya in Unity:
very simply, in the Unity console:
IT DOES NOT PRINT DUPLICATES!!!
Look more carefully by the console output, and there's a Collapse toggle that makes it show or not show duplicates.
Collapse
It's that simple.