Skip to content

[Bug] Moving File Failed - google-services-desktop.json #980

@Bogdan-sybo

Description

@Bogdan-sybo

[REQUIRED] Please fill in the following fields:

  • Unity editor version: 2019.4.17f
  • Firebase Unity SDK version: 7.0.2 - 7.1.0
  • Source you installed the SDK: Unity Package Manager (.unitypackage or Unity Package Manager)
  • Problematic Firebase Component: Core (Auth, Database, etc.)
  • Other Firebase Components in use: _____ (Auth, Database, etc.)
  • Additional SDKs you are using: _____ (Facebook, AdMob, etc.)
  • Platform you are using the Unity editor on: Mac (Mac, Windows, or Linux)
  • Platform you are targeting: Android(iOS, Android, and/or desktop)
  • Scripting Runtime: IL2CPP/Mono (Mono, and/or IL2CPP)

[REQUIRED] Please describe the issue here:

Hello,

I am getting an Unity Error popup after building on Android regarding "google-services-desktop.json"
ErrorPopup

Only occurs on Mac (tested on windows, no issue).

After debugging i see that the issue comes from GenerateXmlFromGoogleServicesJson.CreateDesktopJsonFromJson function.
StackTraceError

It seems (to me) that the AssetDatabase.CopyAssets triggers a OnPostProcessAssets callback (with the removal of "google-services-desktop.json") and this tries to copy the file again.
AssetDabase CopyAsset

Has anyone seen this issue?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions