You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Singleton] An instance of NetCore is needed in the scene, so '(singleton) NetCore (UnityEngine.GameObject)' was created with DontDestroyOnLoad.
UnityEngine.Debug:Log(Object)
NetProto.Singleton`1:get_Instance() (at Assets/Scripts/NetLib/Singleton.cs:51)
Sample.Main:Start() (at Assets/Scripts/NetLib/Sample/Main.cs:18)
at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP, Boolean requireSocketPolicy) [0x00000] in :0
at System.Net.Sockets.Socket+Worker.Connect () [0x00000] in :0
UnityEngine.Debug:Log(Object)
NetCore:ConnectCallback(IAsyncResult) (at Assets/Scripts/NetLib/NetCore.cs:180)
System.Net.Sockets.Worker:Connect()
Activity
en commentedon Jun 28, 2017
https://github.com/en/libunity/blob/master/Sample/Main.cs#L10
这行你写的啥?
我现在没有环境试验。。