Search Unity

Build Fails to load launcher on windows 10 if in "Program Files" folder

Discussion in 'Editor & General Support' started by ninuxw, Oct 23, 2016.

  1. ninuxw

    ninuxw

    Joined:
    Jul 8, 2014
    Posts:
    26
    I am having a strange issue with windows 10. If I build the game and put it inside the "Program Files" (any) folder it won't run. No msg, no output_log.txt.

    Any one knows how to fix this and what it might be?

    My unity version is: 5.4.1f personal.

    I would greatly appreciate any info on this

    Thanks!
     
  2. DroidifyDevs

    DroidifyDevs

    Joined:
    Jun 24, 2015
    Posts:
    1,724
    When you try building to the Program Files folder, it says you need admin permission.

    However, I was able to build to a folder on the desktop, then move that folder to Program Files. I have Windows 10 too. Again, this all requires admin permission, so that's probably part of the problem.
     
  3. ninuxw

    ninuxw

    Joined:
    Jul 8, 2014
    Posts:
    26
    I figured it might be a permissions problem. I did tried to build it outside and then move it, but to no avail. Also add admin permissions on the file. I also use Inno setup for the setup process and but it was not the problem either.

    This is so strange :(
     
  4. DroidifyDevs

    DroidifyDevs

    Joined:
    Jun 24, 2015
    Posts:
    1,724
    Can you move it to the Program Files x86 folder?
     
  5. ninuxw

    ninuxw

    Joined:
    Jul 8, 2014
    Posts:
    26
    Yes but the game would not work in that case.