Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Is it possible to disable initialization logging from the IAP system while in the editor?

Discussion in 'Unity IAP' started by CanisLupus, May 5, 2020.

  1. CanisLupus

    CanisLupus

    Joined:
    Jul 29, 2013
    Posts:
    427
    Every time we play in the editor we get 3 logs:
    Is it possible to disable all of these without disabling our own logs?

    We've tried setting Debug.unityLogger.filterLogType to Warning around the initialization, but the last 2 logs are asynchronous and come at a later time. There's also no stack trace (I assume they come from the UnityPurchasing DLL).
     
    JustAnotherDude likes this.
  2. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    We are working to improve our logging behavior, it's not currently possible to suppress these logs. You would expect to see several other similar log entries too during normal IAP initialization and purchasing.
     
  3. CanisLupus

    CanisLupus

    Joined:
    Jul 29, 2013
    Posts:
    427
    On devices this is fine and actually helpful, but on the editor not so much and we tend to have our own logs that get mixed with these and which we actually want to see. ;)

    Thanks for replying!

    PS: We've been using the IAP system for some years now, I just figured I would ask this now. Btw, I gave you a shout here if you have any news about that. That one's way more problematic that these logs. :(