Skip to content

启动报错 #3

Open
Open

Description

@jaguarWang

[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)

System.Net.Sockets.SocketException: 使用了与请求的协议不兼容的地址。

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

  1. en commented on Jun 28, 2017

    @en
    Owner

    https://github.com/en/libunity/blob/master/Sample/Main.cs#L10
    这行你写的啥?
    我现在没有环境试验。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions