Photon logo Photon logo
Samples SDKs Documentation
Sign In
  • PRODUCTS
    • FUSION
    • QUANTUM
    • REALTIME
    • Classic: PUN
    • CHAT
    • VOICE
    • GAMING
    • INDUSTRIES
  • Samples
  • SDKs
  • DOCUMENTATION
  • Dashboard
  • Status
Sign In
  • MULTIPLAYER
    • Fusion
    • Quantum
    • Realtime
    Classic: PUN
  • COMMUNICATION
    • Voice
    • Chat
  • JOIN OUR CIRCLES!

    Access all our samples, exceptional support, and exclusive code
    • Gaming CIRCLE
      Implement your games faster
      with our pro tools.
    • Industries CIRCLE
      NON-GAMING
      Benefit from the complete suite of Photon business products including Photon Server.
  • FUSION
    • Fusion 2 Introduction
    • Fusion 2 Choose a Topology
    • Getting Started
      • SDK & Download
      • What's New
      • Migration
        • Coming from Pun2
        • Coming From Bolt
        • Coming from Fusion 1
      • Creating an AppId
    • Tutorials
      • Host Mode Basics
        • Overview
        • 1 - Getting Started
        • 2 - Setting Up A Scene
        • 3 - Prediction
        • 4 - Physics
        • 5 - Property Changes
        • 6 - Remote Procedure Calls
        • 7 - Where to go Next
      • Shared Mode Basics
        • Overview
        • 1 - Getting Started
        • 2 - Scene and Player
        • 3 - Movement & Camera
        • 4 - Network Properties
        • 5 - RPCs
        • 6 - Where to go next
      • Multi Climb Tutorial
    • Game Samples
      • Fusion Starter
      • Asteroids Simple
      • Simple FPS
        • Overview
        • Download
        • Project Setup
        • Starting The Game
        • Architecture
      • Razor Madness
      • Quiz Network
      • Fusion Golf
      • Impostor
      • Karts
      • Fusion Cooking Coop
      • Tanknarok
      • Asteroids Advanced
      • Pirate Adventure
        • Overview
        • Download
        • Getting Started
        • Tech Design
      • Fusion Animal Coop
        • Overview
        • Getting Started
        • Further Steps
      • BR200
        • Overview
        • Download
        • Quickstart
        • Game Core
        • Player
        • Weapons & Shooting
        • Interactions
        • Performance & Optimizations
        • Expanding the Project
        • Testing
        • Game Server Hosting
        • Third Party Assets
    • Technical Samples
      • Animations
      • Projectiles Essentials
      • Projectiles Advanced
        • Overview
        • Download
        • Quickstart
        • Network Data Buffer
        • Projectiles
        • Architecture
        • Expanding Project
        • Transition from Fusion 1
        • Third Party Assets
      • Host Migration
      • Disconnect & Reconnect
      • Social Hub
      • Fusion Object Pooling
      • Fusion Crazy Starter WebGL
      • Area of Interest & Multi-Peer
      • VR Shared
      • VR Host
    • Industries Samples
      • Expo
      • Stage Screen Sharing
        Circle
      • Meeting
        Circle
      • Mixed reality (with local multiplayer)
      • VR Training
      • Meta Camera Integration
        Circle
      • Metaverse
        • Metaverse Overview
        • Metaverse Hub
        • Metaverse Art Gallery
        • Metaverse Picazoo
        • Metaverse Music
        • Metaverse WebGL build
      • Industries Addons
        • Industries Addons Overview
        • XRShared
        • Connection Manager
        • Voice Helpers
        • XRHands synchronization
        • Data Sync Helpers
        • visionOS helpers
        • Extended Rig Selection
        • Blocking contact
        • Magnets
        • Texture Drawing
        • Line Drawing
        • Sticky Notes
        • Meta Core integration
        • MX Ink Integration
        • Spaces
        • Dynamic Audio group
        • Audio Room
        • Chat Bubble
        • Avatar
        • Ready Player Me Avatar Integration
        • Meta OVR hands synchronization
        • Meta Avatar
        • Locomotion validation
        • Social Distancing
        • Screen sharing
        • 3D & 2D drawing
        • Touch & Hover
        • Interactive Menu
        • Desktop Focus
        • Feedback
        • Virtual Keyboard
        • Structure cohesion
        • Subscriber - Registry
        • Reconnection
        • XRIT Integration
        • UI Synchronization
    • Addons
      • Physics
        • Overview
        • Download
      • Inspector
      • Simple KCC
      • Advanced KCC
        • Overview
        • Download
        • Sample Project
        • Creating Character
        • Data Layer
        • Architecture
        • Execution
        • Movement
        • Render Behavior
        • Interactions
        • Features
        • Extending
        • Debugging
        • Input Smoothing
        • Known Problems
      • Finite State Machine
      • Interest Management
        • Overview
        • Download
        • Sample Project
        • Quickstart
        • Architecture
        • Advanced Usage
    • Manual
      • Network Runner
      • Network Object
      • Network Behaviour
      • Scene Loading
      • Network Project Config
      • Network Topologies
      • Spawning
      • PlayerRef
      • Shared Mode Master Client
      • Data Transfer
        • Data Transfer
        • Networked Properties
        • Remote Procedure Calls
        • Player Input
        • Change Detection
        • Data Streaming
        • Eventual Consistency
      • Sync Components
        • NetworkTRSP
        • Network Transform
        • Network Mecanim Animator
        • Addon Sync Components
      • Fusion Types
        • INetworkStruct
        • Network Collections
        • TickTimer
      • Connection and matchmaking
        • Regions
        • Matchmaking API
        • Port Numbers
        • Photon Connection Lost & Quick Reconnect
        • Client Server Connection Process
        • Authentication
          • Overview
          • Custom Authentication
          • Epic EOS Authentication
          • Facebook Authentication
          • Oculus Authentication
          • Steam Authentication
          • VIVEPORT Authentication
      • Testing and Tooling
        • Fusion Statistics
        • Multi-Peer Mode
        • Simulating Network Conditions
        • Breakpoint Support
      • Advanced
        • Advanced Spawning
        • Connection Encryption
        • Interest Management
        • Simulation Behaviour
        • Lag Compensation
        • Networking Fusion Object Types
        • Network Buffers
        • NetworkObjectProvider
        • Network Object State IL Weaving
        • Webhooks
    • Concepts and Patterns
      • Animation
      • Optimizations
      • Dedicated Servers
      • Networking Controller Code
      • Network Simulation Loop
      • Voice Chat
    • Consoles
      • Overview
    • Troubleshooting
      • Frequently Asked Questions
      • Known Issues
      • Subscription Error Cases
      • Analyzing Disconnects
    • Gaming Circle
      • Samples Overview
      • Photon Circle Discord
      • Photon Circle Stack Overflow
    • Reference
      • Glossary
      • Open Source Software at Photon
      • Photon Application Analytics
      • STUN Servers
      • PlayFab Integration
      • API Reference
  • QUANTUM
  • REALTIME
  • CHAT
  • VOICE
  • SERVER
  • PUN
  • BOLT
  • VR | AR | MR
