Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • API and SDK Questions /
avatar image
Question by HapyGames · Apr 07 at 01:54 AM · sdks

I can not upgrade to the latest PlayFab SDK

When I try to Upgrade to the latest PlayFab SDK (2.015.210315), I am getting this error..

How can I fix it?

I never changed anything in the PlayFab Scripts.

IndexOutOfRangeException: Index was outside the bounds of the array. PlayFab.PlayFabSettings.GetSharedSettingsObjectPrivate () (at Assets/PlayFabSDK/Shared/Public/PlayFabSettings.cs:62) PlayFab.PlayFabSettings.get_PlayFabSharedPrivate () (at Assets/PlayFabSDK/Shared/Public/PlayFabSettings.cs:35) PlayFab.PlayFabSettings+<>c.<.cctor>b__0_0 () (at Assets/PlayFabSDK/Shared/Public/PlayFabSettings.cs:40) PlayFab.PlayFabSettingsRedirect.get_TitleId () (at Assets/PlayFabSDK/Shared/Public/PlayFabApiSettings.cs:73) PlayFab.PlayFabSettings.get_TitleId () (at Assets/PlayFabSDK/Shared/Public/PlayFabSettings.cs:88) System.Reflection.MonoProperty.StaticGetterAdapterFrame[R] (System.Reflection.MonoProperty+StaticGetter`1[R] getter, System.Object obj) (at <eae584ce26bc40229c1b1aa476bfa589>:0) System.Reflection.MonoProperty.GetValue (System.Object obj, System.Object[] index) (at <eae584ce26bc40229c1b1aa476bfa589>:0) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoProperty.GetValue (System.Object obj, System.Object[] index) (at <eae584ce26bc40229c1b1aa476bfa589>:0) PlayFab.PfEditor.PlayFabEditorDataService+PlayFab_SharedSettingsProxy.Get[T] (System.String name) (at Assets/PlayFabEditorExtensions/Editor/Scripts/Utils/PlayFabEditorDataService.cs:56) PlayFab.PfEditor.PlayFabEditorDataService+PlayFab_SharedSettingsProxy.get_TitleId () (at Assets/PlayFabEditorExtensions/Editor/Scripts/Utils/PlayFabEditorDataService.cs:19) PlayFab.PfEditor.PlayFabEditorSDKTools.ShowSdkInstalledMenu () (at Assets/PlayFabEditorExtensions/Editor/Scripts/Panels/PlayFabEditorSDKTools.cs:163) PlayFab.PfEditor.PlayFabEditorSDKTools.DrawSdkPanel () (at Assets/PlayFabEditorExtensions/Editor/Scripts/Panels/PlayFabEditorSDKTools.cs:42) PlayFab.PfEditor.PlayFabEditor.OnGuiInternal () (at Assets/PlayFabEditorExtensions/Editor/PlayFabEditor.cs:125) PlayFab.PfEditor.PlayFabEditor.HideRepaintErrors (System.Action action) (at Assets/PlayFabEditorExtensions/Editor/PlayFabEditor.cs:177) PlayFab.PfEditor.PlayFabEditor.OnGUI () (at Assets/PlayFabEditorExtensions/Editor/PlayFabEditor.cs:104) System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <eae584ce26bc40229c1b1aa476bfa589>:0) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <eae584ce26bc40229c1b1aa476bfa589>:0) System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <eae584ce26bc40229c1b1aa476bfa589>:0) UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at <fc4e84dee5004858ad88e6706bb25889>:0) UnityEditor.HostView.Invoke (System.String methodName) (at <fc4e84dee5004858ad88e6706bb25889>:0) UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <fc4e84dee5004858ad88e6706bb25889>:0) UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <fc4e84dee5004858ad88e6706bb25889>:0) UnityEditor.DockArea.OldOnGUI () (at <fc4e84dee5004858ad88e6706bb25889>:0) UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <945577022a524653b365dec2d6094114>:0) UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <945577022a524653b365dec2d6094114>:0) UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () (at <945577022a524653b365dec2d6094114>:0) UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Boolean straightY, System.Single pixelsPerPoint, System.Exception& immediateException) (at <945577022a524653b365dec2d6094114>:0) Rethrow as ImmediateModeException UnityEngine.UIElements.UIR.RenderChain.Render (UnityEngine.Rect viewport, UnityEngine.Matrix4x4 projection, UnityEngine.UIElements.PanelClearFlags clearFlags) (at <945577022a524653b365dec2d6094114>:0) UnityEngine.UIElements.UIRRepaintUpdater.DrawChain (UnityEngine.Rect viewport, UnityEngine.Matrix4x4 projection) (at <945577022a524653b365dec2d6094114>:0) UnityEngine.UIElements.UIRRepaintUpdater.Update () (at <945577022a524653b365dec2d6094114>:0) UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at <945577022a524653b365dec2d6094114>:0) UnityEngine.UIElements.Panel.UpdateForRepaint () (at <945577022a524653b365dec2d6094114>:0) UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at <945577022a524653b365dec2d6094114>:0) UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <945577022a524653b365dec2d6094114>:0) UnityEngine.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <945577022a524653b365dec2d6094114>:0) UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <d7a7ba0654354637944bd8709c6f8668>:0)

Comment

People who like this

0 Show 0
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by SethDu · 5 days ago

Hi, @HapyGames, @Steve Lobdell, according to the feedback from the team, this issue has been fixed. Please upgrade to the latest 2.106.210406 Unity SDK. Thanks.

Comment
HapyGames

People who like this

1 Show 2 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image HapyGames · 5 days ago 0
Share

It worked! The like button worked! And that because the upgrade did! :D

avatar image HapyGames · 5 days ago 0
Share

Thanks to the whole PlayFab Team for your service! :) You guys make game development a whole lot easier!

avatar image

Answer by Steve Lobdell · Apr 07 at 02:20 AM

Me too, I'm new to playfab and couldn't update since day 1

Comment
HapyGames

People who like this

1 Show 0 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by SethDu · 6 days ago

Do you mean the Unity SDK 2.105.210315? Currently it does have some issues and we have informed the team to dig into it.

@HapyGames, @Steve Lobdell, compared with version 2.104, the only fixed issue is the "UpdatePolicy" API updates. If you are about to implement this API in your project, please let me know. Otherwise, it will be fine to continue to use 2.104.

Comment

People who like this

0 Show 1 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image HapyGames · 6 days ago 0
Share

I will not implement this API in my priject if it has issues because my project is broken enough already, in my opinion.

But thank you a lot for your help in my cases.

I really appreciate it! :)

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    2 People are following this question.

    avatar image avatar image

    Related Questions

    Cloudscript returning NULL in Response 1 Answer

    Playfab GSDK issue, 1 Answer

    How to get groupName from Group EntityKey 1 Answer

    Error codes on unity 5 Answers

    Getting InvalidDropTable when calling EvaluateRandomResultTable 1 Answer

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges