Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Black/Blank Screen issue - Integrating Unity into Native Android applications

Discussion in 'Getting Started' started by ArunHarman, Oct 26, 2023.

?

Any one Faced this issue

  1. Yes

    50.0%
  2. No

    50.0%
  1. ArunHarman

    ArunHarman

    Joined:
    Jun 1, 2023
    Posts:
    1
    Hello!!

    I have integrated the unity3d application with the Native android application.I am loading the unity3d module as an activity in the Native Android. I have made the unity module activity to be the launcher activity of the app. Now When the app starts the unity module (ie. The MainActivity2.java) will be launched first.

    Issue:
    When it is going to launch, Before the loading of the video (splash screen) of the Unity module i get the blank screen. I also face this issue when navigating between the two activities. MainActivity1.java has the native Android and MainActivity2.java has the unity module.

    Frequency:
    I do not face this issue continuously. Out of 10, I face this issue 4 times.

    Environment & Testing Device:
    Issue Faced
    Unity3D Editor: 2021.3.5f1 & 2021.3.8f1
    Android Studio: Android Studio Eel | 2021.1.1
    Targeted SDK: 33