© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
50 replies
Zfx

❔ Out of bound error

I get this error :

ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
System.Collections.Generic.List`1[T].get_Item (System.Int32 index) (at <f3aec01a34d14c7080754e28743c8472>:0)
Tore.GénérerBordures () (at Assets/Scripts/Tore.cs:82)
Tore.Awake () (at Assets/Scripts/Tore.cs:40)

and I don't really understand why it does that ngl. Here's the code for the 'tore' class (which basically creates a torus)
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Next page

Similar Threads

✅ upper bound of BigInteger Type
C#CC# / help
3y ago
Out of memory error
C#CC# / help
2y ago
❔ Display error message if value out of limit
C#CC# / help
3y ago
QuickSort implementation gets me an out-of-range error
C#CC# / help
11mo ago