Search Unity

[WSA] WinRTBridge TypeInitializationException

Discussion in 'Windows' started by NexusMind, Apr 13, 2016.

  1. NexusMind

    NexusMind

    Joined:
    Mar 24, 2015
    Posts:
    3
    Hola,

    I created clear app in Unity 5.3.4 and build it for WSA (phone 8.1). Game worked well at device. After this, i added Adjust SDK plugin (https://github.com/adjust/unity_sdk) and built it. When i'm launch app, i see black screen. Then i tried deploy game from project solution and got the exception (pic. 1 and 2). Okay, i'm tried to find out more about this exception and what i got (pic. 3) How i can fix it?
    Look at pic. 4, project with one scene and one plugin.
     

    Attached Files:

    • 1.png
      1.png
      File size:
      11.8 KB
      Views:
      400
    • 2.png
      2.png
      File size:
      31.3 KB
      Views:
      338
    • 3.png
      3.png
      File size:
      18 KB
      Views:
      408
    • 4.png
      4.png
      File size:
      87.9 KB
      Views:
      419
  2. NexusMind

    NexusMind

    Joined:
    Mar 24, 2015
    Posts:
    3
    P.S. After building, Unity show me 15 errors.
     

    Attached Files:

    • 5.png
      5.png
      File size:
      108.1 KB
      Views:
      381
  3. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    2,248
    Where did you get that Microsoft.Threading.Tasks.Extensions.dll? Are sure it's compatible with WSA?
    If that dll is compatible with WSA, you can mark it unprocessed in Unity, that would fix the last error that you get.
     
  4. NexusMind

    NexusMind

    Joined:
    Mar 24, 2015
    Posts:
    3
    Yeah, this libs is a part of Adjust SDK (pic. 7) Hm, okay, but what i should do, to fix exception?
     

    Attached Files:

    • 7.png
      7.png
      File size:
      9.7 KB
      Views:
      352