Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS Support #15

Open
jjolley opened this issue Jul 25, 2023 · 3 comments
Open

MacOS Support #15

jjolley opened this issue Jul 25, 2023 · 3 comments

Comments

@jjolley
Copy link

jjolley commented Jul 25, 2023

Is there a way to include a dll or other files to get this to support macOS. It seems like the main SDK and party SDK for unity do support macOS but not this one.

Are there any plans to support this officially?

@nassosterz-ms
Copy link
Collaborator

macOS support for PlayFabMultiplayer is a relatively new feature. We do have plans to support PlayFabMultiplayer for macOS on Unity, but, at this moment, we can not provide an exact estimate.

On the other hand, you can try mimicking what we have done for macOS on PlayFab Party on Unity and integrate it.

I could point out to some steps that will be required for this on this thread if you are interested.

@warrenbenyahia
Copy link

warrenbenyahia commented Sep 7, 2023

Hi, I tried to implement it but I get a DDLNotFoundException on Play.

Here is what I did :

  • Put PlayFabMultiplayerFramework_macOS.framework and PlayFabMultiplayerFramework_macOS.framework.dSYM in folder : "Assets/PlayFabMultiplayerSDK/Source/DLLs/macOS"

  • Then in InteropConfiguration.cs I added :
    #elif UNITY_STANDALONE_OSX
    const string ThunkDllName = "PlayFabMultiplayerFramework_macOS";

  • It appears correctly in Unity but when pressing Play I get the following error :
    "DllNotFoundException: PlayFabMultiplayerFramework_macOS.framework.dSYM assembly: type: member:(null)
    PlayFab.Multiplayer.InteropWrapper.PFMultiplayer.PFMultiplayerInitialize (System.String titleId, PlayFab.Multiplayer.InteropWrapper.PFMultiplayerHandle& handle) (at Assets/PlayFabMultiplayerSDK/Source/Scripts/InteropWrapper/PFMultiplayerCommon.cs:67)"

I tried with version 1.6.2 and 1.5.2, and I also set ThunkDllName with the following names :
PlayFabMultiplayerFramework_macOS.framework
PlayFabMultiplayerFramework_macOS.framework.dSYM

Do you have any suggestions ? Thank !

@nassosterz-ms
Copy link
Collaborator

Apologies for the slow response here. I will experiment a bit with this over the following days, following the steps you outlined.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants