New Unity version 6000.1.0 status bar visible on Android builds

When building my game for Android using Unity version 6000.1.0, the device status bar remains visible on the Android device, even when set to “Full Screen.” The same build on the previous version, 6000.0.47, does not have this issue. If I enable “Render in Safe Area,” it “hides” the status bar, but it renders over the notch, which I don’t want.

I read about this change in the new Unity version on the Changelog page:

  • Android: Unity now uses WindowInsetsController and setDecorFitsSystemWindows APIs on Android 11 or newer versions instead of setSystemUiVisibility API. This affects the behavior of Unity APIs: Fullscreen Mode, Hide Navigation Bar, and Render outside safe area. The application appearance remains the same on devices using Android 10 or older compared to Android 11 or newer versions.

But still need to hide the status bar. Any ideas?

Faced with the same problem, is there any solution?

The option of defining your own theme and adding <item name="android:windowFullscreen">true</item> does not help..

I ended up enabling the “Render in Safe Area” option in the Player Settings. Then, via code, I ensured rendering only within the safe area to avoid drawing over the notch.

we are also facing same issues, we are considering moving back to 6000.0

Same problem here with 6000.1.9.

Any news on this?

I don’t want to set “Render in Safe Area”.

did anyone resolve this? or did you revert to 6000.0?

I am facing the same issue and dont want to enable “Render ins Safe Area”

I’m on the same boat here.

Doesn’t the status bar stay fixed and visible all the time in version 6.0 when we uncheck ‘Render outside safe area’?

Anyone have a clue for 6.1?

I have been facing the same issue, a friend found a script that can be assigned (or at least im doing it like that) in a gameobject in the scene. In my devices whenever i minimize and return to the app it wont display the navbar but a rearrangement of the game that maybe cant be a big ideal but still i am also hoping unity fix this to not depend on script or other methods. im leaving the script below

@IGuscin
@Tomas1856

Any way to hide the bar without external code after this Unity 6 change?
Sorry for ping <3

Edit. render outside safe are does indeed work. It was miscommunication on my part.

Which bar ?

Setting FullScreen mode on, should hide navigation bar.
Setting Render Outside Safe Area to on, should hide status bar.

In android 10 and below if you set in player settings Fullscreen mode, it will hide notification bar (upper bar) and the navbar(bottom bar where you can go back or go the main home launcher), it works fine when you open the app for the first time but if you minimize the app, lock/shut down the screen or change to a different app and then return to the unity game or program on android the navbar (bottom bar) at least for me displays hiding part of the game, if you select “render over native ui” it will keep display the navbar but this time transparent but the icons like the back or home button will be still there disrupting the game

I think it’s known bug - Unity Issue Tracker - [Android] The bottom navigation bar does not get dismissed automatically when switching the app from background to foreground, the fix is in progress. As far as I know this only happens with GameActivity, it doesn’t happen with Activity, as a test you could try switching to Activity and see if it helps.

I will do later and submit feedback, but since im new also, id like to ask the difference for gameactivity and activity and what does it has to do when building the apk/bundle

You can read about GameActivity here - Unity - Manual: The GameActivity application entry point

Switching from Gameactivity to Activity solved for me hiding properly the navbar and notification bar in android 10.

add android:theme=“@style/UnityThemeSelector” to manifest activity + set Render Outside Safe Area to on worked for me..

To Tomas, I’m on 6000.2.9f and this still happens. The fix you linked is for the navigation bar which is at the bottom, but this thread is for the status bar which is at the top. It makes it extra bad for landscape mode as not only does it still render a horizontal status bar at the top of the screennit also renders outside the safe zone. Would be great to fix.

What is your RenderOutsideSafeArea value set to, it should be set to true?

So yes, you can set it to true but it defeats the purpose of what some of us are trying to do and how it used to be. The way it worked before with having RenderOutsideSafeArea turned off was that the render window would only be drawn to the safe area, and the rest would be black. Now, it renders the status bar at the top, but also doesn’t correctly render inside of the safe area when the phone is sideways. It’s pretty undesirable.

The problem persists in Unity 6.2.6f2 too.
We are talking of the top bar, so the status bar; not the navigation bar at bottom.
The only fix that worked is to enable Render outside safe area, but this is not a solution to the problem.