Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    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:
    7,303
    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:
    7,303
    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!
     
unityunity