Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

[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:
      816
    • 2.png
      2.png
      File size:
      31.3 KB
      Views:
      755
    • 3.png
      3.png
      File size:
      18 KB
      Views:
      808
    • 4.png
      4.png
      File size:
      87.9 KB
      Views:
      815
  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:
      791
  3. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,606
    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:
      844