Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Build settings black screen problem

Discussion in 'Editor & General Support' started by Heliix14, Feb 6, 2020.

  1. Heliix14

    Heliix14

    Joined:
    Oct 25, 2019
    Posts:
    1
    So today when I went on to the build settings tab to change my game from android to windows all that showed was a black screen and a few options. Can someone please explain how to get to the normal screen please. Thanks

    build settying glitch.png
     
    MikeMnD and AR_Rakesh like this.
  2. ahmetlol642

    ahmetlol642

    Joined:
    Feb 10, 2020
    Posts:
    1
    same here!!!
     
  3. GentleXD

    GentleXD

    Joined:
    Sep 19, 2018
    Posts:
    2
    Got the same problem.
     
  4. angrypenguin

    angrypenguin

    Joined:
    Dec 29, 2011
    Posts:
    15,616
    I think that needs bug reporting.
     
  5. SayidYarmohammadi

    SayidYarmohammadi

    Joined:
    Feb 19, 2020
    Posts:
    1
    Hey guys .. it's because of a bug and should be fix in future by developer team but now you can change your project platform in unity hub on the target platform drop down and see all settings of build setting

    Solution.png
     
  6. bonasera

    bonasera

    Joined:
    Sep 24, 2018
    Posts:
    4
    I solved that :

    https://files.fm/u/f984ytrd

    You should be recommended at settings in Edit/Preferences/External Tools Android settings.
     
  7. bonasera

    bonasera

    Joined:
    Sep 24, 2018
    Posts:
    4
  8. Everyblack

    Everyblack

    Joined:
    Mar 2, 2020
    Posts:
    1
    Same problem here. Have you maybe fixed it? If yes please tell me how. I've been trying to fix the problem in many ways but none work.
     
  9. AR_Rakesh

    AR_Rakesh

    Joined:
    Mar 4, 2020
    Posts:
    1
    I m also facing the same problem
     
  10. Red_Dragon69

    Red_Dragon69

    Joined:
    Sep 7, 2015
    Posts:
    113
    I had the same problem. Even switching to Android in Unity Hub didn't help. After playing around a lot I noticed that there is a warning in the preferences window (sry no screenshot), telling me that my version of NDK was old. In addition I had 3 different versions of Unity installed (2019.1.6, 2019.3.6 and 2019.3.8). I removed 2019.1.6 and 2019.3.6 and...... it didn't work. So I opened "Add modules" in Unity Hub, clicked around angrily... everything was already checked, BUT I noticed the "Done" button was active. After clicking it, Unity downloaded and installed everything and now it's working :confused:

    CaptureAndroidPreferences.PNG CaptureAndroidInstall.PNG CaptureAndroidBuild.PNG

    Short summary (that worked for me):
    - Change Target for your project to Android in Unity Hub
    - Open project and let Unity update all Assets
    - Close all active Unity windows
    - Open Unity Hub
    - Remove all older Unity versions
    - Open "Add modules" for your remaining Unity version
    - (Optional) click very often on the already set ticks for the Android packages ;)
    - Click "Done"
    - Wait for download and install to finish
    - Open your project and check if the build window is working now

    My wild guess is, that Unity didn't update the Android stuff due to older installations :eek: Hopefully this is somehow helpful.

    Best regards :)
     
    MattyZ, vidit0610 and OrangeDevCEO like this.
  11. OrangeDevCEO

    OrangeDevCEO

    Joined:
    Feb 17, 2019
    Posts:
    1
    THANK YOU SOOOOOOOOOOOOOOOO MUCH
     
    vidit0610 and Red_Dragon69 like this.
  12. SwekVlek

    SwekVlek

    Joined:
    Sep 12, 2017
    Posts:
    3
    Thanks a lot!

    For me it already worked if I just set it to Android in the Unity hub and then close all open Unity projects and like you said, select 'Add modules' and click on done.
    After it's done check 'Add modules' again and see if the install required 0mb.
    This means everything is installed and it should work!
    This way you don't have to remove all older versions because that could mess up older projects.
     
    Red_Dragon69 likes this.
  13. brandonalbers1

    brandonalbers1

    Joined:
    Mar 23, 2020
    Posts:
    1
    I had the same issue however the answers given above did not help. I read the error message given in the system window and realized that the directory that was given said

    "DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\Common Files\2019.3.6f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools'."

    I opened file manager to this file and realized it was named "build" not "build-tools".
    After I renamed the file all was good.
     
    MIDOstylish and UbaidIqbal like this.
  14. subhash212000

    subhash212000

    Joined:
    Mar 30, 2019
    Posts:
    1
    What have u renamed build tools or build
     
  15. Red_Dragon69

    Red_Dragon69

    Joined:
    Sep 7, 2015
    Posts:
    113
    The folder must be named "build-tools"! In the case of @brandonalbers1 the folder was initially named "build".
     
    MIDOstylish likes this.
  16. Enhmend

    Enhmend

    Joined:
    Aug 1, 2020
    Posts:
    1
    Worked for me! Thank you very much!
     
    Red_Dragon69 likes this.
  17. MIDOstylish

    MIDOstylish

    Joined:
    Aug 6, 2020
    Posts:
    1
  18. shivanshu7777sri

    shivanshu7777sri

    Joined:
    Aug 24, 2020
    Posts:
    1
    Same...Thanks alot
     
  19. oriokev

    oriokev

    Joined:
    Sep 8, 2020
    Posts:
    1
    I too struggled with this problem a lot and couldn't fix it with the answers here.
    Eventually what worked for me was to delete unneeded resolver files, I had several of them with different versions so I delete the lower versions files, reimported assets and it fixed it.
     
  20. scintilla0

    scintilla0

    Joined:
    Oct 27, 2019
    Posts:
    1
    Same problem, I hope so solitions ll work for me.

    Edit : Red_Dragon69 Ty bro. Your clear explanation help much <3
     
    Last edited: Oct 1, 2020
    Red_Dragon69 likes this.