Closed
Description
Description
Unable to parent NetworkObject to a NetworkObject only on client.
Reproduce Steps
- Host spawns NetworkObject (DestroyedWithScene = true) and parent it via script.
Actual Outcome
Host:
- Scene
- Parent NetworkObject
- Child NetworkObject
- Parent NetworkObject
Client:
- Scene
- Parent NetworkObject
- Child NetworkObject
Expected Outcome
Host:
- Scene
- Parent NetworkObject
- Child NetworkObject
- Parent NetworkObject
Client:
- Scene
- Parent NetworkObject
- Child NetworkObject
- Parent 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