Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Mono Upgrade coroutine does not work with .net 4.6 experimental

Discussion in 'Experimental Scripting Previews' started by hakankaraduman, Nov 22, 2017.

  1. hakankaraduman

    hakankaraduman

    Joined:
    Aug 27, 2012
    Posts:
    354
    I wanted to use ? operator and $ string operator and switched to 4.6 experimental feature. I realize that coroutines don't work. They start but never get past of a statement such as "yield return null" or "yield return new WaitForSeconds(0.5f);". Wanted to let you know.

    My Unity version is 2017.1.2p2
     
  2. Baste

    Baste

    Joined:
    Jan 24, 2013
    Posts:
    6,338
    I've got a bunch of coroutines here and there in 2017.1.2p2 with 4.6, and they all seem to work normally.
     
  3. joncham

    joncham

    Unity Technologies

    Joined:
    Dec 1, 2011
    Posts:
    276
    Yes, can you please file a bug @hakankaraduman ? We have many usages and tests of coroutines that work fine. There must be something specific about your usage.