Skip to content

Crash on Ubuntu 20.04 #32

@Varollo

Description

@Varollo

When trying to run a dedicated server on Ubuntu 20.04 I keep getting this error:

NullReferenceException: Object reference not set to an instance of an object
  at kcp2k.KcpTransport.ServerStart () [0x00000] in <3f58c2d5ab6045e99072d494f8577adc>:0
  at Mirror.NetworkServer.Listen (System.Int32 maxConns) [0x00012] in <3f58c2d5ab6045e99072d494f8577adc>:0
  at Mirror.NetworkManager.SetupServer () [0x00066] in <3f58c2d5ab6045e99072d494f8577adc>:0
  at Mirror.NetworkManager.StartServer () [0x00019] in <3f58c2d5ab6045e99072d494f8577adc>:0
  at Mirror.NetworkManager.Start () [0x00008] in <3f58c2d5ab6045e99072d494f8577adc>:0

Steps to reproduce:

  • Create a mirror project using Kcp Transport or clone this test repository
  • Build it with IL2CPP
  • Run on Ubuntu version 20.04

What fixed for me

To not get the error I had to run it on an older version of ubuntu (18.04).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions