{"id":14959786,"url":"https://github.com/unity-technologies/uaal-example","last_synced_at":"2025-05-15T00:11:44.146Z","repository":{"id":41055537,"uuid":"216788858","full_name":"Unity-Technologies/uaal-example","owner":"Unity-Technologies","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-04T13:10:24.000Z","size":8084,"stargazers_count":772,"open_issues_count":64,"forks_count":247,"subscribers_count":520,"default_branch":"master","last_synced_at":"2025-04-06T17:09:37.047Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Unity-Technologies.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-22T10:41:24.000Z","updated_at":"2025-04-04T02:22:02.000Z","dependencies_parsed_at":"2022-09-20T22:00:47.620Z","dependency_job_id":"7c52e210-0dea-4f5f-85b0-d5e6851242a0","html_url":"https://github.com/Unity-Technologies/uaal-example","commit_stats":{"total_commits":79,"total_committers":10,"mean_commits":7.9,"dds":0.6329113924050633,"last_synced_commit":"25ba3aeb5a9daf645638799f54967a5bb3faa047"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Unity-Technologies%2Fuaal-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Unity-Technologies%2Fuaal-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Unity-Technologies%2Fuaal-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Unity-Technologies%2Fuaal-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Unity-Technologies","download_url":"https://codeload.github.com/Unity-Technologies/uaal-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248782282,"owners_count":21160716,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T13:20:46.098Z","updated_at":"2025-04-13T20:44:04.325Z","avatar_url":"https://github.com/Unity-Technologies.png","language":"Objective-C++","readme":"# Unity as a Library integration example to iOS and Android #\n\nIn some scenario developers using native platform technologies (like Android/Java \u0026 iOS/Objective C) want to include in their apps/games features powered by Unity for 3D/2D Real Time Rendering, AR experience, interaction with 3D models, 2D mini games and more.\n\nStarting with Unity 2019.3.0a2, Unity  introduced a new feature to use Unity as a library in native apps by integrating the Unity runtime components and content in a native platform project. The Unity Runtime Library exposes controls to manage when and how to load/activate/unload within the native application.\n\n**Warning**\n\nUsing Unity as a Library **requires you have experience with developing for native platform technologies** such as Java/Android, Objective C/iOS, or Windows Win32/UWP. You need to be familiar with the structure of the project, language features and specific platform configuration options (like user permissions for example).\n\n**Requirements**\n\n* **Android:** Unity 6000.0.0b16 or higher\n* **iOS:** Unity 2021.3.28f1 or higher\n\n**Limitations**\n\nWhile we tested many scenarios for Unity as a library hosted by a native app, Unity does not control anymore the lifecycle of the runtime, so we cannot guarantee it'll work in all possible use cases. \nFor example:\n- Unity as a Library supports rendering only full screen, rendering on a part of the screen isn’t supported.\n- Loading more than one instance of the Unity runtime isn’t supported.\n- You may need to adapt 3rd party Plug-ins (native or managed) to work properly  \n- Overhead of having Unity in unloaded state is: 90Mb for Android and 110Mb for iOS\n\n**How it works**\n\nThe build process overall is still the same, Unity creates the iOS Xcode and Android Gradle projects and generated iOS Xcode and Android Gradle projects have the following structure:\n A library part (iOS framework and Android Archive (AAR) file) that includes all source \u0026 plugins \n A thin launcher part that includes app representation data and runs library\n\nStep by step explanations on how to include the [iOS](docs/ios.md) / [Android](docs/android.md) library part into your native application when needed.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funity-technologies%2Fuaal-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funity-technologies%2Fuaal-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funity-technologies%2Fuaal-example/lists"}