Search Unity

[NetCode] Synchronization of terrain data

Discussion in 'NetCode for ECS' started by BlockCat, Apr 26, 2020.

  1. BlockCat

    BlockCat

    Joined:
    Jun 24, 2013
    Posts:
    1
    I've been trying to create a small clone of Liero to test netcode and destructible terrain.

    I am syncing voxels, the terrain data, that should be grouped in chunks with a shared component. Is what I was hoping to do, but sharedcomponents cannot be synced using Netcode.

    Is there a way around this, if it should be done this way at all? Is there a way to customize the way to sync data between component on server and client?
     
  2. myxolobe

    myxolobe

    Joined:
    Dec 7, 2016
    Posts:
    9