Search Unity

Coroutine stop working with jit error

Discussion in 'iOS and tvOS' started by Ahmadhp, May 1, 2015.

  1. Ahmadhp

    Ahmadhp

    Joined:
    May 31, 2013
    Posts:
    33
    Hi there,

    I just got this strange problem that when i used a coroutine unity just gave me this exception that "trying to use jit method in aot mode", and i freaked out for whole two days and searching all over internet to find something similar, but no one reported same kind of problem.
    Till yesterday that i some how got this aot compile error that overriding "OnValidate" method in text component is not supported in iOS devices. ( i extended Text component to build some kind of persian supported text component )
    So when i prevent "OnValidate" method from working in iOS environment, the coroutines start to work fine again ...
    What's happend exactly ?? how this OnValidate method or jit error related to coroutines ????????????????