Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

Official Friends Sample Project Now Available

Discussion in 'Friends' started by TreyK-47, Apr 13, 2023.

  1. TreyK-47


    Unity Technologies

    Oct 22, 2019
    The Friends Sample Project is now available on the Asset Store.

    >> Download it from the Asset Store <<

    The Friends Sample Project demonstrates how the Friends service can be typically implemented.

    The sample project comprises a basic user interface that enables users to interact with the Friends service and carry out various action such as:
    • Send / Receive a friend request
    • Accept / Decline a friend request
    • Block / Unblock a player
    • View your Friend list
    • View your Requests list
    • View your Block list
    • Remove a friend
    • Set your Presence status
    If you’re wondering which Render Pipeline it’s compatible with, guess what? It works with all of them! We’re talking Built-in, URP, and HDRP! Keep in mind you’ll want to be using Unity 2021.3.8 or later.

    While this sample is a valuable educational resource, you can also drag and drop it directly into your project.

    Check out the documentation for more information.
    saskenergy and Mj-Kkaya like this.
  2. vuthang


    Mar 7, 2017
    I have issue when build iOS, android platform with friend system:
    Building Library/Bee/artifacts/Android/d8kzr/fpz4_es.Friends.o failed with output:
    ~/Library/Bee/artifacts/Android/il2cppOutput/cpp/Unity.Services.Friends.cpp(14699,61): error: cast from pointer to smaller type 'int32_t' (aka 'int') loses information
    bool L_15 = il2cpp_codegen_enum_has_flag((int32_t)L_13, (int32_t)L_14);
    1 error generated.
    UnityEngine.GUIUtility: ProcessEvent (int,intptr,bool&) (at /Users/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)