Search Unity

Resolved Netcode Prespawned Ghosts Baking and Custom Transform Components

Discussion in 'DOTS Dev Blitz Day 2022 - Q&A' started by Kmsxkuse, Dec 8, 2022.

  1. Kmsxkuse

    Kmsxkuse

    Joined:
    Feb 15, 2019
    Posts:
    306
    Netcode currently generates a hash for prespawned ghosts prefabs based off of their transform component. What is I wanted to use my own custom transform components, will that be possible?
     
  2. CMarastoni

    CMarastoni

    Unity Technologies

    Joined:
    Mar 18, 2020
    Posts:
    900
    Not out of the box. You need to add your own logic by modifying the package. We are working out something to allow you specify components that can be used for that purpose in the future but for now this is not provided.
     
    Kmsxkuse likes this.
  3. Kmsxkuse

    Kmsxkuse

    Joined:
    Feb 15, 2019
    Posts:
    306
    Ugh. That's unfortunate.
     
  4. CMarastoni

    CMarastoni

    Unity Technologies

    Joined:
    Mar 18, 2020
    Posts:
    900
    I know, but at least The modification its super easy to do.
     
    Kmsxkuse likes this.