Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Unity ads and Firebase?

Discussion in 'Unity Ads & User Acquisition' started by DraxThemSklounst, Jul 29, 2021.

  1. DraxThemSklounst

    DraxThemSklounst

    Joined:
    Feb 1, 2021
    Posts:
    5
    Hello. I just got done adding firebase to my Unity Mobile project.

    When i build the game and deploy on Google Play to test, i get this error in my logcat

    ```
    2021/07/29 10:29:18.025 4405 17484 Error UnityAds com.unity3d.services.core.configuration.InitializeThread$InitializeStateError.execute() (line:392) :: Unity Ads init: halting init in load web: Invalid webViewHash
    ```

    Before firebase, i was able to run the ads just fine and get the reward.

    After, no dice.

    Sometimes i can watch the ad fully, but i'm assuming "showresult.finished" is never true because i will not get the reward, again after firebase.

    I've asked on firebase discord and stackoverflow but always get overburdened but people that like to post links and not help. So i'm hoping unity forums will have some comradery. Unity Discord sucks with this problem too, link warriors. Hoping the old school forum way will get me someone that actually wants to help.


    Thanks.
     
  2. sbankhead

    sbankhead

    Unity Technologies

    Joined:
    Jul 27, 2014
    Posts:
    97
    What I can tell you about that error is, after downloading an internal component and validating the hash of the download, the file was found to not match with the expected hash of the file. Is there something about your addition of the firebase sdk that has modified or restricted network requests here?