question

omerkhalid avatar image
omerkhalid asked

Exporting playfab project as a package

I exported a project in which I have implemented a backend multiplayer solution which includes playfab and photon and other services too. I am using server models in a few classes. When I import this package, I am getting errors that ServerModels do not exist in the namespace PlayFab. I am guessing this is because of restriction of ServerApi in the default playfab package but I enabled that in my backend solution. Any help will be appreciated. Thanks

10 |1200

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

1 Answer

·
Seth Du avatar image
Seth Du answered

I assume you are using Unity for development. You are able to manually enable the server API/models via navigating [Project Settings] -> [Other Settings] -> [Scripting Define Symbols] and input “ENABLE_PLAYFABSERVER_API”.

10 |1200

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

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.