Chykary / FizzySteamworks

A transport for Mirror using Steam / Steamworks.NET
283 stars 32 forks source link

Networking NullReferenceException FizzySteamworks.ClientSend #19

Closed neuroticdemon closed 3 years ago

neuroticdemon commented 3 years ago

When I have the server switch scenes for all players the console returns the following error client-side as soon as they change scenes:

"NullReferenceException: Object reference not set to an instance of an object Mirror.FizzySteam.FizzySteamworks.ClientSend (System.ArraySegment`1[T] segment, System.Int32 channelId) (at Assets/Mirror/Runtime/Transport/FizzySteamworks/FizzySteamworks.cs:140)"

I am assuming a reference gets lost between the scenes but I don't know what. For more clarification the player objects dont destroy on load

neuroticdemon commented 3 years ago

I had a network manager in the scene it was loading to, deleting this object solved the issue