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

Discussion Apple's game porting toolkit's compatibility with unity ?

Discussion in 'General Discussion' started by AnuragGSG, Jun 14, 2023.

  1. AnuragGSG

    AnuragGSG

    Joined:
    Jun 14, 2023
    Posts:
    1
    does anyone know how the game porting toolkit from apple works with Unity ?
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,362
    It might work, but why would you? Unity can already export to MacOS natively. That will have a ton more performance
     
    CodeSmile, AnuragGSG and angrypenguin like this.
  3. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    3,899
    You would simply run the Windows EXE through the porting kit from what I understand. It does not "work with game engine X", it works with existing builds.

    Using the porting kit is pretty pointless for engines that already support building for MacOS "natively" though.
     
    DevDunk likes this.
  4. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,082
    Apple's "game porting toolkit" is just CrossOver's fork of Wine. It doesn't port your game but instead works in much the same way as Valve's Proton providing a "compatibility layer" that translates Win32 and DirectX API calls into the Apple equivalents.

    It's not intended to be used to play games but to verify that they will work on Apple hardware before the developer does the actual work to port it. For Unity you just opening the build menu and switching the build target to macOS.
     
    Last edited: Jun 14, 2023
  5. Marble

    Marble

    Joined:
    Aug 29, 2005
    Posts:
    1,266
    The Metal shader converter (which is supposed to be excellent) is the distinguishing feature of Apple's toolkit, but the license limits its use to evaluating a game for porting purposes.

    As has been pointed out, though, its utility is moot for Unity, which can build native Metal / Apple Silicon applications already.
     
    DragonCoder and Ryiah like this.
  6. andyz

    andyz

    Joined:
    Jan 5, 2010
    Posts:
    2,128
    Well it is easy to build for Mac... but try getting certified and then signing and notarizing your app so you can give to anyone without the OS complaining :eek:
    Not that windows doesn't complain, but it is easily told to ignore any issue. Less so with Mac unless it changed.
    I would like a "take this windows app and make it run on any mac without complaint" button!
     
  7. Neonlyte

    Neonlyte

    Joined:
    Oct 17, 2013
    Posts:
    505
    Is this an AI-generated response? lol
     
  8. Murgilod

    Murgilod

    Joined:
    Nov 12, 2013
    Posts:
    9,724
    It absolutely is. "Metal for Unity" isn't even a product that exists.