Here is a transcript of an inquiry made on Unity answers
Posted here to increase the chance of solving this CrossPlatform issue, within Unity Itself
--------- A dedicated Crossplatform support Subforum, this place needs -------------
Hello there.
We are a two humans 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 --(this is the same instance replicated for each tile the code is attempting to generate)–
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 on Mac
How can we make it work
Unity Answers link
http://answers.unity3d.com/questions/1147894/project-transfer-win-to-mac-array-and-list-issues.html