Search Unity

Cant open file

Discussion in 'Windows' started by Noahs0718, Mar 1, 2021.

  1. Noahs0718

    Noahs0718

    Joined:
    Apr 14, 2020
    Posts:
    38
    So i made a game with unity, i exported for pc standalone, i tried opening it, and it couldnt open. Is this a windows or unity problem? (i have contacted windows, no answer yet) 1.0.0 2_28_2021 9_37_48 PM.png
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    Is this on the same machine that you built it from Unity? Or did you transfer the build to a different machine?
     
  3. timke

    timke

    Joined:
    Nov 30, 2017
    Posts:
    408
    Check this Windows Support page for basic troubleshooting.

    Since Unity successfully generated the build, it's probably not a permission issue and unlikely to be a Unity problem.
    The mostly likely cause is the executable is being blocked by your Antivirus.
     
  4. Noahs0718

    Noahs0718

    Joined:
    Apr 14, 2020
    Posts:
    38
    This is on the same computer
     
  5. Noahs0718

    Noahs0718

    Joined:
    Apr 14, 2020
    Posts:
    38
    I disabled my antivirus
     
  6. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    Did you try building a game to a different folder, perhaps somewhere outside of %USERPROFILE% (not that it should matter...)? Do you know which file it's not able to access?
     
  7. Noahs0718

    Noahs0718

    Joined:
    Apr 14, 2020
    Posts:
    38
    It can’t access the exe, and I tried building in a different folder and it didn’t work
     
  8. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    Can you go into the folder/file properties and see if you have the permission to open the file, and if you don't, can you try granting it to yourself?

    Did you by any chance install the editor from another Windows user or something?
     
  9. Noahs0718

    Noahs0718

    Joined:
    Apr 14, 2020
    Posts:
    38
    I have the permissions to open it and I downloaded the editor and stuff on the same user I’m exporting as
     
  10. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
  11. Noahs0718

    Noahs0718

    Joined:
    Apr 14, 2020
    Posts:
    38
  12. mohdizdham11

    mohdizdham11

    Joined:
    Jun 11, 2020
    Posts:
    1
    whats your solution, cause I'm still facing this issue too atm