Search Unity

CheckForUpdatePeriodically warning

Discussion in 'Unity IAP' started by Art-Leving, Dec 27, 2018.

  1. NiallSoe

    NiallSoe

    Joined:
    Jan 30, 2018
    Posts:
    17
    Hi Jeff,

    As stated in my original post, we are using iAP 2.0.6 (the latest available at the time of writing).

    We can of course build, but I stand by my original comments. Any errors produced by the engine or Unity provided packages should be fixed as soon a possible to avoid people becoming conditioned to ignore errors. This is a very real problem when dealing with a team of artists and designers.

    Niall
     
  2. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    2.0.6 is not the IAP version number, that's the Purchasing package in Package Manager. The latest IAP version is 1.23.1. Can you confirm?
     
  3. NiallSoe

    NiallSoe

    Joined:
    Jan 30, 2018
    Posts:
    17
    Hi @JeffDUnity3D,

    The console shows me I am using UnityIAP Version: 1.23.1.

    I hadn't realised that the IAP Package version was different from the actual version of UnityIAP... very unintuitive, is there a reason for this?

    Surely the In App Purchasing Package version must map to the UnityIAP Version in one way or another?

    Niall
     
  4. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Yes, 2.0.6 in Package Manager and IAP 1.23.1 as the Asset version are the latest releases of both components. We are working to make them into a single Package Manager package soon.
     
  5. anilyetik

    anilyetik

    Joined:
    Aug 16, 2019
    Posts:
    1
    Hello

    Switching from .NET 3.5 to .NET 4, I got the same problem. Unity IAP version is 1.23.1 and package Manager is 2.0.3.
    Not affecting any build or sth. but there are always a red exclamation mark which is not good.

    I agree with Niall here "Any errors produced by the engine or Unity provided packages should be fixed as soon a possible to avoid people becoming conditioned to ignore errors."

    Anıl
     
  6. darker89

    darker89

    Joined:
    Jul 15, 2015
    Posts:
    5
    i clear player prefs and error is gone

    public class ClearPrefs
    {
    [MenuItem("Tools/Clear Player Prefs")]
    static public void ClearPlayerPrefs()
    {
    PlayerPrefs.DeleteAll();
    }

    }
     
  7. Deleted User

    Deleted User

    Guest

    Same issue. Sad to see this unfixed since Dec 27 2018

    PackageUpdater::CheckForUpdatePeriodically(): Invalid Date Time String "{0}": 6/22/2020 10:15:01 AM
    UnityEditor.Purchasing.UnityIAPUpdater:CheckForUpdatePeriodically()

    Unity 2019.4.4, Unity IAP 1.23.4, In App Purchasing Package 2.0.6
    Windows 10 (Language: US English, Region: Germany)
     
  8. Nickjd331

    Nickjd331

    Joined:
    Aug 22, 2014
    Posts:
    29
    I'm seeing the same error, and I think it might also be affecting and causing a crash on my live app! At least it crashes with an IAP error which feels a bit coincidental.
     
  9. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Can you provide the device logs? What is the error? This is only an Editor issue in this thread, it would not affect game play. Also, Google or iOS? https://forum.unity.com/threads/how-to-capturing-device-logs-on-android.528680/ and https://forum.unity.com/threads/how-to-capturing-device-logs-on-ios.529920/
     
  10. pablo_leban

    pablo_leban

    Joined:
    Sep 19, 2013
    Posts:
    68
    I've started having the same issue when I forced the en-us culture with this in an Awake method:
    Code (CSharp):
    1. CultureInfo ci = new CultureInfo("en-US");
    2. Thread.CurrentThread.CurrentCulture = ci;
    3. Thread.CurrentThread.CurrentUICulture = ci;
     
  11. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Please describe your issue.
     
  12. Ianaa

    Ianaa

    Joined:
    Jul 15, 2018
    Posts:
    41
    PackageUpdater::CheckForUpdatePeriodically(): Invalid Date Time String "{0}": 02/19/2020 19:42:51
    UnityEditor.Purchasing.UnityIAPUpdater:CheckForUpdatePeriodically()


    Just got this error debug log today.
     
  13. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Please share a screenshot to confirm
     
  14. arkon

    arkon

    Joined:
    Jun 27, 2011
    Posts:
    1,122
    Still getting this error in the editor:
    PackageUpdater::CheckForUpdatePeriodically(): Invalid Date Time String "{0}": 10/13/2020 05:13:29
    UnityEditor.Purchasing.UnityIAPUpdater:CheckForUpdatePeriodically()

    Using Unity 2019.4.12
     
  15. arkon

    arkon

    Joined:
    Jun 27, 2011
    Posts:
    1,122
    Really? you don't believe us?
     
    Ianaa likes this.
  16. Ianaa

    Ianaa

    Joined:
    Jul 15, 2018
    Posts:
    41
    I was shocked with the response too.
     
  17. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    We haven't been able to reproduce, so I wanted a screenshot to include in the bug report.
     
  18. arkon

    arkon

    Joined:
    Jun 27, 2011
    Posts:
    1,122
    I've just included a screen shot of the error, but it says exactly what I posted above.
     

    Attached Files:

  19. arkon

    arkon

    Joined:
    Jun 27, 2011
    Posts:
    1,122
    Actually here is a better screen shot that shows the culprit.
     

    Attached Files:

  20. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Thank you, I wouldn't expect it to be different!
     
  21. RaventurnPatrick

    RaventurnPatrick

    Joined:
    Aug 9, 2011
    Posts:
    250
    I get the same error every few minutes:

    Code (CSharp):
    1. PackageUpdater::CheckForUpdatePeriodically(): Invalid Date Time String "{0}": 10/23/2020 17:40:03
    2. UnityEditor.Purchasing.UnityIAPUpdater:CheckForUpdatePeriodically()
    3.  
    IAP Version: 2.1.1
    Unity Version: 2019.4.13f1 (LTS)
    Windows Version: 1909
    Date Format: dd.MM.yyyy
     
  22. RaventurnPatrick

    RaventurnPatrick

    Joined:
    Aug 9, 2011
    Posts:
    250
    I am pretty sure it can be reproduced by setting the date / time zone to some setting - open the unity project with purchasing for the first time and than change the date / time zone region settings - next time opening Unity this error will always appear
     
  23. EvgeniyKonyshock

    EvgeniyKonyshock

    Joined:
    Oct 15, 2019
    Posts:
    5
    Same error not letting enter play mode. iAP 2.0.0, editor 2018.4.27f1. Disabling update helps. Error appeared after setting up a project on fresh PC running Windows 10.
     

    Attached Files:

  24. vr1320

    vr1320

    Joined:
    Jun 5, 2018
    Posts:
    1
    I have the same problem, too. and I find a way to avoid this error.
    Window>UnityIAP>IAP Updates..> disable "automatically Check for Updates" checkbox

    Unity: 2017.4.36f1
    IAP: 2.0.0
     
    lexroberts and mouurusai like this.