Open SpiltBeanz opened 5 days ago
Caused by TypeLibrary.GetType
returning null.
Could be related to https://github.com/Facepunch/sbox-issues/issues/7424 or maybe we are not correctly removing/adding assemblies when leaving/joining a dedicated server.
Describe the bug
Joining another lobby while currently in one (e.g. p2p to dedicated) causes these errors and a bunch of NRE spam. I was only able to reproduce in game and not in the editor.
To Reproduce
Method 1:
Method 2:
This bug is also reproducible in TTT game.
Expected behavior
There are no errors when launching the lobby/server initially so there should also be no errors when leaving and rejoining the same server.
Media/Files
Additional context
No response