Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Third-party plugins pause main Activity

Discussion in 'Scripting' started by Zed23, May 25, 2015.

  1. Zed23

    Zed23

    Joined:
    Apr 3, 2013
    Posts:
    6
    Hi!
    I have faced the problem that the third-party plugins activity pauses main activity. For example Facebook plugin – when I call facebook login window, the main activity is paused until player enters password or cancels login window. How I can avoid of main activity pause while third-party plugins activity?(main activity should still be running in the background)
    Thanks in advance!
     
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    7,850
    can you put the third party plugin calls into a different thread so it does not block the main thread?
     
  3. Zed23

    Zed23

    Joined:
    Apr 3, 2013
    Posts:
    6
    I have no source code of several plugins. Maybe there is some setting in the manifest, which indicate that for example com.facebook.unity.FBUnityDialogsActivity will not pause the main Activity?