question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

LiteNetLib transport throws an exception on shutdow

See original GitHub issue

When I create a new unity project with just a NetworkingManager and the LiteNetLibTransport, I get the following error when quitting the play mode:

NullReferenceException: Object reference not set to an instance of an object
LiteNetLibTransport.LiteNetLibTransport.Shutdown () (at C:/projects/mlapi-transports/LiteNetLibTransport/LiteNetLibTransport.cs:222)
MLAPI.NetworkingManager.Shutdown () (at <fae6c6a4f2b64cb48b653b067952cd2e>:0)
MLAPI.NetworkingManager.OnDestroy () (at <fae6c6a4f2b64cb48b653b067952cd2e>:0)
  • OS: MacOS 10.15.2
  • Unity Version: 2019.2.13f1
  • MLAPI Version: 11.10.0
  • LiteNetLib transport Version: I don’t know how to get this info, but I have the latest downloaded from the installer

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ArnaudValensicommented, Mar 4, 2020

I don’t know, I’m not using MLAPI anymore, I’m using LiteNetLib directly.

0reactions
TwoTenPvPcommented, Feb 19, 2021

This is a problem in the LiteNetLib transport. If the issue is still present, please do file a new bug request at https://github.com/Unity-Technologies/mlapi-community-contributions/issues

Read more comments on GitHub >

github_iconTop Results From Across the Web

LiteNetLib transport throws an exception on shutdow #302
When I create a new unity project with just a NetworkingManager and the LiteNetLibTransport, I get the following error when quitting the ...
Read more >
LiteNetLib - another reliable udp library. | Page 7
Hi, @RevenantX Your LiteNetLib looks absolutely awesome. ... but it's size exceeds MTU - so LiteNetLib throws an exception and refuses to ...
Read more >
Reverse Proxy - Mirror Networking - GitBook
NOTE: IIS will throw an exception if the same rule name is used multiple times. To avoid possible conflicts with configurations that are...
Read more >
Cannot shutdown Tomcat - transport Error
I am using Tomcat6.0.29. When I try to close Tomcat using shutdown.bat, it is not shutting down tomcat and also I don't see...
Read more >
Fish-Networking Changelog
Fixed potential Tugboat NullReferenceException when shutting down client. Fixed duplicate AddToSpawned calls for client objects. Fixed Reader.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found