Search Unity

Question Getting error when overwriting existing build

Discussion in 'Editor & General Support' started by ChickenVegetable, Mar 5, 2023.

  1. ChickenVegetable

    ChickenVegetable

    Joined:
    May 3, 2020
    Posts:
    87
    I get this error whenever I overwrite a build, although not when I create a fresh one. Happens with Windows and Android builds.

    The same field name is serialized multiple times in the class or its parent class. This is not supported: Base(MonoBehaviour) Output
    UnityEditor.BuildPlayerWindow:BuildPlayerAndRun ()

    I found several examples of this error when googling, but none of them were regarding a Unity script rather than a user one.