Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Question NetworkObject GlobalObjectIdHash

Discussion in 'Netcode for GameObjects' started by HRDev, Feb 2, 2022.

  1. HRDev

    HRDev

    Joined:
    Jun 4, 2018
    Posts:
    28
    There is a way to set GlobalObjectIdHash in NetworkObject without auto generation?
    I need it because i'm creating 2 separate applications that have to comunicate.
     
  2. Balphagore

    Balphagore

    Joined:
    Jul 18, 2019
    Posts:
    69
    It is possible to export a scene as an asset from one project to another. Then the object will save its hash. But the scenes should be named identically. And I didn't check further. Plus, if the scenes are very different, then the asset will have a bunch of unnecessary objects.
     
    HRDev likes this.