Network ID utility fails to import for objects that have slashes in the name
closed
TapGhoul
Steps:
- Create a scene
- Create a gameobject with a slash in the name, or a gameobject as a child of another gameobject with a slash in the name (basically, scene path has a slash in it)
- Attach a component that makes it networked, such as VRCObjectSync or an udon script with networking on it
- Generate and export network IDs
- Attempt to import the network IDs
As a result of the file using slashes as separators, the network IDs will fail to import for these objects. Unfortunately, using slashes to signal section (for example, "/// PATREON ///") is a common practice among many creators, and this causes problems for transferring network IDs between projects when a separate PC vs Quest scene or unity project is used.
Log In
Dexvoid
closed
Please avoid using forward slashes in the names of your game objects. Unity uses forward slashes as delimiters for game object paths (for example "Parent/Child/SubChild"), so using forward slashes inside the name of the game object causes the path to become ambiguous. The network ID utility relies on consistent paths to be able to work properly.
The network ID utility will be updated to warn against this if it detects forward slashes in the name of a game object when exporting. Documentation will also be updated to advise against this.
This post was marked as
tracked