For issues related to __the code in this repository__, continue filing this GitHub issue.
Once you've read this section and determined that your issue is appropriate for
this repository, please delete this section.
Apop IDs dissapear when tabbing back to unity after making a change.
This appears to be the same as #1692 and #1694
Opening a new issue since I have applied the fix in #1695 and the issue appears to be related but not identical.
// TODO(you): code here to reproduce the problem
Thanks, I will review.
Yep, that fix worked before new release with new bad code in GoogleMobileAdsSettings script.
This part of code written without testing for sure. They loading the file from the Resources and then creating a new instance.
https://github.com/googleads/googleads-mobile-unity/blob/ebd375f124375d3133e7195a80208c15c7981f21/source/plugin/Assets/GoogleMobileAds/Editor/GoogleMobileAdsSettings.cs#L50-L72
To fix this, try adding another null check after line 59 in the above code, like this:
instance = Resources.Load<GoogleMobileAdsSettings>(MobileAdsSettingsFile);
if (instance != null)
{
return instance;
}
This issue is resolved in the latest plugin version "Google Mobile Ads Unity Plugin v6.1.2".
Most helpful comment
To fix this, try adding another null check after line 59 in the above code, like this: