Multiplayer

Last modified by Maarten Struijk Wilbrink on 2021/11/01 14:03

Photon Overview

Photon is a Unity package for creating a networked experience. If you're new to Photon: you can find an excellent tutorial on the PhotonEngine website.

Photon does not natively allow additive scene loading. This is unfortunate, since this is very convenient. A package that allows this is currently under Open Source development. Instructions for getting the package are below.

Requirements

To enable this package to work, you first need to have either the free PUN 2 asset, or the paid PUN 2+ asset installed from the Unity Asset Store. 

Obtaining the Package

The PUN Additive Scene Loading package can be obtained through this git repo

If you just want to use the package as is:

  1. Go to the Package Manager in Unity, 
  2. Select the + icon, 
  3. Choose: "Add package from git URL",
  4. and put '.git' at the end of the URL. (or paste: https://github.com/mrstruijk/PUN_Additive.git in the popup)

Contributing

Since this package is Open Source, we welcome any improvements to the project.
If you want to do this, you can best create a fork to your own git page, and add that repo as a git Submodule into your main project.
From here, you can commit changes, and file a Pull request once you're satisfied with your improvements. 

 

Tags:
   
solo
XWiki 14.10.13
contact@xwiki.com