googleads-mobile-unity icon indicating copy to clipboard operation
googleads-mobile-unity copied to clipboard

Saving Prefab to immutable folder is not allowed.

Open ajeets1978 opened this issue 1 year ago • 1 comments
trafficstars

[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.

ajeets1978 avatar May 03 '24 01:05 ajeets1978

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 avatar Jun 25 '24 23:06 NVentimiglia

@NVentimiglia Did you install via Package Manager (uses OpenUPM)? I believe that's required to repro the issue.

JVimes avatar Aug 05 '24 15:08 JVimes

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

umutakmak avatar Aug 14 '24 12:08 umutakmak

I have faced the same issue after switching to OpenUPM.
In my case below steps fixed that issue.

  1. Remove GoogleMobileAds from OpenUPM
  2. Remove GoogleMobileAds related files in "Assets/Plugins"
  3. Reinstall GoogleMobileAds via OpenUPM

BhaumikSurani avatar Aug 15 '24 05:08 BhaumikSurani

Sadly, that did not work for me.

JVimes avatar Aug 18 '24 03:08 JVimes