PlayFab / PlayFabPartyUnity

38 stars 7 forks source link

Error on MacOS #36

Open jjolley opened 11 months ago

jjolley commented 11 months ago

Why is the Mac version looking for a windows DLL

DllNotFoundException: PartyWin32 PartyCSharpSDK.SDK.PartyInitialize (System.String titleId, PartyCSharpSDK.PARTY_HANDLE& handle) (at Assets/PlayFabPartySDK/Source/Scripts/PartySDKCSharpSource/SDK.cs:39) PlayFab.Party.PlayFabMultiplayerManager.InitializeImpl () (at Assets/PlayFabPartySDK/Source/Scripts/PartyUnitySDK/PlayFabMultiplayerManager.cs:844) PlayFab.Party.PlayFabMultiplayerManager._Initialize () (at Assets/PlayFabPartySDK/Source/Scripts/PartyUnitySDK/PlayFabMultiplayerManager.cs:753) PlayFab.Party.PlayFabMultiplayerManager.Start () (at Assets/PlayFabPartySDK/Source/Scripts/PartyUnitySDK/PlayFabMultiplayerManager.cs:143)

nassosterz-ms commented 11 months ago

Can you check the following file: Assets\PlayFabPartySDK\Source\Scripts\PartySDKCSharpSource\Interop\PFPInterop.cs

Depending on the platform and the macros defined, the correct set of binaries is dynamically chosen. Do you have UNITY_GAMECORE || MICROSOFT_GAME_CORE enabled?