Google Corporation has introduced the Sign in with Google plugin for Unity, allowing developers to integrate Google account login into mobile games built on this engine. Its source code is open and available on GitHub.
According to Google, their plugin is designed for both Android and iOS and is compatible with Unity 6.5. It replaces an outdated solution that encountered issues with modern engines and is expected to simplify developers' workflows.
On Android, the plugin utilizes the Credential Manager system through Kotlin, while on iOS, it employs the Google Sign-In SDK via Objective-C++. Key authorization settings can be configured directly in the Unity editor without manually altering platform configuration files. However, some additional configuration might still be necessary in certain cases.
In October, Google and Unity announced a strategic partnership. As part of this, the companies are working on Unity Spark—a platform for creating games using AI directly in the browser, aimed at professional developers. A closed beta test for Unity Spark is expected to launch by the end of the year.
