Skip to content

Unable to parent NetworkObject to a NetworkObject only on client #3100

Closed
@Conundroy

Description

@Conundroy

Description

Unable to parent NetworkObject to a NetworkObject only on client.

Reproduce Steps

  1. Host spawns NetworkObject (DestroyedWithScene = true) and parent it via script.

Actual Outcome

Host:

  • Scene
    • Parent NetworkObject
      • Child NetworkObject

Client:

  • Scene
    • Parent NetworkObject
    • Child NetworkObject

Expected Outcome

Host:

  • Scene
    • Parent NetworkObject
      • Child NetworkObject

Client:

  • Scene
    • Parent NetworkObject
      • Child NetworkObject

Environment

  • OS: Windows
  • Unity Version: 6000.0.22f1
  • Netcode Version: 2.0.0

Additional Context

Works if I spawn and parent in editor, probably has something to do with DesroyedWithScene set to true?

Update: Works when I downgrade to v1.11.0

Metadata

Metadata

Labels

priority:highThis issue has high priority and we are focusing to resolve itstat:importedStatus - Issue is tracked internally at Unitytype:bugBug Report

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions