Search Unity

The type or namespace 'UnityPlayer' could not be found

Discussion in 'Windows' started by gv, Nov 8, 2013.

  1. gv

    gv

    Joined:
    Feb 22, 2013
    Posts:
    89
    I am getting these errors when I try to 'Create App Packages' in Visual Studio....

    The type or namespace 'UnityPlayer' could not be found
    The type or namespace 'WinRTBridge' could not be found
    The type or namespace 'AppCallbacks' could not be found

    The project compiles and runs OK... but only these errors appear when trying to create packages...

    I am running Visual Studio 2012 and Win 8.1.... Please dont tell me its a Win 8.1 problem..... ??
     
  2. gv

    gv

    Joined:
    Feb 22, 2013
    Posts:
    89
    I also fail WACK with the following errors:


    Binary analyzer

    •Error Found: The binary analyzer test detected the following errors:◦File D:\My Projects\Unity\EggDrop\Export Windows 8\Egg Drop\bin\x86\Debug\AppX\BridgeInterface.dll has failed the WXCheck check.
    ◦File D:\My Projects\Unity\EggDrop\Export Windows 8\Egg Drop\bin\x86\Debug\AppX\BridgeInterface.dll has failed the SafeSEHCheck check.
    ◦File D:\My Projects\Unity\EggDrop\Export Windows 8\Egg Drop\bin\x86\Debug\AppX\UnityEngineDelegates.dll has failed the WXCheck check.
    ◦File D:\My Projects\Unity\EggDrop\Export Windows 8\Egg Drop\bin\x86\Debug\AppX\UnityEngineDelegates.dll has failed the SafeSEHCheck check.


    Supported APIs

    •Error Found: The supported APIs test detected the following errors:◦API CreateEventExA in kernel32.dll is not supported for this application type. UnityPlayer.dll calls this API.
    ◦API FormatMessageA in kernel32.dll is not supported for this application type. UnityPlayer.dll calls this API.
    ◦API GetModuleFileNameW in kernel32.dll is not supported for this application type. UnityPlayer.dll calls this API.
    ◦API GetModuleHandleW in kernel32.dll is not supported for this application type. UnityPlayer.dll calls this API.
    ◦API LoadLibraryExW in kernel32.dll is not supported for this application type. UnityPlayer.dll calls this API.
    ◦API LoadLibraryW in kernel32.dll is not supported for this application type. UnityPlayer.dll calls this API.
    ◦API OutputDebugStringA in kernel32.dll is not supported for this application type. UnityPlayer.dll calls this API.
    ◦API lstrlenA in kernel32.dll is not supported for this application type. UnityPlayer.dll calls this API.
    ◦API GetModuleFileNameW in kernel32.dll is not supported for this application type. BridgeInterface.dll calls this API.
    ◦API GetModuleHandleW in kernel32.dll is not supported for this application type. BridgeInterface.dll calls this API.
    ◦API LoadLibraryExW in kernel32.dll is not supported for this application type. BridgeInterface.dll calls this API.
    ◦API LoadLibraryW in kernel32.dll is not supported for this application type. BridgeInterface.dll calls this API.
    ◦API lstrlenA in kernel32.dll is not supported for this application type. BridgeInterface.dll calls this API.
    ◦API GetModuleFileNameW in kernel32.dll is not supported for this application type. UnityEngineDelegates.dll calls this API.
    ◦API GetModuleHandleW in kernel32.dll is not supported for this application type. UnityEngineDelegates.dll calls this API.
    ◦API LoadLibraryExW in kernel32.dll is not supported for this application type. UnityEngineDelegates.dll calls this API.
    ◦API LoadLibraryW in kernel32.dll is not supported for this application type. UnityEngineDelegates.dll calls this API.
    ◦API lstrlenA in kernel32.dll is not supported for this application type. UnityEngineDelegates.dll calls this API.


    Debug configuration

    •Error Found: The debug configuration test detected the following errors:◦The binary UnityPlayer.dll is built in debug mode.
    ◦The binary BridgeInterface.dll is built in debug mode.
    ◦The binary UnityEngineProxy.dll is built in debug mode.
    ◦The binary UnityEngineDelegates.dll is built in debug mode.
    ◦The binary Template.exe is built in debug mode.
    ◦This package has a dependency on Microsoft.VCLibs.110.00.Debug.
     
  3. gv

    gv

    Joined:
    Feb 22, 2013
    Posts:
    89
    SOLVED... I was accidently building x64.... whooops! ;)
     
  4. ravindra123

    ravindra123

    Joined:
    Nov 21, 2012
    Posts:
    7
    Hi ,
    i have also facing same issue .


    When I build my Windows Store application (created in Unity 4.2) in Visual Studio 2012 and choose x86 or ARM platform everything works fine, but when I try to build x64 the player folder (and DLL references) is missing.

    Is it a problem with my installation or does Unity not support x64 Windows Store applications?

    Please help me out . Thanks in advance
     
  5. Meltdown

    Meltdown

    Joined:
    Oct 13, 2010
    Posts:
    5,822