#Unity.Netcode.SceneEventData.DeserializeScenePlacedObjects Error

1 messages · Page 1 of 1 (latest)

icy crater
#

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)
#

It's Unity's Netcode error. No errors from my codes

#

I tried clearing package cache but still same

halcyon bough
#

Which version Unity and NGO are you running?
Are you loading these scenes additive or single?
Does it happen with a fresh scene with no network objects?

icy crater
#

I am using Unity 6000.0.61

#

And latest NGO version right now

icy crater
#

It used to work fine but it's bugged now

#

I just don't know. This happened suddenly. And now everytime happening for just particular 1-2 scenes

#

Also this sometimes fix when I create fully new scene and copy paste all my old scene objects to new scene

halcyon bough
restive cliff
icy crater
icy crater
#

I was right. I made a completely new scene and pasted all my objects in the new scene, baked lighting. And it is working now.

This even fixed the issue for other scene which had same issue without making new scene for them.