Project transfer Win to Mac list SystemGeneric.Collections issue
Hello there.
We are a two human team, 1 of us is on a windows machine, the other on a Mac both with the last version of unity.
On windows the code works just fine, android builds work too.
The project was also transferred to a mac, ( by transferring the entire folder, and opening it with unity) press play for testing and
1 istance
ArgumentOutOfRangeException: Argument is out of range. Parameter name: index System.Collections.Generic.List`1[UnityEngine.Vector3].get_Item (Int32 index) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Collections.Generic/List.cs:633) LevelGeneration.GeneratePath () (at Assets/Scripts/LevelGeneration.cs:111) LevelGeneration.Start () (at Assets/Scripts/LevelGeneration.cs:74)
506 instances
ArgumentOutOfRangeException: Argument is out of range. Parameter name: index System.Collections.Generic.List`1[UnityEngine.Vector3].get_Item (Int32 index) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Collections.Generic/List.cs:633) LevelGeneration.GeneratePath () (at Assets/Scripts/LevelGeneration.cs:103) LevelGeneration.Update () (at Assets/Scripts/LevelGeneration.cs:86)
Could give you a transcript of the code, it is pretty lengthy though
Pretty sure is something about System Collections Generic, which is included in .net framework
https://msdn.microsoft.com/en-us/library/system.collections.generic(v=vs.110).aspx
seems like Xamarin has it
https://developer.xamarin.com/api/namespace/System.Collections.Generic/
How can we make it work
Unity Forums Link about this same very topic
Your answer
Follow this Question
Related Questions
Trying to program two buttons to appear when the player in my game dies 0 Answers
Only spawning power ups that the player wants in that game 1 Answer
Remembering list of camera positions is not working 0 Answers
Merging multiple array's from a specific class without manually targeting them 0 Answers