Thank you for submitting your inquiry.
You can track the status of your inquiry here.
You may want to save your case's ticket: 696840_1ukc8ppg8btktrh6


    (Closed) -e il2cpp fucks up initialization of this class
     
     
     
    0
    -e il2cpp fucks up initialization of this class:

    public class Turn
    {
        public List<Point> matchHexes;
        public List<Point> effectHexes;
        
        public Turn(List<Point> matchHexes, List<Point> effectHexes)
        {
            this.matchHexes = matchHexes;
            this.effectHexes = effectHexes;
        }
    }

    with code

    Turn turn = new Turn(
            new List<Point>(){ new Point(1,4), new Point(2,4), new Point(3,4),new Point(4,5),new Point(5,4), new Point(6,5),new Point(7,4)},
            new List<Point>(){new Point(2,4)}
    );

    both matchHexes and effectHexes are initialized with effectHexes. The relevant generated code:

    List_1_t1 * V_1 = {0};
    {
    ...
        V_1 = L_0;
    ...
        V_1 = L_8;
    ...
        Turn__ctor_m0(L_10, V_1, V_1, ...);
                          **********
    }

     
       
      To follow up on this case, send email to bugs@unity3d.com mentioning 'Case 696840' in the subject.
      Your Cases:
      Case Title Status Date Opened
      696840 -e il2cpp fucks up initialization of this class Closed 5/14/2015 6:09 PM
      644760 "Loading.UpdatePreloading -> Application.Integrate Assets in Closed 11/2/2014 8:19 PM
      643330 When exporting to WebGL, compiling a script with a long (> Closed 10/28/2014 2:30 PM
      643106 When exporting to WebGL, "Convert and compile scripting Closed 10/27/2014 6:08 PM