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

Adding Dialogs over the UnityPlayer.currentActivity

Discussion in 'Android' started by ayyappa, Mar 11, 2015.

  1. ayyappa

    ayyappa

    Joined:
    Jan 4, 2014
    Posts:
    27
    Hi,
    Im not overriding the root activity of Unity for my plugin. I want to add some dialogs over the existing activity.

    Sometimes when i resume from background with the dialog visible (not full screen as well), the background of the whole dialog goes black giving the below error.
    Is it like we can't add a dialog without extending? I see it like the surface is not getting refreshed after resuming Any help would be much appreciated.


    https://shrib.com/jP8jzb3b


    I/WindowManager( 980): Screen frozen for +391ms due to Window{3fbde68a u0 NavigationBar}


    Please check the logcat results in the provided link.