Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Error: type `System.Reflection.Emit..... when Build a project

Discussion in 'Windows' started by FIllbiker, Aug 13, 2013.

  1. FIllbiker

    FIllbiker

    Joined:
    Jun 9, 2010
    Posts:
    118
    Hi, I'm trying to build my project (works fine for iOS and Mac) and get this error when build processing...

    Error: type `System.Reflection.Emit.ModuleBuilder` doesn't exist in target framework.

    Error: type `System.Reflection.Emit.ModuleBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.TypeBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.AssemblyBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.AssemblyBuilderAccess` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.AssemblyBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.ModuleBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.ModuleBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.TypeBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.TypeBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.TypeBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.ConstructorBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.TypeBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.TypeBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.TypeBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.TypeBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.TypeBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.TypeBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.MethodBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.TypeBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.MethodBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.MethodBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.TypeBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.MethodBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.TypeBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.MethodBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.MethodBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.TypeBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.MethodBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.TypeBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.MethodBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.MethodBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.TypeBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.MethodBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.TypeBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.MethodBuilder` doesn't exist in target framework.
    Error: type `System.Reflection.Emit.MethodBuilder` doesn't exist in target framework.


    Does anybody know how to fix it?
     
  2. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,939
  3. FIllbiker

    FIllbiker

    Joined:
    Jun 9, 2010
    Posts:
    118
    Thank you. I found out it causes Simple Waypoint System (HOTween scripts I guess).
    I removed it and it works. Now I need to create a new waypoint system. :-/
     
    Last edited: Aug 13, 2013
  4. Baroni

    Baroni

    Joined:
    Aug 20, 2010
    Posts:
    3,279
    Replied to this here.
     
  5. FIllbiker

    FIllbiker

    Joined:
    Jun 9, 2010
    Posts:
    118
    Ok, thank you...