question

Manoj Chauhan avatar image
Manoj Chauhan asked

Got an error while upgrading project in unity3d

this is the following error

Assets/scripts/Managers/PlayfabPlayersData.cs(5,15): error CS0234: The type or namespace name `ServerModels' does not exist in the namespace `PlayFab'. Are you missing an assembly reference?

Assets/scripts/Managers/PlayfabPlayersData.cs(79,25): error CS0246: The type or namespace name `UpdateUserDataResult' could not be found. Are you missing `PlayFab.ClientModels' using directive?

unity3dsdks
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

Do you mean upgrade Unity SDK? how do you upgrade it?

However directly according to your error report, the first error is because you haven't enabled Server API, you can find it in the PlayFab Unity extension -> Settings -> API.

Second error is because you haven't added using PlayFab.ClientModels at the beginning of your script.

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.