Skip to content

Unity 6.1 Object initialized twice without reset error #897

@gregharding

Description

@gregharding

General
Unity version: 6.1.1f1
Fish-Networking version: 4.5.7, 4.5.8
Discord link: https://discord.com/channels/424284635074134018/1034477094731784302/1369560923051790458

Description
When a server/host starts, stops and then restarts in the same scene, all scene NetworkObjects throw an error Object was initialized twice without being reset. Object Name [xxx] Id [nn].

Unity 6.1.1 shows the issue.
Unity 6.0.30, Unity 6.0.48 do not have the issue.

Replication
Steps to reproduce the behaviour:

  1. Create a test scene with the standard FishNet NetworkManager.
  2. Create a gameobject with a NetworkObject, ie. a scene NetworkObject.
  3. Play the scene.
  4. Using the standard FishNet UI, start the server, stop the server, and start the server again.
  5. See the error.

Expected behaviour
NetworkObjects should be reset so they can initialise without error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Resolved Pending ReleaseIssue is resolved and will be available on the noted version.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions