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

Vuforia.UnityExtensions.dll "set_generateMips(System.Boolean)` doesn't exist in target framework"

Discussion in 'Editor & General Support' started by Fiedel, Mar 7, 2017.

  1. Fiedel

    Fiedel

    Joined:
    Mar 7, 2017
    Posts:
    4
    I quickly wanted to share this workaround for an issue with the Vuforia.UnityExtensions.dll:

    https://forum.unity3d.com/threads/n...exe-did-not-run-properly.357447/#post-2919085

    "The problem is that the Vuforia.UnityExtensions.dll uses the UnityEngine.RenderTexture::set_generateMips property. This property was renamed to be UnityEngine.RenderTexture::set_autoGenerateMips in Unity 5.5.

    [...]

    The API Updater in Unity should be able to modify the Vuforia.UnityExtensions.dll assembly properly to use the new property instead of the old one. This should have happened the first time you opened the project with a new version of Unity. However, you can do it manually by selecting the Vuforia.UnityExtensions.dll assembly in the project tab, and choosing the "Reimport" option from the right mouse button menu. The API Updater should run for this assembly and correct it."
     
    AM-Dev likes this.