Installation
This guide covers how to install Universal Friend List into your Unity project. The process is straightforward, but there are some prerequisites depending on which networking backend you plan to use.
Prerequisites
Unity Version
Universal Friend List requires Unity 2021.3 LTS or newer. The asset uses features available in this version and later, including improved C# support and networking APIs.
Networking SDK (Choose One)
Before importing the asset, you should have at least one of the following networking solutions installed in your project:
- Photon PUN 2 - For Photon-based multiplayer
- Photon Fusion - For real-time Photon experiences
- Mirror - For open-world and MMO-style games
- Unity Netcode for GameObjects (NGO) - Unity's official netcode solution
- FishNet - For high-performance networking
- Custom Backend - Your own server solution (no SDK needed)
Project Requirements
- Your project must compile without errors before importing the asset
- Ensure you have a clean import folder structure
- Back up your project or use version control before major imports
Import Steps
Step 1: Purchase and Download
Purchase Universal Friend List from the Unity Asset Store and download the package to your Unity account. You can then import it into any of your projects.
Step 2: Import into Unity
- Open your Unity project
- Go to Window → Package Manager
- Click My Assets in the left sidebar
- Find "Universal Friend List" in the list
- Click Download then Import
- In the Import Unity Package dialog, click Import to accept all assets
Step 3: Wait for Compilation
After importing, Unity will compile all the C# scripts. This may take a few minutes depending on your project size. Wait for compilation to complete before proceeding.
Step 4: Verify Import
After compilation completes, verify the import was successful by checking for the following in your Project window:
Assets/ElderWorldStudio/FriendList/folder existsScenes/Demo.unityscene is availableScripts/Managers/FriendManager.csis present
Optional: Specific SDK Setup
Photon PUN 2
- Download PUN 2 from the Asset Store or Photon's website
- Import the PUN 2 package into your project
- Enter Play Mode - Unity will prompt you to create a Photon App ID
- Follow the setup wizard to register your project (free tier available)
- Universal Friend List will automatically detect PUN 2 and enable native support
Photon Fusion
- Download Photon Fusion from the Asset Store
- Import Fusion into your project
- Configure your Fusion App ID in the Photon Dashboard
- The asset will automatically enable Fusion-specific features
Mirror
- Download Mirror from the Unity Asset Store or GitHub
- Import Mirror into your project
- Universal Friend List will detect Mirror automatically
- You can use the custom server option with Mirror for full friend functionality
Unity Netcode for GameObjects
- Install via Unity Package Manager (com.unity.netcode.gameobjects)
- Import the package from the Unity Registry
- Follow Unity's documentation for initial Netcode setup
- The friend list system will integrate with NGO automatically
FishNet
- Download FishNet from the Unity Asset Store
- Import FishNet into your project
- The friend list system supports FishNet through its custom backend option
Post-Installation Verification
Test the Demo Scene
The best way to verify everything is working is to test the included demo scene:
- Open
Assets/ElderWorldStudio/FriendList/Scenes/Demo.unity - Select the
FriendManagerobject in the hierarchy - Ensure a
FriendManagerSettingsasset is assigned in the Inspector - Enter Play Mode
- Check the Console for any error messages
Expected Behavior
- No error messages in the Console (warnings are acceptable)
- The FriendManager initializes without issues
- UI elements appear correctly in Game View