Skip to content

Unity.Netcode.SceneEventData.DeserializeScenePlacedObjects Error #3795

Description

@AliasgarBohra

Description

I just dont understand, this error i get everytime for 1-2 scenes. As soon as it loads. This error comes and many inplaced network objects few disappeared, few appeared. And also everything on that scene just corrupts related to Network.

Full Trace

NullReferenceException: Object reference not set to an instance of an object
Unity.Netcode.SceneEventData.DeserializeScenePlacedObjects () (at ./Library/PackageCache/com.unity.netcode.gameobjects@bd2a018756ed/Runtime/SceneManagement/SceneEventData.cs:897)
Unity.Netcode.NetworkSceneManager.OnClientLoadedScene (System.UInt32 sceneEventId, UnityEngine.SceneManagement.Scene scene) (at ./Library/PackageCache/com.unity.netcode.gameobjects@bd2a018756ed/Runtime/SceneManagement/NetworkSceneManager.cs:1878)
Unity.Netcode.NetworkSceneManager.OnSceneLoaded (System.UInt32 sceneEventId) (at ./Library/PackageCache/com.unity.netcode.gameobjects@bd2a018756ed/Runtime/SceneManagement/NetworkSceneManager.cs:1806)
Unity.Netcode.SceneEventProgress.<SetAsyncOperation>b__38_0 (UnityEngine.AsyncOperation asyncOp2) (at ./Library/PackageCache/com.unity.netcode.gameobjects@bd2a018756ed/Runtime/SceneManagement/SceneEventProgress.cs:280)
UnityEngine.AsyncOperation.InvokeCompletionEvent () (at <e2f443b25d304a2687b17dc8ac7af722>:0)

Environment

  • OS: Windows
  • Unity Version: 6000.0.61f1
  • Netcode Version: 2.7.0 (Latest)0

Additional Context

It works when I completely create new scene and paste all my objects there.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    StaleAdded after 30 days since stat:awaiting response was added (if it's still present)stat:awaiting-responseAwaiting response from author. This label should be added manually.stat:awaiting-triageStatus - Awaiting triage from the Netcode team.type:bugBug Report

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions