android / android/media-samples

I would like to find information on how to implement Picture-in-Picture (PIP) functionality in Unity for Android.

Open
#90 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
1.4k
Forks
781
PR merge metrics
No merged PRs in 30d

Description

I've come across an article (https://medium.com/@ashishgogna9/use-picture-in-picture-mode-in-your-unity-game-app-9789bdcf4f89) and have successfully implemented the Android Picture-in-Picture (PIP) functionality.

However, the issue with this method is that every time I release a new version, I need to switch the build to 'Export Project', then manually edit the UnityPlayerActivity in Android Studio and repackage it into an APK. During this process, I might miss out on 'libil2cpp.so'.

Is there another way to implement PIP functionality directly within Unity?

Contributor guide

Open the contributing guide

Research direction

Review the linked Picture-in-Picture article and the UnityPlayerActivity export workflow, including the Android Studio repackaging step and the risk of missing libil2cpp.so. Determine whether a direct Unity implementation or a reliable packaging approach is supported; done means documenting a verified path that avoids the reported manual rework.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, unity
Domain
game-dev, mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.