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

Unity 5.3 plugin error Universal 8.1

Discussion in 'Windows' started by skaarjslayer, Jan 20, 2016.

  1. skaarjslayer

    skaarjslayer

    Joined:
    Oct 10, 2013
    Posts:
    108
    Using the Vungle SDK for video ads, but the build fails and I get this error:

    I'm using Unity 5.3.1p3 but the error does not occur in 5.2.4f1, somehow I have the feeling it relates to this fix in Unity 5.3.0 release notes:
    • Windows Store: all managed plugins and WinMD files always target AnyCPU architecture. This essentially means that you no longer need to have separate wrapper DLL and winmd files for each native plugin you have.

    Both .WINMD files have different import settings. The one in the Win10 folder is set only to compile for UWP, the other one is set only to compile for SDK81. When I'm building a Universal 8.1 project, I don't see why a failure should occur at all.

    I have three DLL files called RRVungle.dll. One for Windows 8.1, one for Windows Phone 8.1, one for Windows 10. Their import settings are set so that they only compile for each of their respective SDKs but they also need the Vungle SDK as part of the Unity project otherwise Unity complains and it won't compile. We never used to have to do that in with other SDKs in Unity 4.x, but whatever, it's fine, we solved this in 5.2 simply by including the Windows 8.1, Windows Phone 8.1, and Windows 10 SDKs in the build. But now we get this error in 5.3.1p3, and I want to see whether or not I'm missing something.

    Note: I have to have 3 different versions of my plugin with the three SDKs because the namespaces that are referenced are different in each one. Again, with the proper import settings set I don't know why this would be a problem when it wasn't in previous Unity versions.

    Also worth noting that I'm doing this on Windows 10 OS, and as far as I'm aware I have all the necessary tools and SDKs installed for Windows 8.1 development.
     
    Last edited: Jan 20, 2016
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

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

    that is not expected. Could clarify some things a bit? Does it work if you build for Windows 8.1 and Windows Phone 8.1 separately? Could you show us the editor log where this issue occurs?
     
  3. skaarjslayer

    skaarjslayer

    Joined:
    Oct 10, 2013
    Posts:
    108
    Sure, the error originally occurred in a Universal 8.1 build. I just did a build for Windows 8.1 and Windows Phone 8.1 separately and the same thing happens

    Compiled against SDK81:

    Editor Log for SDK81 is basically the same:

    Will post Windows Phone 8.1 results momentarily.
     
  4. skaarjslayer

    skaarjslayer

    Joined:
    Oct 10, 2013
    Posts:
    108
    Should also note that the RRVungle.dll's that reference the SDKs, as well as the SDKs themselves all have "Don't Process" checked because Unity won't compile them without it. I thought that checkbox prevents Unity from meddling with plugins?


    Compiled against Phone SDK81:


    Editor log for Phone SDK81:

    It doesn't look like the Windows 8.1 or WIndows Phone 8.1 SDKs conflict with each other. But both seem to conflict with the Windows 10 SDK which doesn't make sense as it should not be trying to import the Windows 10 SDK whatsoever.
     
  5. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,507
    You missed part of the editor - the exact command line passed to the compiler. And that's the part I was after :(

    The "Dont process" checkbox prevents Unity from touching the plugins (as in modifying them), but Unity still has to pass them to the compilers so you could use them in your scripts.
     
  6. skaarjslayer

    skaarjslayer

    Joined:
    Oct 10, 2013
    Posts:
    108
    Not sure where to find that, Editor.log becomes fairly large by the time I make a build and it fails. Any pointers?
     
  7. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,507
    Just a couple lines above of what you pasted before. That line will contain "/define:NETFX_CORE" in it.
     
  8. skaarjslayer

    skaarjslayer

    Joined:
    Oct 10, 2013
    Posts:
    108
    Is this what you're looking for?

     
  9. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,507
    Yea... exactly. The plugins in Win10 folder are marked as "UWP" SDK, right?
     
  10. skaarjslayer

    skaarjslayer

    Joined:
    Oct 10, 2013
    Posts:
    108
    The ones that are breaking are, yea. There are some Microsoft Store plugins that are set to "Any SDK" though.

    plugin 1.PNG plugin 2.PNG
     
  11. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,507
    I'll give that a shot tomorrow, and see whether there's any kind of workaround.
     
  12. skaarjslayer

    skaarjslayer

    Joined:
    Oct 10, 2013
    Posts:
    108
    Alright, thanks
     
  13. skaarjslayer

    skaarjslayer

    Joined:
    Oct 10, 2013
    Posts:
    108
    Any update on this, @Tautvydas Zilys ? I also tried on latest Unity (5.3.2p1) and it still occurs. For now I might have to live with removing the Windows 10 plugins from the project before making a Windows 8.1 build.
     
  14. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,507
    Sorry, I got carried away.

    I can confirm that this is indeed a Unity bug. We'll try to include a fix into a patch release.
     
  15. anhdotuan

    anhdotuan

    Joined:
    Feb 2, 2016
    Posts:
    14
    I'm using 5.2.3p3 build my project for sdk 80, it 's good. But I build for sdk 81, i get error. Please, help me @Tautvydas Zilys

    Microsoft (R) Visual C# Compiler version 4.6.1055.0

    for C# 5
    Copyright (C) Microsoft Corporation. All rights reserved.



    This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to C# 5, which is no longer the latest version. For compilers that support newer versions of the C# programming language, see http://go.microsoft.com/fwlink/?LinkID=533240
     
  16. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,507
    @anhdotuan your message doesn't contain any errors.
     
  17. anhdotuan

    anhdotuan

    Joined:
    Feb 2, 2016
    Posts:
    14
    Could @Tautvydas Zilys you help me? I get error code:

    Microsoft (R) Visual C# Compiler version 4.6.1055.0

    for C# 5
    Copyright (C) Microsoft Corporation. All rights reserved.



    This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to C# 5, which is no longer the latest version. For compilers that support newer versions of the C# programming language, see http://go.microsoft.com/fwlink/?LinkID=533240

    Assets\Script\CodeSource\ClientClickManager.cs(1525,18): warning CS0659: 'ClientClickManager.intersecVector' overrides Object.Equals(object o) but does not override Object.GetHashCode()
    Assets\Script\comsourcecode\OfflineClientClickManager.cs(1365,18): warning CS0659: 'OfflineClientClickManager.intersecVector' overrides Object.Equals(object o) but does not override Object.GetHashCode()
    Assets\Script\lowAIcomsourcecode\OfflineLowAIClientClickManager.cs(1311,18): warning CS0659: 'OfflineLowAIClientClickManager.intersecVector' overrides Object.Equals(object o) but does not override Object.GetHashCode()
    Assets\Script\virusercomsourcecode\OfflineVirUserClientClickManager.cs(2358,18): warning CS0659: 'OfflineVirUserClientClickManager.intersecVector' overrides Object.Equals(object o) but does not override Object.GetHashCode()
    Assets\Script\controls\menu\MatchInvite.cs(20,62): warning CS0108: 'MatchInvite.enabled' hides inherited member 'UnityEngine.Behaviour.enabled'. Use the new keyword if hiding was intended.
    c:\Program Files\Unity\Editor\Data\PlaybackEngines\MetroSupport\Managed\Phone\UnityEngine.dll: (Location of symbol related to previous warning)
    Assets\Script\controls\menu\MatchInviteFriend.cs(23,45): warning CS0108: 'MatchInviteFriend.enabled' hides inherited member 'UnityEngine.Behaviour.enabled'. Use the new keyword if hiding was intended.
    c:\Program Files\Unity\Editor\Data\PlaybackEngines\MetroSupport\Managed\Phone\UnityEngine.dll: (Location of symbol related to previous warning)
    Assets\Facebook\Scripts\FB.cs(147,13): warning CS0162: Unreachable code detected
    Assets\IGSoft_Resources\Scripts\NcEffect\Common\NcEffectBehaviour.cs(218,5): warning CS0618: 'UnityEngine.ParticleSystem.enableEmission' is obsolete: 'enableEmission property is deprecated. Use emission.enable instead.'
    Assets\IGSoft_Resources\Scripts\NcEffect\Common\NcEffectBehaviour.cs(228,32): warning CS0618: 'UnityEngine.Application.isLoadingLevel' is obsolete: 'This property is deprecated, please use LoadLevelAsync to detect if a specific scene is currently loading.'
    Assets\IGSoft_Resources\Scripts\NcEffect\Common\NsSharedManager.cs(73,5): warning CS0618: 'UnityEngine.ParticleSystem.enableEmission' is obsolete: 'enableEmission property is deprecated. Use emission.enable instead.'
    Assets\IGSoft_Resources\Scripts\NcEffect\NcParticleSystem.cs(334,32): warning CS0618: 'UnityEngine.ParticleSystem.Particle.size' is obsolete: 'size property is deprecated. Use startSize or GetCurrentSize() instead.'
    Assets\IGSoft_Resources\Scripts\NcEffect\NcParticleSystem.cs(466,4): warning CS0618: 'UnityEngine.ParticleSystem.enableEmission' is obsolete: 'enableEmission property is deprecated. Use emission.enable instead.'
    Assets\IGSoft_Resources\Scripts\NcEffect\NcParticleSystem.cs(653,4): warning CS0618: 'UnityEngine.ParticleSystem.emissionRate' is obsolete: 'emissionRate property is deprecated. Use emission.rate instead.'
    Assets\IGSoft_Resources\Scripts\NcEffect\NcParticleSystem.cs(709,4): warning CS0618: 'UnityEngine.ParticleSystem.Particle.size' is obsolete: 'size property is deprecated. Use startSize or GetCurrentSize() instead.'
    Assets\NGUI\Scripts\Internal\NGUIText.cs(118,15): warning CS0618: 'UnityEngine.CharacterInfo.vert' is obsolete: 'CharacterInfo.vert is deprecated. Use minX, maxX, minY, maxY instead.'
    Assets\NGUI\Scripts\Internal\NGUIText.cs(119,15): warning CS0618: 'UnityEngine.CharacterInfo.vert' is obsolete: 'CharacterInfo.vert is deprecated. Use minX, maxX, minY, maxY instead.'
    Assets\NGUI\Scripts\Internal\NGUIText.cs(165,24): warning CS0618: 'UnityEngine.CharacterInfo.width' is obsolete: 'CharacterInfo.width is deprecated. Use advance instead.'
    Assets\NGUI\Scripts\Internal\NGUIText.cs(214,18): warning CS0618: 'UnityEngine.CharacterInfo.vert' is obsolete: 'CharacterInfo.vert is deprecated. Use minX, maxX, minY, maxY instead.'
    Assets\NGUI\Scripts\Internal\NGUIText.cs(215,31): warning CS0618: 'UnityEngine.CharacterInfo.vert' is obsolete: 'CharacterInfo.vert is deprecated. Use minX, maxX, minY, maxY instead.'
    Assets\NGUI\Scripts\Internal\NGUIText.cs(217,18): warning CS0618: 'UnityEngine.CharacterInfo.vert' is obsolete: 'CharacterInfo.vert is deprecated. Use minX, maxX, minY, maxY instead.'
    Assets\NGUI\Scripts\Internal\NGUIText.cs(218,31): warning CS0618: 'UnityEngine.CharacterInfo.vert' is obsolete: 'CharacterInfo.vert is deprecated. Use minX, maxX, minY, maxY instead.'
    Assets\NGUI\Scripts\Internal\NGUIText.cs(220,18): warning CS0618: 'UnityEngine.CharacterInfo.uv' is obsolete: 'CharacterInfo.uv is deprecated. Use uvBottomLeft, uvBottomRight, uvTopRight or uvTopLeft instead.'
    Assets\NGUI\Scripts\Internal\NGUIText.cs(221,18): warning CS0618: 'UnityEngine.CharacterInfo.uv' is obsolete: 'CharacterInfo.uv is deprecated. Use uvBottomLeft, uvBottomRight, uvTopRight or uvTopLeft instead.'
    Assets\NGUI\Scripts\Internal\NGUIText.cs(223,18): warning CS0618: 'UnityEngine.CharacterInfo.uv' is obsolete: 'CharacterInfo.uv is deprecated. Use uvBottomLeft, uvBottomRight, uvTopRight or uvTopLeft instead.'
    Assets\NGUI\Scripts\Internal\NGUIText.cs(224,18): warning CS0618: 'UnityEngine.CharacterInfo.uv' is obsolete: 'CharacterInfo.uv is deprecated. Use uvBottomLeft, uvBottomRight, uvTopRight or uvTopLeft instead.'
    Assets\NGUI\Scripts\Internal\NGUIText.cs(226,21): warning CS0618: 'UnityEngine.CharacterInfo.width' is obsolete: 'CharacterInfo.width is deprecated. Use advance instead.'
    Assets\NGUI\Scripts\Internal\NGUIText.cs(228,24): warning CS0618: 'UnityEngine.CharacterInfo.flipped' is obsolete: 'CharacterInfo.flipped is deprecated. Use uvBottomLeft, uvBottomRight, uvTopRight or uvTopLeft instead, which will be correct regardless of orientation.'
    Assets\NGUI\Scripts\Internal\NGUITools.cs(1272,11): warning CS0618: 'UnityEngine.TextEditor.content' is obsolete: 'Please use 'text' instead of 'content''
    Assets\NGUI\Scripts\Internal\NGUITools.cs(1277,4): warning CS0618: 'UnityEngine.TextEditor.content' is obsolete: 'Please use 'text' instead of 'content''
    Assets\NGUI\Scripts\UI\UILabel.cs(806,7): warning CS0618: 'UnityEngine.Font.textureRebuildCallback' is obsolete: 'Font.textureRebuildCallback has been deprecated. Use Font.textureRebuilt instead.'
    Assets\NGUI\Scripts\UI\UILabel.cs(811,10): warning CS0618: 'UnityEngine.Font.textureRebuildCallback' is obsolete: 'Font.textureRebuildCallback has been deprecated. Use Font.textureRebuilt instead.'
    Assets\NGUI\Scripts\UI\UILabel.cs(822,6): warning CS0618: 'UnityEngine.Font.textureRebuildCallback' is obsolete: 'Font.textureRebuildCallback has been deprecated. Use Font.textureRebuilt instead.'
    Assets\Script\AutoFade.cs(68,13): warning CS0618: 'UnityEngine.Application.LoadLevel(string)' is obsolete: 'Use SceneManager.LoadScene'
    Assets\Script\AutoFade.cs(70,13): warning CS0618: 'UnityEngine.Application.LoadLevel(int)' is obsolete: 'Use SceneManager.LoadScene'
    Assets\Plugins\UnityPluginForWindowsPhone.dll: warning CS1684: Reference to type 'System.Net.Sockets.Socket' claims it is defined in 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhoneApp\v8.1\System.dll', but it could not be found
    Assets\Plugins\UnityPluginForWindowsPhone.dll: warning CS1684: Reference to type 'System.Net.Sockets.Socket' claims it is defined in 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhoneApp\v8.1\System.dll', but it could not be found
    Assets\Plugins\UnityPluginForWindowsPhone.dll: warning CS1684: Reference to type 'System.Net.IPEndPoint' claims it is defined in 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhoneApp\v8.1\System.dll', but it could not be found
    Assets\Plugins\UnityPluginForWindowsPhone.dll: warning CS1684: Reference to type 'System.Net.IPEndPoint' claims it is defined in 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhoneApp\v8.1\System.dll', but it could not be found
    Assets\Plugins\UnityPluginForWindowsPhone.dll: warning CS1684: Reference to type 'System.Net.Sockets.Socket' claims it is defined in 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhoneApp\v8.1\System.dll', but it could not be found
    Assets\Plugins\UnityPluginForWindowsPhone.dll: warning CS1684: Reference to type 'System.Net.Sockets.Socket' claims it is defined in 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhoneApp\v8.1\System.dll', but it could not be found
    Assets\Plugins\UnityPluginForWindowsPhone.dll: warning CS1684: Reference to type 'System.Net.Sockets.Socket' claims it is defined in 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhoneApp\v8.1\System.dll', but it could not be found
    Assets\Plugins\UnityPluginForWindowsPhone.dll: warning CS1684: Reference to type 'System.Net.Sockets.Socket' claims it is defined in 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhoneApp\v8.1\System.dll', but it could not be found
    Assets\Plugins\UnityPluginForWindowsPhone.dll: warning CS1684: Reference to type 'System.Net.Sockets.Socket' claims it is defined in 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhoneApp\v8.1\System.dll', but it could not be found
    Assets\Plugins\UnityPluginForWindowsPhone.dll: warning CS1684: Reference to type 'System.Net.Sockets.Socket' claims it is defined in 'c:\Program Files (x86)\Reference
     
  18. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,507
    Again, there are no errors in that list, only warnings.
     
  19. anhdotuan

    anhdotuan

    Joined:
    Feb 2, 2016
    Posts:
    14
    This is error

    Microsoft (R) Visual C# Compiler version 4.6.1055.0

    for C# 5
    Copyright (C) Microsoft Corporation. All rights reserved.


    I build winphone 80 is ok, but winphone 81, i get that
     
  20. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,507
    That's not an error. Can you post full editor log?
     
  21. anhdotuan

    anhdotuan

    Joined:
    Feb 2, 2016
    Posts:
    14
    Full log

    Microsoft (R) Visual C# Compiler version 4.6.1038.0

    for C# 5
    Copyright (C) Microsoft Corporation. All rights reserved.



    This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to C# 5, which is no longer the latest version. For compilers that support newer versions of the C# programming language, see http://go.microsoft.com/fwlink/?LinkID=533240

    Assets\Script\CodeSource\ClientClickManager.cs(1525,18): warning CS0659: 'ClientClickManager.intersecVector' overrides Object.Equals(object o) but does not override Object.GetHashCode()
    Assets\Script\comsourcecode\OfflineClientClickManager.cs(1365,18): warning CS0659: 'OfflineClientClickManager.intersecVector' overrides Object.Equals(object o) but does not override Object.GetHashCode()
    Assets\Script\lowAIcomsourcecode\OfflineLowAIClientClickManager.cs(1311,18): warning CS0659: 'OfflineLowAIClientClickManager.intersecVector' overrides Object.Equals(object o) but does not override Object.GetHashCode()
    Assets\Script\virusercomsourcecode\OfflineVirUserClientClickManager.cs(2358,18): warning CS0659: 'OfflineVirUserClientClickManager.intersecVector' overrides Object.Equals(object o) but does not override Object.GetHashCode()
    Assets\Script\controls\menu\MatchInvite.cs(20,62): warning CS0108: 'MatchInvite.enabled' hides inherited member 'UnityEngine.Behaviour.enabled'. Use the new keyword if hiding was intended.
    c:\Program Files\Unity\Editor\Data\PlaybackEngines\metrosupport\Managed\Phone\MonoShell\UnityEngine.dll: (Location of symbol related to previous warning)
    Assets\Script\controls\menu\MatchInviteFriend.cs(23,45): warning CS0108: 'MatchInviteFriend.enabled' hides inherited member 'UnityEngine.Behaviour.enabled'. Use the new keyword if hiding was intended.
    c:\Program Files\Unity\Editor\Data\PlaybackEngines\metrosupport\Managed\Phone\MonoShell\UnityEngine.dll: (Location of symbol related to previous warning)
    Assets\Facebook\Scripts\FB.cs(147,13): warning CS0162: Unreachable code detected
    Assets\IGSoft_Resources\Scripts\NcEffect\Common\NcEffectBehaviour.cs(228,32): warning CS0618: 'UnityEngine.Application.isLoadingLevel' is obsolete: 'This property is deprecated, please use LoadLevelAsync to detect if a specific scene is currently loading.'
    Assets\NGUI\Scripts\Internal\NGUIText.cs(118,15): warning CS0618: 'UnityEngine.CharacterInfo.vert' is obsolete: 'CharacterInfo.vert is deprecated. Use minX, maxX, minY, maxY instead.'
    Assets\NGUI\Scripts\Internal\NGUIText.cs(119,15): warning CS0618: 'UnityEngine.CharacterInfo.vert' is obsolete: 'CharacterInfo.vert is deprecated. Use minX, maxX, minY, maxY instead.'
    Assets\NGUI\Scripts\Internal\NGUIText.cs(165,24): warning CS0618: 'UnityEngine.CharacterInfo.width' is obsolete: 'CharacterInfo.width is deprecated. Use advance instead.'
    Assets\NGUI\Scripts\Internal\NGUIText.cs(214,18): warning CS0618: 'UnityEngine.CharacterInfo.vert' is obsolete: 'CharacterInfo.vert is deprecated. Use minX, maxX, minY, maxY instead.'
    Assets\NGUI\Scripts\Internal\NGUIText.cs(215,31): warning CS0618: 'UnityEngine.CharacterInfo.vert' is obsolete: 'CharacterInfo.vert is deprecated. Use minX, maxX, minY, maxY instead.'
    Assets\NGUI\Scripts\Internal\NGUIText.cs(217,18): warning CS0618: 'UnityEngine.CharacterInfo.vert' is obsolete: 'CharacterInfo.vert is deprecated. Use minX, maxX, minY, maxY instead.'
    Assets\NGUI\Scripts\Internal\NGUIText.cs(218,31): warning CS0618: 'UnityEngine.CharacterInfo.vert' is obsolete: 'CharacterInfo.vert is deprecated. Use minX, maxX, minY, maxY instead.'
    Assets\NGUI\Scripts\Internal\NGUIText.cs(220,18): warning CS0618: 'UnityEngine.CharacterInfo.uv' is obsolete: 'CharacterInfo.uv is deprecated. Use uvBottomLeft, uvBottomRight, uvTopRight or uvTopLeft instead.'
    Assets\NGUI\Scripts\Internal\NGUIText.cs(221,18): warning CS0618: 'UnityEngine.CharacterInfo.uv' is obsolete: 'CharacterInfo.uv is deprecated. Use uvBottomLeft, uvBottomRight, uvTopRight or uvTopLeft instead.'
    Assets\NGUI\Scripts\Internal\NGUIText.cs(223,18): warning CS0618: 'UnityEngine.CharacterInfo.uv' is obsolete: 'CharacterInfo.uv is deprecated. Use uvBottomLeft, uvBottomRight, uvTopRight or uvTopLeft instead.'
    Assets\NGUI\Scripts\Internal\NGUIText.cs(224,18): warning CS0618: 'UnityEngine.CharacterInfo.uv' is obsolete: 'CharacterInfo.uv is deprecated. Use uvBottomLeft, uvBottomRight, uvTopRight or uvTopLeft instead.'
    Assets\NGUI\Scripts\Internal\NGUIText.cs(226,21): warning CS0618: 'UnityEngine.CharacterInfo.width' is obsolete: 'CharacterInfo.width is deprecated. Use advance instead.'
    Assets\NGUI\Scripts\Internal\NGUIText.cs(228,24): warning CS0618: 'UnityEngine.CharacterInfo.flipped' is obsolete: 'CharacterInfo.flipped is deprecated. Use uvBottomLeft, uvBottomRight, uvTopRight or uvTopLeft instead, which will be correct regardless of orientation.'
    Assets\NGUI\Scripts\UI\UILabel.cs(806,7): warning CS0618: 'UnityEngine.Font.textureRebuildCallback' is obsolete: 'Font.textureRebuildCallback has been deprecated. Use Font.textureRebuilt instead.'
    Assets\NGUI\Scripts\UI\UILabel.cs(811,10): warning CS0618: 'UnityEngine.Font.textureRebuildCallback' is obsolete: 'Font.textureRebuildCallback has been deprecated. Use Font.textureRebuilt instead.'
    Assets\NGUI\Scripts\UI\UILabel.cs(822,6): warning CS0618: 'UnityEngine.Font.textureRebuildCallback' is obsolete: 'Font.textureRebuildCallback has been deprecated. Use Font.textureRebuilt instead.'
    Assets\Plugins\UnityPluginForWindowsPhone.dll: warning CS1684: Reference to type 'System.Net.Sockets.Socket' claims it is defined in 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhoneApp\v8.1\System.dll', but it could not be found
    Assets\Plugins\UnityPluginForWindowsPhone.dll: warning CS1684: Reference to type 'System.Net.Sockets.Socket' claims it is defined in 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhoneApp\v8.1\System.dll', but it could not be found
    Assets\Plugins\UnityPluginForWindowsPhone.dll: warning CS1684: Reference to type 'System.Net.IPEndPoint' claims it is defined in 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhoneApp\v8.1\System.dll', but it could not be found
    Assets\Plugins\UnityPluginForWindowsPhone.dll: warning CS1684: Reference to type 'System.Net.IPEndPoint' claims it is defined in 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhoneApp\v8.1\System.dll', but it could not be found
    Assets\Plugins\UnityPluginForWindowsPhone.dll: warning CS1684: Reference to type 'System.Net.Sockets.Socket' claims it is defined in 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhoneApp\v8.1\System.dll', but it could not be found
    Assets\Plugins\UnityPluginForWindowsPhone.dll: warning CS1684: Reference to type 'System.Net.Sockets.Socket' claims it is defined in 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhoneApp\v8.1\System.dll', but it could not be found
    Assets\Plugins\UnityPluginForWindowsPhone.dll: warning CS1684: Reference to type 'System.Net.Sockets.Socket' claims it is defined in 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhoneApp\v8.1\System.dll', but it could not be found
    Assets\Plugins\UnityPluginForWindowsPhone.dll: warning CS1684: Reference to type 'System.Net.Sockets.Socket' claims it is defined in 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhoneApp\v8.1\System.dll', but it could not be found
    Assets\Plugins\UnityPluginForWindowsPhone.dll: warning CS1684: Reference to type 'System.Net.Sockets.Socket' claims it is defined in 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhoneApp\v8.1\System.dll', but it could not be found
    Assets\Plugins\UnityPluginForWindowsPhone.dll: warning CS1684: Reference to type 'System.Net.Sockets.Socket' claims it is defined in 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhoneApp\v8.1\System.dll', but it could not be found
    Assets\Script\CodeSource\BuyStickOnline.cs(404,30): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\CodeSource\BuyStickOnline.cs(537,34): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\CodeSource\ClientClickManager.cs(464,25): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\CodeSource\ClientClickManager.cs(745,34): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\CodeSource\ClientClickManager.cs(838,17): warning CS0162: Unreachable code detected
    Assets\Script\CodeSource\ClientMoveBall.cs(143,25): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\CodeSource\EightBallClientGamePlay.cs(389,26): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\CodeSource\EightBallClientGamePlay.cs(521,15): warning CS0168: The variable 'd' is declared but never used
    Assets\Script\CodeSource\LoadingControl.cs(226,33): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\CodeSource\Program.cs(238,20): warning CS0168: The variable 'j' is declared but never used
    Assets\Script\CodeSource\Program.cs(1425,113): warning CS0168: The variable 'dr' is declared but never used
    Assets\Script\CodeSource\Program.cs(1426,53): warning CS0168: The variable 'z' is declared but never used
    Assets\Script\CodeSource\Stick.cs(410,34): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\CodeSource\Stick.cs(589,17): warning CS0162: Unreachable code detected
    Assets\Script\Face.cs(294,30): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\comsourcecode\OfflineClientClickManager.cs(1509,21): warning CS0162: Unreachable code detected
    Assets\Script\comsourcecode\OfflineClientMoveBall.cs(670,30): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\comsourcecode\OfflineClientMoveBall.cs(805,38): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\comsourcecode\OfflineClientMoveBall.cs(920,38): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\comsourcecode\OfflineClientMoveBall.cs(954,34): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\comsourcecode\OfflineClientMoveBall.cs(1064,38): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\comsourcecode\Program.cs(231,20): warning CS0168: The variable 'j' is declared but never used
    Assets\Script\comsourcecode\Program.cs(1416,113): warning CS0168: The variable 'dr' is declared but never used
    Assets\Script\comsourcecode\Program.cs(1417,53): warning CS0168: The variable 'z' is declared but never used
    Assets\Script\LitJSON.dll: warning CS1684: Reference to type 'System.Collections.Specialized.IOrderedDictionary' claims it is defined in 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhoneApp\v8.1\System.dll', but it could not be found
    Assets\Script\LitJSON.dll: error CS0011: The base class or interface 'System.Collections.Specialized.IOrderedDictionary' in assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' referenced by type 'LitJson.IJsonWrapper' could not be resolved
    Assets\Script\LitJSON.dll: warning CS1684: Reference to type 'System.Collections.Specialized.IOrderedDictionary' claims it is defined in 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhoneApp\v8.1\System.dll', but it could not be found
    Assets\Script\LitJSON.dll: warning CS1684: Reference to type 'System.Collections.Specialized.IOrderedDictionary' claims it is defined in 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhoneApp\v8.1\System.dll', but it could not be found
    Assets\Script\LitJSON.dll: warning CS1684: Reference to type 'System.Collections.Specialized.IOrderedDictionary' claims it is defined in 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhoneApp\v8.1\System.dll', but it could not be found
    Assets\Script\LitJSON.dll: warning CS1684: Reference to type 'System.Collections.Specialized.IOrderedDictionary' claims it is defined in 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhoneApp\v8.1\System.dll', but it could not be found
    Assets\Script\LitJSON.dll: warning CS1684: Reference to type 'System.Collections.Specialized.IOrderedDictionary' claims it is defined in 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhoneApp\v8.1\System.dll', but it could not be found
    Assets\Script\LitJSON.dll: warning CS1684: Reference to type 'System.Collections.Specialized.IOrderedDictionary' claims it is defined in 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhoneApp\v8.1\System.dll', but it could not be found
    Assets\Script\controls\chat\ChatText.cs(63,30): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\controls\login\LoginControl.cs(103,26): warning CS0168: The variable 'ex' is declared but never used
    Assets\Script\controls\login\LoginControl.cs(595,34): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\controls\login\LoginControl.cs(976,26): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\controls\login\LoginControl.cs(1212,34): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\controls\menu\Info\InfoPlayer.cs(161,30): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\controls\menu\MenuControl.cs(201,26): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\controls\menu\MenuControl.cs(781,26): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\controls\menu\PublicControl.cs(922,30): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\controls\menu\PublicControl.cs(1348,34): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\controls\menu\SelectTour.cs(151,26): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\controls\menu\Setting\SettingControl.cs(142,30): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\controls\menu\Shop\BuyStickControl.cs(265,34): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\controls\menu\rank\RankControl.cs(636,26): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\controls\menu\stick\clickbuystick.cs(43,38): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\controls\menu\stick\clickbuystickgameplay.cs(40,38): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\controls\menu\stick\clickbuystickgameplayvirtual.cs(40,38): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\controls\play\playcontrol.cs(327,26): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\helpcomsourcescode\OfflineHelpClientMoveBall.cs(513,34): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\helpcomsourcescode\OfflineHelpControl.cs(113,21): warning CS0219: The variable 'BALL_D' is assigned but its value is never used
    Assets\Script\helpcomsourcescode\Program.cs(278,20): warning CS0168: The variable 'j' is declared but never used
    Assets\Script\lowAIcomsourcecode\OfflineLowAIClientClickManager.cs(1454,21): warning CS0162: Unreachable code detected
    Assets\Script\lowAIcomsourcecode\OfflineLowAIClientMoveBall.cs(584,34): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\lowAIcomsourcecode\OfflineLowAIClientMoveBall.cs(648,38): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\lowAIcomsourcecode\OfflineLowAIClientMoveBall.cs(699,30): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\lowAIcomsourcecode\OfflineLowAIClientMoveBall.cs(768,38): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\lowAIcomsourcecode\OfflineLowAIClientMoveBall.cs(851,38): warning CS0168: The variable 'e' is declared but never used
    Assets\Script\lowAIcomsourcecode\OfflineLowAIControl.cs(60,13): warning CS0219: The variable 'iyou' is assigned but its value is never used
    Assets\Script\lowAIcomsourcecode\Program.cs(231,20): warning CS0168: The variable 'j' is declared but never used
    Assets\Script\lowA<message truncated>
     
  22. anhdotuan

    anhdotuan

    Joined:
    Feb 2, 2016
    Posts:
    14
    this is print screen
     

    Attached Files:

  23. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,507
  24. anhdotuan

    anhdotuan

    Joined:
    Feb 2, 2016
    Posts:
    14
    the full editor log on my file system
     

    Attached Files:

  25. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,507
    It looks like the LitJson.dll plugin you're using is not compatible with Windows Phone 8.1:

     
    anhdotuan likes this.
  26. anhdotuan

    anhdotuan

    Joined:
    Feb 2, 2016
    Posts:
    14
    THank you very much, i solved that
     
  27. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,507
    The fix got released today with Unity 5.3.3p1.
     
  28. abiaocom

    abiaocom

    Joined:
    May 2, 2015
    Posts:
    1
    This error still appears in unity 5.3.3p3 :(:(

    Microsoft (R) Visual C# Compiler version 4.6.1055.0

    for C# 5
    Copyright (C) Microsoft Corporation. All rights reserved.



    This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to C# 5, which is no longer the latest version. For compilers that support newer versions of the C# programming language, see http://go.microsoft.com/fwlink/?LinkID=533240

    Assets\Plugins\metro\VungleSDK.winmd: error CS1704: �Ѿ������˾�����ͬ�ļ������ơ�VungleSDK, Version=1.1.6.0, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime���ij����볢���Ƴ�����һ�����ã��������ü���ǩ�������ò���ģʽ��
    Assets\Plugins\metro\WindowsPhone81\VungleSDK.winmd: (��ǰһ���������صķ���λ��)
     
  29. White8eard

    White8eard

    Joined:
    Aug 4, 2014
    Posts:
    61
    same error here..
    Microsoft (R) Visual C# Compiler version 4.6.1055.0
    for Microsoft (R) .NET Framework 4.5
    Copyright (C) Microsoft Corporation. All rights reserved.

    Assets\Plugins\VungleSDKProxy.dll: error CS1704: An assembly with the same simple name 'VungleSDKProxy, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null has already been imported. Try removing one of the references or sign them to enable side-by-side.
    Assets\Plugins\metro\VungleSDKProxy.winmd: (Location of symbol related to previous error)

    using unity 5.3.2f1
    platform: wp 8.1
     
    Last edited: Mar 15, 2016
  30. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,642
    Check plugin settings for VungleSDKProxy.winmd, it should have Assets\Plugins\VungleSDKProxy.dll as placeholder.
     
  31. White8eard

    White8eard

    Joined:
    Aug 4, 2014
    Posts:
    61
    fixed..ty
     
  32. KingLoveBN

    KingLoveBN

    Joined:
    May 30, 2016
    Posts:
    3
    I build winphone 8.0 is ok, but winphone 8.1, i get that
    Microsoft (R) Visual C# Compiler version 4.6.1038.0

    for C# 5
    Copyright (C) Microsoft Corporation. All rights reserved.



    This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to C# 5, which is no longer the latest version. For compilers that support newer versions of the C# programming language, see http://go.microsoft.com/fwlink/?LinkID=533240

    c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhoneApp\v8.1\System.Net.Http.dll: error CS1703: An assembly with the same identity 'System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' has already been imported. Try removing one of the duplicate references.
    Assets\Plugins\WP8\System.Net.Http.dll: (Location of symbol related to previous error)
     
  33. KingLoveBN

    KingLoveBN

    Joined:
    May 30, 2016
    Posts:
    3
  34. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,642
    There is something messed up with your project. Looks like you have some dlls in it, that shouldn't be there as they are provided by compiler (SDK to be exact). Search your project for System.Net.Http.dll
     
  35. IndieFist

    IndieFist

    Joined:
    Jul 18, 2013
    Posts:
    515
    Well, i just have restarted my computer with windows trying to send a new release of my game on windows phone. And this is whay windows market is useless.
    Small indies have to fight to get some revenue, only vungle and a few options.
    Hard to implement.
    Hard to find revenue and alot of errors.
    I have the same issue about vungle found it on multiple locations. Maybe its about using latest unity version.