This document is about: FUSION 2
SWITCH TO
FUSION 1 FUSION 2

Data Transfer

There are four ways of transporting data between Peers in Fusion.

Icon
Networked Properties
Properties of a NetworkBehaviour with the [Networked] attribute represent State, and will automatically replicate their values from the State Authority Peer to all other Peers.
Icon
RPCs (Remote Procedure Calls)
Calling a NetworkBehaviour's method which has the [Rpc] attribute will execute that method on other Peers in the Room.
Icon
Data Streaming
Large custom byte arrays can be sent via Fusion's data streaming API, which will automatically split the data into smaller fragments and reassemble them on the target Peer.
Icon
Player Input
(Only relevant to Server Client Mode, not used in Shared Server Mode.) - Input collected every tick with the INetworkRunnerCallbacks.OnInput callback is replicated to the server. These inputs are stored in a buffer, and are used in each Tick Simulation. Inputs are acquired with the GetInput method inside of FixedUpdateNetwork, which returns the Inputs that were supplied by that Network Object's Input Authority.
Data Transfer Methods
Primary Fusion mechanisms for transferring data between peers.
Back to top
Photon
We Make Multiplayer Simple
Products
  • Fusion
  • Quantum
  • Realtime
  • Chat
  • Voice
  • PUN
Support
  • Gaming Circle
  • Industries Circle
  • Circle Discord
Documentation
  • Fusion
  • Quantum
  • Realtime
  • Chat
  • Voice
  • PUN
  • Bolt
  • Server
  • VR | AR | MR
About Us
  • Contact Us
  • Compliance
  • Blog
Resources
  • Dashboard
  • Samples
  • SDK Downloads
  • Cloud Status
Languages
  • English
  • 日本語
  • 한국어
  • 简体中文
  • 繁体中文
Public Discord
YouTube
LinkedIn
Terms Regulatory Privacy Policy Privacy Code of Conduct Cookie Settings

Cookies,
anyone?

We use cookies and related technologies to enhance your experience, show you personalised content and analyze performance and traffic on our website. By clicking on the „Accept All“ button you consent to the use of non-functional cookies and the subsequent processing of personal data to optimize our website and services as described in more detail in our Privacy and Cookie Policy.

By clicking on the „Customize or Deny all“ button you can decide otherwise. Clicking on the „Customize“ button will take you to a page where you can configure the usage of non-functional cookies (and related technologies) or deny all of them. You can access these settings at any time and also subsequently deselect cookies at any time in the footer area of our website.

ACCEPT ALL

Cookie Overview

We use the following categories of cookies and related technologies to enhance your experience, show you personalized content, and analyze performance and traffic on our website. We respect your right to privacy and accordingly you can chose to not allow some types of cookies (and related technologies). Click on the different category sliders and change our default settings to manage your cookie settings.

For more information on the specific cookies/related technologies we use and on how we use these, please see section 15 E. of our Privacy and Cookie Policy.

ABSOLUTELY NECESSARY

Authentication cookies we use are required to run our services … Cookies are required: Privacy and Cookie Policy

FUNCTIONAL AND MARKETING COOKIES

These cookies collect anonymous data and allow us to optimize our website and user experience. These cookies are listed here: Privacy and Cookie Policy

ANALYTICS / TAG MANAGER

Help us to understand how visitors interact with our services, enables us to analyze and improve our services (also through third party analytics).

GDPR Imprint