question

Ethan K. G avatar image
Ethan K. G asked

Party DllNotFoundException: PartyWin32

Download and install Party Unity SDK from here: https://github.com/PlayFab/PlayFabPartyUnity

Try Assets/PlayFabPartySDK/Examples/Demo.unity in Unity 2019.4.20f1 at macOS. Get the following error in the Editor. The build target platform is iOS. Any suggestion or hint please?

DllNotFoundException: PartyWin32
PartyCSharpSDK.SDK.PartyInitialize (System.String titleId, PartyCSharpSDK.PARTY_HANDLE& handle) (at Assets/PlayFabPartySDK/Source/Scripts/PartySDKCSharpSource/SDK.cs:39)
PlayFab.Party.PlayFabMultiplayerManager._Initialize () (at Assets/PlayFabPartySDK/Source/Scripts/PartyUnitySDK/PlayFabMultiplayerManager.cs:745)
PlayFab.Party.PlayFabMultiplayerManager.Start () (at Assets/PlayFabPartySDK/Source/Scripts/PartyUnitySDK/PlayFabMultiplayerManager.cs:133)
unity3dsdks
2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Seth Du avatar image Seth Du ♦ commented ·

Have you configured the title ID in your project?

In addition, according to the document --

    1. Enable 'Prepare iOS for Recording' (set checkbox) in iOS Player Settings
    2. Two PlayFabParty.framework libraries are provided: one for real iOS devices and another one for iOS Simulator (x64). Make sure to enable only one of them for iOS platform before building. The framework for a device is enabled by default (see Inspector settings for PlayFabParty.framework folders)

    Please make sure the configuration has been done.

    0 Likes 0 ·
    jeeth avatar image jeeth commented ·

    This doesn't seem sorted, I am using Unity 2020.3.11f1. MacOS Monterey 12.2.1

    0 Likes 0 ·

    1 Answer

    ·
    Ethan K. G avatar image
    Ethan K. G answered

    @SethDu Thanks for your help.


    Yes, title ID is set up correctly, because login works fine.

    'Prepare iOS for Recording' is checked.

    About the second configuration, I test with

    Assets/PlayFabPartySDK/Source/DLLs/Apple/Simulator/PlayFabParty.framework like this, it doesn't help.

    screen-shot-2021-04-11-at-81439-pm.png

    I didn't change the settings for

    Assets/PlayFabPartySDK/Source/DLLs/Apple/Device/PlayFabParty.framework

    because the bug is generated in macOS Unity Editor.

    In https://github.com/PlayFab/PlayFabPartyUnity, it says Supported platforms:

    • Windows
    • Microsoft Game Core (just "Game Core" below)
    • iOS
    • Android

    So PlayFabPartyUnity SDK doesn't work on macOS or anything else I missed?


    5 comments
    10 |1200

    Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

    Seth Du avatar image Seth Du ♦ commented ·

    Can you reproduce this issue when you build it to the simulator or an iOS device?

    0 Likes 0 ·
    Ethan K. G avatar image Ethan K. G Seth Du ♦ commented ·

    Test and it works fine with the iOS device. So macOS is not supported, right?

    0 Likes 0 ·
    Seth Du avatar image Seth Du ♦ Ethan K. G commented ·

    It is not supported to build to MacOS, meanwhile based on the current situation, it seems Unity Editor is also not supported.

    0 Likes 0 ·
    Show more comments
    evren avatar image evren commented ·

    Hi @SethDu, Is there a time plan for PlayFabPartyUnity work on Unity editor which is on a Mac device? As @Sam metioned, our studio is also working on Mac and we cannot use this feature.

    0 Likes 0 ·

    Write an Answer

    Hint: Notify or tag a user in this post by typing @username.

    Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.