Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Platform Settings

Discussion in 'Editor & General Support' started by Jankrut, Jul 3, 2015.

  1. Jankrut

    Jankrut

    Joined:
    Jul 3, 2015
    Posts:
    3
    Hello Everyone,

    I am new to unity, i have unity 5.0.0p2. can you please let me know why unity sows mac os in my platform settings for importing plugin dialog, i am working on windows. please take a look at my screenshot.

    Thanks,
    Jankut
     

    Attached Files:

  2. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
    .bundle files are for osx only if you have a windows plugin you have a .dll file.
     
  3. Jankrut

    Jankrut

    Joined:
    Jul 3, 2015
    Posts:
    3
    Thanks fffMalzbier,
    but it throws the following error when i play my scene

    Failed to load 'Assets/Plugins/QCARWrapper.dll', expected 64 bit architecture (IMAGE_FILE_MACHINE_AMD64), but was IMAGE_FILE_MACHINE_I386.
    Vuforia.WebCamAbstractBehaviour:IsWebCamUsed()
    Vuforia.WebCamAbstractBehaviour:IsWebCamUsed()
    Vuforia.QCARRuntimeUtilities:IsQCAREnabled()
    Vuforia.SmartTerrainTrackerAbstractBehaviour:Awake()
     
  4. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
    Looks to me like the Vuforia plugins is not compatible with the unity 64Bit version on windows.

    https://developer.vuforia.com/library/articles/Release_Notes/Vuforia-40-SDK-Release-Notes
    Looks like the 64 bit version of the editor bindings are only available on OSX.
    You have to use the unity 32 bit version or work on osx to get the 64 bit version to work.
     
  5. Jankrut

    Jankrut

    Joined:
    Jul 3, 2015
    Posts:
    3
    I appreciate this.
    Thanks for the help,
     
  6. sanketprabhu

    sanketprabhu

    Joined:
    Feb 23, 2016
    Posts:
    10
    Vuforia 5.0 supports the 32bit version of the Unity Editor on Windows, and the 64bit version on Mac.

    So, There are two possible solutions:

    1. you just need to install and use the Unity 5 32bit Editor, on Windows.
    OR

    1. Create a new folder "x86" inside

      Assets>>Plugins

      inside your unity project structure Then move the following files from "Plugins" to newely created"x86" folder.
      • QCARWrapper.lib
      • QCARWrapper.dll
      • QCARWrapper.dll.signature
      • QCARWrapper.exp
    After that check log message, If you see the log like:

    Setting platform to 'Editor' for plugin: Assets/Plugins/x86/VuforiaWrapper.dll
    UnityEngine.Debug:Log(Object)
    Vuforia.EditorClasses.ExtensionImport:UpdatePluginSettings() (at Assets/Vuforia/Editor/Scripts/ExtensionImport.cs:43)
    UnityEditor.EditorApplication:Internal_CallUpdateFunctions()

    Then , Congrats !! You are ready to Go!
     
    samurai926 likes this.