Search Unity

100s of Duplicate class Build errors in Unity Cloud Build after Firebase upgrade

Discussion in 'Unity Build Automation' started by saipraneeth34, Sep 29, 2020.

  1. saipraneeth34

    saipraneeth34

    Joined:
    Nov 17, 2017
    Posts:
    7
    Hello,

    We have a Unity project (Unity 2019.2.15f1) where we are using multiple Firebase Plugins:
    Cloud Storage, Messaging & Remote Config

    We recently updated the Firebase Unity Plugins from v6.7.0 to v6.15.2
    The local build passed & even worked on Android phone.

    BUT, it is throwing 100s of duplicate class build errors in Unity Cloud Build.
    We are clueless about the issue & are struggling to find a fix for it.
    Please find attached the Build Log from Unity Cloud Build.
    Did anyone face similar issues?
    Kindly help me fix it..
     
  2. ollieblanks

    ollieblanks

    Unity Technologies

    Joined:
    Aug 21, 2017
    Posts:
    460
    Sorry to hear that you are facing this issue.

    Can you please confirm that you have attempted a build locally from a fresh clone of your repository in a folder that is not your usual working folder?
     
  3. saipraneeth34

    saipraneeth34

    Joined:
    Nov 17, 2017
    Posts:
    7
    We removed Firebase & added it again.
    It fixed the issue!