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

Multiplatform Game Development

Discussion in 'Editor & General Support' started by Da_NKP, Jan 22, 2015.

  1. Da_NKP

    Da_NKP

    Joined:
    Jan 22, 2015
    Posts:
    3
    I am working with Unity to make a very simple game. However, I have noticed that using multiple platforms to develop a game is a bit challenging. First, project files in MonoDevelop fail to load properly, specifically the UnityEditor, UnityEngine, and the UnityEngine.UI - these are a specific file type, dll if the project was created in Windows. If one tries editing, or it seems even running, the project on a Mac, the game will fail to run.

    Note: I am using DropBox to sync game files between platforms currently. However, the file difference is aggravating enough.

    I was wondering if anyone has experience Developing on multiple platforms?

    Obviously, Google has failed, since any search for "unity" and "cross-platform" or "multiplatform" will immediately return how Unity is a great IDE for cross-platform development.
     

    Attached Files:

    BrandyStarbrite likes this.
  2. Graham-Dunnett

    Graham-Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Posts:
    4,287
    Well, what platforms are you aiming for? Typically if you're doing PC and Mac, you only need to have Unity running on one platform. The Windows Unity can create Mac executables, and vice versa. If the Mac you took the screenshot from is failing to find the dlls then I cannot immediately suggest why. Usually you'll have those DLLs in:

    /Applications/Unity/Unity.app/Contents/Frameworks/Managed

    If they are not there, something bad is happening. Possibly you're saving the MD project and it's looking for things in wherever the Windows machine will store these files? Copying the MD project seems wrong to me.
     
  3. Da_NKP

    Da_NKP

    Joined:
    Jan 22, 2015
    Posts:
    3
    Yeah. I feel really stupid. So, MonoDevelop will freak out, but the quick solution is to simple edit the scripts from unity. So instead of loading files inside mono, just choose to edit scripts from unity, and MonoDevelop will receive valid scripts. Again sorry about this stupid post. Thanks for responding. *note, that does mean that sharing an entire unity project cross platform is decidedly easy and effortless.
     
  4. Graham-Dunnett

    Graham-Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Posts:
    4,287
    Glad you got it sorted. Always good to have these questions answered here, so future users can get help.
     
  5. Da_NKP

    Da_NKP

    Joined:
    Jan 22, 2015
    Posts:
    3
    Exactly. DEAR FUTURE, here's what we know so far: you can use practically any tool to sync Entire projects between multiple platforms. Do not start by opening MonoDevelop. Open Unity and then launch MonoDevelop from inside Unity. Remember that using third party tools can become problematic. Back up your project before trying to use another tool. In my experience Unity plays very nicely with other apps, like Notepad++ and Dropbox. If you have any problems with other 3rd party tools used to assist Unity, feel free to post it here.