Search Unity

  1. How has 2019.2 and the beta been for you so far? Give us feedback in this thread.
    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:
    6,254
    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,157
    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:
    6,254
    Thanks, we'll take a look.
     
  4. elias_t

    elias_t

    Joined:
    Sep 17, 2010
    Posts:
    1,157
    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:
    6,254
    It's most likely not related. Thanks for another bug report :).
     
  6. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

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