Unity is the world's most popular cross-platform game engine.
However, developers still face a range of limitations when it comes to building face tracking games and apps in Unity.
One of them is the ability to separate a person from the background in real-time.
In this post, you'll learn how to create a background Unity subtraction featuring:
- Why is Unity background segmentation beneficial
- 4 use cases for background subtraction
- How to subtract background in Unity with Banuba.
-
The official technical documentation for Banuba Face AR SDK is available online and includes requirements, setup instructions, and configuration details:
- Banuba Face AR SDK iOS documentation
- Banuba Face AR SDK Android documentation
- Banuba Face AR SDK Flutter documentation
- Banuba Face AR SDK React Native documentation
- Banuba Face AR SDK Web documentation
- Banuba Face AR SDK Unity documentation
- Banuba Face AR SDK Desktop documentation
This Banuba Face AR SDK documentation should be your primary reference during integration.
-
You can access official integration code samples for the Banuba Face AR SDK on GitHub. Banuba provides platform-specific examples to help you integrate faster:
- Banuba Face AR SDK iOS integration code sample
- Banuba Face AR SDK Android integration code sample
- Banuba Face AR SDK Flutter integration code sample
- Banuba Face AR SDK React Native integration code sample
- Banuba Face AR SDK Desktop integration code sample
- Banuba Face AR SDK Web integration code sample
- Banuba Face AR SDK Unity integration code sample
These Banuba Face AR SDK repositories include setup instructions and minimal working examples for quick deployment.
-
Yes. The Banuba Face AR SDK includes an LLM-friendly documentation file designed for AI-assisted development and internal knowledge systems:
This structured Banuba Face AR SDK text file can be used with AI tools to streamline onboarding and developer workflows.
-
The Banuba Face AR SDK provides official cross-platform plugins to simplify integration into hybrid applications:
These Banuba Face AR SDK plugins are maintained by Banuba and support faster implementation for cross-platform apps.
-
The purpose of background subtraction is to detect and separate moving objects in video or image processing. The most common use cases are AR-powered face tracking apps, video chat apps, and live streaming.
-
The background subtraction algorithm in computer vision means detecting moving objects in video content. It separates objects from the background utilizing so-called classes which identify the background and input images.

Background segmentation in Unity by Banuba
Hyperspeed | Face Tracking Case Study
Banuba Face AR SDK Unity integration