Search Unity

Black Screen on BlueStacks

Discussion in 'Android' started by xtrecoolx1, Jun 17, 2021.

  1. xtrecoolx1

    xtrecoolx1

    Joined:
    Feb 27, 2019
    Posts:
    5
    It seems like there is a serious problem when you try to run a game built with the default Android build settings on BlueStacks emulator. The opening scene shows a black screen without crashing. On contrary,other emulators such as LDPlayer and Memu work just fine.
    This BlueStacks issue bothers me because there might be real devices out there that have a similar issue and since the scene does not crash you may never know how many real users see a black screen and can't play your game. Keep in mind that a lot of Unity games are working just fine on BlueStacks.

    SOLUTION
    I thought this was specific to my game, but having tried URP and 3D templates without any scripts, I have seen that they all show a black screen.
    After spending several days on this weird issue, I figured out that in build settings the following options may cause instability for BlueStacks:

    1) My blit type was chosen "Auto". I switched it to "Always".
    2) I have specifically chosen to create custom main manifest (AndroidManifest.xml) even though I should not need it.

    My Unity Editor is 2020.3.9f1
    Scripting backend is IL2CPP

    Best
     
    sean244 likes this.
  2. anhnhgtv

    anhnhgtv

    Joined:
    May 7, 2021
    Posts:
    3
    I also have problem with bluestack
     
  3. PHSenki

    PHSenki

    Joined:
    Feb 6, 2018
    Posts:
    7
    I have the same issue. I have even tried a new URP project, it shows a black screen after the unity logo on BlueStacks. I tried checking the "Custom Main Manifest" box and changing blit type to "Always", it still shows me a black screen. =/
     
    andrew210 likes this.
  4. andrew210

    andrew210

    Joined:
    Apr 23, 2014
    Posts:
    195
    I'm also having this issue (with and without URP, in a fresh project and my existing project, with custom / clean manifest). Nothing obvious in adb logcat to shed light on the issue.
     
  5. Yaver_Abbasov

    Yaver_Abbasov

    Joined:
    Jan 15, 2017
    Posts:
    3
    Solved: upload_2021-8-24_18-31-44.png
    Disable the Optimized Frame Pacing then play on the Bluestacks without Black Screen
     
    xwin28, HappyBuffalo and iscander like this.
  6. samta

    samta

    Joined:
    Sep 19, 2016
    Posts:
    4
    this reply maybe old but you save my life. Thank you
     
unityunity