Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

The type `ImageEffectBase' conflicts with the imported type `ImageEffectBase'... But why?

Discussion in 'Editor & General Support' started by Ahinedark, Jan 20, 2019.

  1. Ahinedark

    Ahinedark

    Joined:
    Jan 20, 2019
    Posts:
    1
    Hello.
    I really hope to find help here.

    I have Unity 4.5 with MonoDevelop.
    Since the project needs to work with .doc files, i tried to add the Microsoft.Office.Interop.Word.dll library to the project. I added Microsoft.Office.Interop.Word.dll file to "Assets" folder in my project. But when I try to compile the project, Unity gives an error:

    Internal compiler error. See the console log for more information. output was:Assets/Resources/Hard Surface Pro/Standard Assets/Image Effects (Pro Only)/ColorCorrectionEffect.cs(6,38): warning CS0436: The type `ImageEffectBase' conflicts with the imported type `ImageEffectBase'. Ignoring the imported type definition
    (Location of the symbol related to previous warning)

    Internet says that this is due to the duplication of the "ImageEffectBase" class, but there is only one "ImageEffectBase" class. The Microsoft.Office.Interop.Word.dll library should not touch it (I think).

    Please help me with this problem. I have never come across this before.