googleads-mobile-unity
googleads-mobile-unity copied to clipboard
Saving Prefab to immutable folder is not allowed.
[REQUIRED] Step 1: Describe your environment
- Unity version: 2020.3.21f1
- Google Mobile Ads Unity plugin version: 9.1.0
- Platform: Editor (iOS, Android, Unity Editor)
- Platform OS version: Windows 10 (eg iOS 10, Android 9)
- Any specific devices issue occurs on: Editor / Windows, Not tested on any other platforms.
- Mediation ad networks used, and their versions: Only Google Admob
[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
What happened? How can we make the problem occur? Its happening in editor in each project I am importing the latest Google Admob Unity SDK.
Saving Prefab to immutable folder is not allowed: Packages/com.google.ads.mobile/GoogleMobileAds/Editor/Resources/PlaceholderAds/Interstitials/768x1024.prefab UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Saving Prefab to immutable folder is not allowed: Packages/com.google.ads.mobile/GoogleMobileAds/Editor/Resources/PlaceholderAds/Banners/BANNER.prefab UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
1. Create a project
2. Import Google Mobile Ads SDK Unity
3. Try running in Editor, you will see those errors.
It's not impacting the build but I think we should not see those errors in Editor.
I was not able to replicate this issue. I ran the project and loaded a banner and an interstital ad. Were other steps taken?
@NVentimiglia Did you install via Package Manager (uses OpenUPM)? I believe that's required to repro the issue.
I am also having this issue, happened after I switched to OpenUPM
Saving Prefab to immutable folder is not allowed:
Packages/com.google.ads.mobile/GoogleMobileAds/Editor/Resources/PlaceholderAds/Rewarded/768x1024.prefab
I have faced the same issue after switching to OpenUPM.
In my case below steps fixed that issue.
- Remove GoogleMobileAds from OpenUPM
- Remove GoogleMobileAds related files in "Assets/Plugins"
- Reinstall GoogleMobileAds via OpenUPM
Sadly, that did not work for me.