docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Facebook Instant Games SDK version selection

    Choose which version of the Facebook Instant Games SDK to use.

    Choosing an SDK version

    Configure your Facebook Instant Games SDK version at Edit > Project Settings > Facebook Instant Games.

    Choosing an SDK version sets a scripting define symbol of META_INSTANT_GAMES_SDK_V7 or META_INSTANT_GAMES_SDK_V8 in the Player settings to conditionally compile the specified SDK version.

    Note

    You must use the Facebook Instant Games settings window to change the SDK version. Manually editing Scripting Define Symbols in the Player settings causes errors.

    When the package is initially added to the project, the default SDK version is v8.0. The version applies to the active build profile that targets Web and Instant Games.

    Facebook Instant Games version settings

    Additional resources

    • Meta.InstantGames.v7
    • v7.1 API Reference
    • Meta.InstantGames.v8
    • v8.0 API Reference
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)