Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Does "System.Linq.Last()" cause JIT Error on IOS Platform?

Discussion in 'iOS and tvOS' started by egoquat, Jan 8, 2015.

  1. egoquat

    egoquat

    Joined:
    Jul 4, 2012
    Posts:
    93
    Hello. I figured out next codes cause JIT Error on IOS runtime.
    Dictionary<string, string> fields = new Dictionary<string, string>(){ {"TEST", "TEST"} };
    KeyValuePair<string, string> found = fields.Last(); // <<=== cause JIT Error.

    In my suspicious conclusion are all C# System.Linq.Last() cause JIT Error on IOS.
    Is that right??