Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Bogdan-sybo opened this issue Mar 4, 2021 · 0 comments
Closed

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

Bogdan-sybo opened this issue Mar 4, 2021 · 0 comments

Comments

@Bogdan-sybo
Copy link

Bogdan-sybo commented Mar 4, 2021

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

@Bogdan-sybo Bogdan-sybo changed the title [Bug] [Bug] Moving File Failed - google-services-desktop.json Mar 4, 2021
@firebase firebase locked and limited conversation to collaborators Apr 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants