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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

WIndows Store Certification Errors

Discussion in 'Windows' started by UnityNewbieX, Sep 21, 2013.

  1. UnityNewbieX

    UnityNewbieX

    Joined:
    Sep 21, 2013
    Posts:
    5
    I exported a project from Unity v4.2 to a Windows Store app with a build option of D3D11 C# Solution. I used JavaScript files in the Unity project and the game works fine on Windows Phone and Windows 8.

    I change the Configuration Manager option to Release and Platform to x86. I am able to compile the project and run it fine on my Windows 8 slate and the game works as expected. Now when I Create App Package to upload to the store I get the following error messages using WACK v2.2:

    Windows security features test - FAILED (Binary analyser)
    * Error Found: The binary analyzer test detected the following errors:
    ...Boo.Lang.dll has failed the NXCheck check.
    ...Boo.Lang.dll has failed the SafeSEHCheck check.
    * Impact if not fixed: If the app doesn’t use the available Windows protections, it can increase the vulnerability of customer's computer to malware.
    * How to fix: Apply the required linker options - SAFESEH, DYNAMICBASE, NXCOMPAT, and APPCONTAINER - when you link the app. See links below for more information:

    Supported API test - FAILED (Supported APIs)
    * Error Found: The supported APIs test detected the following errors:
    ...API System.Console in MSCORLIB, PUBLICKEYTOKEN=XXXXXXXXXX is not supported for this application type. Boo.Lang.dll calls this API.
    * Impact if not fixed: Using an API that is not part of the Windows SDK for Windows Store apps violates the Windows Store certification requirements.
    * How to fix: Review the error messages to identify the API that is not part of the Windows SDK for Windows Store apps. Please note, C++ apps that are built in a debug configuration will fail this test even if it only uses APIs from the Windows SDK for Windows Store apps. See the link below for more information:

    There are options to use a linker option but there is no option for that in a C# solution. I am using Visual Studio 2012 and really stuck here. Any help will be appreciated as I am trying to get this into the Windows store as soon as I can.

    Has anyone else come across the above error? Is there any solution to this?
     
  2. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,673
    Javascript is not supported for Windows Store Apps in 4.2, this might change in 4.3
     
  3. UnityNewbieX

    UnityNewbieX

    Joined:
    Sep 21, 2013
    Posts:
    5
    @Tomas1856 - thanks for taking time to reply to this topic. I guess we just have to wait and see until the next version.
     
  4. saisanthosh93

    saisanthosh93

    Joined:
    Nov 29, 2013
    Posts:
    7
    I exported a project from Unity v4.3.1 to a Windows Store app with a build option of xaml C# Solution.but iam getting certification failure in WACK kit that " Using an API that is not part of the Windows SDK for Windows Store apps violates the Windows Store certification requirements."

    please tell how i can fix that...
    reply soon
     
  5. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,507
    That sounds serious? Can you post full WACK log?
     
  6. saisanthosh93

    saisanthosh93

    Joined:
    Nov 29, 2013
    Posts:
    7
    Supported API test

    FAILED
    Supported APIs

    Error Found: The supported APIs test detected the following errors:◦API System.IO.Directory in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Assembly-CSharp.dll calls this API.
    ◦API System.IO.Directory.GetCurrentDirectory in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Assembly-CSharp.dll calls this API.
    ◦API System.IO.Path.DirectorySeparatorChar in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Assembly-CSharp.dll calls this API.
    ◦API System.IO.Directory.GetDirectories(System.String,System.String) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Assembly-CSharp.dll calls this API.
    ◦API System.IO.Directory.GetDirectories(System.String) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Assembly-CSharp.dll calls this API.
    ◦API System.IO.Directory.GetFiles(System.String) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Assembly-CSharp.dll calls this API.
    ◦API System.IO.Directory.GetFiles(System.String,System.String) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Assembly-CSharp.dll calls this API.


    Impact if not fixed: Using an API that is not part of the Windows SDK for Windows Store apps violates the Windows Store certification requirements.


    How to fix: Review the error messages to identify the API that is not part of the Windows SDK for Windows Store apps. Please note, C++ apps that are built in a debug configuration will fail this test even if it only uses APIs from the Windows SDK for Windows Store apps. See the link below for more information:
     
  7. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,673
  8. saisanthosh93

    saisanthosh93

    Joined:
    Nov 29, 2013
    Posts:
    7
    i didnt get it....please tell me the exact procedure for fixing this problem....
     
  9. saisanthosh93

    saisanthosh93

    Joined:
    Nov 29, 2013
    Posts:
    7
     
  10. saisanthosh93

    saisanthosh93

    Joined:
    Nov 29, 2013
    Posts:
    7
    iam adding using unityengine.windows in vs 2012 and test by wack kit now iam getting another bug...

    Supported API test




    FAILED
    Supported APIs

    Error Found: The supported APIs test detected the following errors:◦API System.IO.Directory in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Assembly-CSharp.dll calls this API.
    ◦API System.IO.Directory.GetCurrentDirectory in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Assembly-CSharp.dll calls this API.
    ◦API System.IO.Path.DirectorySeparatorChar in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Assembly-CSharp.dll calls this API.
    ◦API System.IO.Directory.GetDirectories(System.String,System.String) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Assembly-CSharp.dll calls this API.
    ◦API System.IO.Directory.GetDirectories(System.String) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Assembly-CSharp.dll calls this API.
    ◦API System.IO.Directory.GetFiles(System.String) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Assembly-CSharp.dll calls this API.
    ◦API System.IO.Directory.GetFiles(System.String,System.String) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Assembly-CSharp.dll calls this API.


    Impact if not fixed: Using an API that is not part of the Windows SDK for Windows Store apps violates the Windows Store certification requirements.


    rply soon
     
  11. BFS-Kyle

    BFS-Kyle

    Joined:
    Jun 12, 2013
    Posts:
    882
    Take a look at the API that it is mentioning:

    These are not supported on Windows 8 - the functions don't exist. So you will have to look in your code to find where you use the function "GetCurrentDirectory()" and either a) Remove it for Windows 8 builds, or b) replace it with supported functions for Windows 8.

    The getting started post in this forum is a great place to look for, well, getting started, and any common issues are in there. Specifically in the FAQ about unsupported classes and functions.

    -Kyle
     
  12. Meltdown

    Meltdown

    Joined:
    Oct 13, 2010
    Posts:
    5,796
  13. TarunL

    TarunL

    Joined:
    Jan 2, 2014
    Posts:
    17
    Hi Guys,

    I am facing the same the problem as UnityNewbieX posted above.
    I have coded in Unity 4.2 in JS and C# both. The game works fine in Local Machine and Simulator and my tablet too when I make a build through debug. But when I Create App Package to upload to the store I get the following error messages using WACK v3.4:

    Windows security features test
    FAILED
    Binary analyzer

    • Error Found: The binary analyzer test detected the following errors:
      • Boo.Lang.dll has failed the NXCheck check.
      • Boo.Lang.dll has failed the SafeSEHCheck check.

    Supported API test
    FAILED
    Supported APIs

    • Error Found: The supported APIs test detected the following errors:
      • API System.Console in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Diagnostics.Process in SYSTEM, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Diagnostics.ProcessStartInfo in SYSTEM, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Collections.Hashtable in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Runtime.Serialization.SerializationInfo in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Reflection.MemberTypes in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.MissingFieldException in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Reflection.Emit.DynamicMethod in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Reflection.Emit.ILGenerator in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Reflection.Emit.LocalBuilder in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.MissingMethodException in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.ApplicationException in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Reflection.Binder in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.String.Format(System.String,System.Object) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Console.WriteLine(System.Object) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Console.ReadLine in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Console.Write(System.String) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Diagnostics.Process.#ctor in SYSTEM, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Diagnostics.Process.get_StartInfo in SYSTEM, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Diagnostics.ProcessStartInfo.set_Arguments(System.String) in SYSTEM, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Diagnostics.ProcessStartInfo.set_CreateNoWindow(System.Boolean) in SYSTEM, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Diagnostics.ProcessStartInfo.set_UseShellExecute(System.Boolean) in SYSTEM, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Diagnostics.ProcessStartInfo.set_RedirectStandardOutput(System.Boolean) in SYSTEM, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Diagnostics.ProcessStartInfo.set_RedirectStandardInput(System.Boolean) in SYSTEM, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Diagnostics.ProcessStartInfo.set_RedirectStandardError(System.Boolean) in SYSTEM, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Diagnostics.ProcessStartInfo.set_FileName(System.String) in SYSTEM, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Diagnostics.Process.Start in SYSTEM, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Diagnostics.Process.get_StandardOutput in SYSTEM, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Diagnostics.Process.WaitForExit in SYSTEM, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.String.Format(System.String,System.Object,System.Object) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Collections.Hashtable.#ctor(System.Collections.IEqualityComparer) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Collections.Hashtable.Add(System.Object,System.Object) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.StringComparer.get_InvariantCultureIgnoreCase in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Collections.Hashtable.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Collections.Hashtable.get_Count in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Collections.Hashtable.GetEnumerator in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Collections.Hashtable.ContainsKey(System.Object) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Collections.Hashtable.get_Item(System.Object) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Collections.Hashtable.GetHash(System.Object) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Exception.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.MissingFieldException.#ctor(System.String) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Reflection.MemberInfo.get_MemberType in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Type.EmptyTypes in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Type) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Reflection.Emit.DynamicMethod.GetILGenerator in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Reflection.Emit.DynamicMethod.CreateDelegate(System.Type) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Reflection.Emit.ILGenerator.Emit(System.Reflection.Emit.OpCode,System.Type) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Reflection.Emit.ILGenerator.Emit(System.Reflection.Emit.OpCode) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Reflection.Emit.ILGenerator.Emit(System.Reflection.Emit.OpCode,System.Int32) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Reflection.Emit.ILGenerator.Emit(System.Reflection.Emit.OpCode,System.Reflection.MethodInfo) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Reflection.Emit.ILGenerator.Emit(System.Reflection.Emit.OpCode,System.Reflection.Emit.LocalBuilder) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Reflection.Emit.ILGenerator.DeclareLocal(System.Type) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Reflection.Emit.ILGenerator.Emit(System.Reflection.Emit.OpCode,System.Reflection.FieldInfo) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.MissingMethodException.#ctor(System.String) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Type.GetMember(System.String,System.Reflection.MemberTypes,System.Reflection.BindingFlags) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Environment.get_Version in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Type.get_IsCOMObject in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.MissingMethodException.#ctor(System.String,System.Exception) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.String.Format(System.String,System.Object,System.Object,System.Object) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.ApplicationException.#ctor(System.String) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Type.InvokeMember(System.String,System.Reflection.BindingFlags,System.Reflection.Binder,System.Object,System.Object[]) in MSCORLIB, PUBLICKEYTOKEN=7CEC85D7BEA7798E is not supported for this application type. Boo.Lang.dll calls this API.
      • API System.Console in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Poly2Tri.dll calls this API.
      • API System.Text.StringBuilder.AppendFormat(System.String,System.Object) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Poly2Tri.dll calls this API.
      • API System.Console.WriteLine(System.String) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Poly2Tri.dll calls this API.

    Please help me out. Thanks in advance.


    Regards
    Tarun
     
  14. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,507
    Hi,

    Windows Store started supporting UnityScript only in 4.3. It was not working in 4.2.
     
  15. TarunL

    TarunL

    Joined:
    Jan 2, 2014
    Posts:
    17
    Hi Tautvydas Zilys,

    Thanks for taking out time and replying.
    I started developing this game on November,2013 using Unity 4.2 and there was windows store support in it. Through this I created the build and made it run on my device.
    Now, the game has to be uploaded to market. While passing it through WACK, its showing me errors.

    As asked by you, I can't switch it to Unity 4.3 as it has some issues related to SQLite.


    Please suggest some solution through Unity 4.2.


    Tarun
     
  16. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,507
    Let's put it this way: UnityScript will not be accepted to Windows Store in Unity 4.2. The only workaround is to rewrite scripts in C#.

    Anyway, what exact issues are you having in Unity 4.3/4.5? What's wrong with SQLite in those Unity versions?
     
  17. TarunL

    TarunL

    Joined:
    Jan 2, 2014
    Posts:
    17
    Ahh. That would be too cumbersome to write all JS files into C#.

    In version 4.3, the compiler sends Unhandled Exception Error without any reason for it. Whereas, it allows to compile a build for Windows Store in Unity 4.2 without an issue.
    Version 4.4/4.5 have build types other than D3D11 C# which in-turn again don't allow to generate build.
     
  18. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,507
    D3D11 C# projects were removed because practically nobody used them. Is there any reason why XAML projects won't work for you?
     
  19. TarunL

    TarunL

    Joined:
    Jan 2, 2014
    Posts:
    17
    Yup, it throws issues and asks me to remove many 3rd party plugin effects.

    Btw... boo.lang.dll error is removed after creating build through Unity 4.3.3. Thanks a lot mate for this help.

    But, now its throwing me "Poly2Tri.dll calls this API". Please help in this too.
     
  20. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,507
    Could you post the full error message? Poly2Tri.dll is not part of Unity - did you create it yourself?
     
  21. TarunL

    TarunL

    Joined:
    Jan 2, 2014
    Posts:
    17
    No I didn't create it myself. Its there. Find below:
    • API System.Console in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Poly2Tri.dll calls this API.
    • API System.Console.WriteLine(System.String) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Poly2Tri.dll calls this API.
     
  22. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,507
    Where did you get that DLL from? Looks like it wasn't made to be compatible with Windows Store Apps. Do you have source code for it?
     
  23. TarunL

    TarunL

    Joined:
    Jan 2, 2014
    Posts:
    17
    This DLL is called in one of the 3rd party plugins.
    Does this error belong to that dll or System.Console API called in that DLL?
    Please suggest the approach.
     
  24. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,507
    The problem lies within Poly2Tri.dll. It uses System.Console API, which is not an allowed scenario.

    You'll either have to edit the source code of the DLL, or contact the DLL author to do it for you.
     
  25. itachi4365

    itachi4365

    Joined:
    Sep 24, 2012
    Posts:
    40
    Hi,
    I am getting the following error
    • API System.Console in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. C5.dll calls this API.
    • API System.Reflection.MethodBase.GetCurrentMethod in SYSTEM.REFLECTION, PUBLICKEYTOKEN=B03F5F7F11D50A3A is not supported for this application type. C5.dll calls this API.
    • API System.Console.WriteLine(System.String,System.Object,System.Object,System.Object) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. C5.dll calls this API.
    • API System.Console.WriteLine(System.String,System.Object[]) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. C5.dll calls this API.
    • API System.Console.WriteLine(System.String) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. C5.dll calls this API.
    • API System.Console.WriteLine(System.String,System.Object) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. C5.dll calls this API.
    • API System.Console.WriteLine(System.String,System.Object,System.Object) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. C5.dll calls this API.
    • API System.Console.get_Out in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. C5.dll calls this API.
    • API System.Console.Write(System.String) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. C5.dll calls this API.
    • API System.Type.EmptyTypes in SYSTEM.RUNTIME, PUBLICKEYTOKEN=B03F5F7F11D50A3A is not supported for this application type. C5.dll calls this API.
    • API System.Type.GetInterface(System.String) in SYSTEM.RUNTIME, PUBLICKEYTOKEN=B03F5F7F11D50A3A is not supported for this application type. C5.dll calls this API.
    Can you please help?
     
  26. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,673
    you need to get C5.dll compatible with Windows Store Apps, apparently yours is compiled with Desktop .NET
     
  27. itachi4365

    itachi4365

    Joined:
    Sep 24, 2012
    Posts:
    40
    Can you please guide me on how to do that? I have selected Compilation Override to use Net Core.
    In the XAML C# project, under reference I do have .NET Windows Store Apps.
     
    Last edited: May 8, 2015
  28. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,673
    I am not sure what is C5.dll, and from what website you've got it, but that website has to provide C5.dll compiled against .NET for Windows Store Apps.