Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Compiler can't find some .NET System functions

Discussion in '5.3 Beta' started by cory_munky, Oct 30, 2015.

  1. cory_munky

    cory_munky

    Joined:
    Dec 10, 2014
    Posts:
    66
    Any clues why I would get these compile errors with 5.3 but not any 5.2 version?
    .NET 2.0 vs 2.0 Subset both give the same results.


    The type or namespace name `NetworkInformation' does not exist in the namespace `System.Net'.
    `System.IO.Directory' does not contain a definition for `GetLastWriteTime'
    `System.IO.File' does not contain a definition for `GetLastWriteTime'
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,645
    Which platform are you targeting?
     
  3. cory_munky

    cory_munky

    Joined:
    Dec 10, 2014
    Posts:
    66
    This is just from opening the project in OSX. My target is to build for iOS and Android. I have the 5.3 OSX editor with the 5.3 iOS Support installed.
     
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,645
    I meant in Unity editor build settings, which target platform is selected?
     
  5. cory_munky

    cory_munky

    Joined:
    Dec 10, 2014
    Posts:
    66
    Originally, I manually installed just the base editor and iOS support. Reinstalling via the download assistant and including OSX support fixed my confusing errors (after deleting the library).

    Thanks!