Search Unity

UnityPlayer.dll should be inside the _Data folder

Discussion in 'Editor & General Support' started by roxIndie, Nov 8, 2017.

  1. roxIndie

    roxIndie

    Joined:
    Oct 14, 2012
    Posts:
    28
    The convention for Unity on Windows has always been to keep only the exe at the root, and every other resource and dll inside the _Data folder. Why then is the newly added UnityPlayer.dll placed on the root, alongside the exe?
     
  2. vladibo

    vladibo

    Joined:
    Jan 29, 2013
    Posts:
    38
    https://unity3d.com/unity/beta/unity2017.2.0b7


    • Windows: The player executable has been split into two parts: a signed UnityPlayer.dll that has all the engine code, and a wrapper executable that merely calls into this DLL at startup. The source code for the executable can be found under Editor\Data\WindowsStandaloneSupport\Source\WindowsPlayer. It can be rebuilt with VS2015 as long as you have "Common Tools for Visual C++ 2015" and "Windows XP Support for C++" installed.