Technoguyfication / Minecraft-Unity3D

Vanilla-compatible Minecraft multiplayer client written from scratch in C#
MIT License
64 stars 14 forks source link

NullReference when launching the project from main menu #6

Closed Gandalf-Le-Dev closed 3 years ago

Gandalf-Le-Dev commented 3 years ago

Hey man you have an awesome project here, I wanted to test it but I get this error when I try to connect myself in localhost

NullReferenceException: Object reference not set to an instance of an object NetworkClient.Dispose () (at Assets/_Project/Scripts/Protocol/NetworkClient.cs:51) GameManager.Disconnect (System.String reason) (at Assets/_Project/Scripts/GameManager.cs:109) GameManager+d__29.MoveNext () (at Assets/_Project/Scripts/GameManager.cs:213) UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <42a5878ce129403083acccf18e43363f>:0)

Do you know why ?

Thanks in advance