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
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

IL2CPP for Windows Store Apps in 5.3 beta?

Discussion in '5.3 Beta' started by oscabrg, Oct 2, 2015.

  1. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,644
    It looks like a bug - I've managed to reproduce it myself thanks to the details you provided. I filed a bug report (case 737565).

    It seems to be having problems with static constructor of "Publisher" type. As far as I can tell, the static constructor is using reflection to get a specific method with specified parameters. IL2CPP is trying to find it and fails when retrieving the default value of a parameter because the parameter type is not initialized and we think it should be.

    To workaround for now, you can delete that assert... it doesn't seem to be crucial.
     
    Last edited: Oct 19, 2015
  2. elias_t

    elias_t

    Joined:
    Sep 17, 2010
    Posts:
    1,367
    I made a bug report with a repro project.

    Yes the plugins are dlls, compiled for SDK10 universal. They work with netCore.

    Case 737264
     
  3. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,644
    Thanks, we'll take a look.
     
  4. elias_t

    elias_t

    Joined:
    Sep 17, 2010
    Posts:
    1,367
    Thanks. I don't know if this is connected but I have exactly the same problem on Android Il2cpp not finding the .so plugins. case 736110 with repro project.
     
  5. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,644
    It's most likely not related. Thanks for another bug report :).
     
  6. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,644
    The bug was fixed for 5.3b5 :). Native plugins work just fine now.
     
    elias_t likes this.