Search Unity

Got weird error when building Android

Discussion in 'Asset Bundles' started by zhutianlun810, Feb 20, 2021.

  1. zhutianlun810

    zhutianlun810

    Joined:
    Sep 17, 2017
    Posts:
    168
    When I was building android project, I got the error:

    "Assets\Demigiant\DOTweenPro\DOTweenAnimation.cs(21,6): error CS0012: The type 'MonoBehaviour' is defined in an assembly that is not referenced. You must add a reference to assembly 'UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'."

    What does it mean?
     
    XPereM likes this.
  2. XPereM

    XPereM

    Joined:
    Jul 12, 2020
    Posts:
    1
    Same issue on Unity 2021, no idea