Search Unity

Raknet crashes on connection request

Discussion in 'Multiplayer' started by ekokkiligadda, Feb 22, 2021.

  1. ekokkiligadda

    ekokkiligadda

    Joined:
    Sep 22, 2020
    Posts:
    1
    I have a Raknet application that constantly crashes at the below location, any thoughts on possible reasons for this crash?

    libc.so (abort+164)
    libc.so (__stack_chk_fail+20)
    libRakNet.so (cat::FortunaFactory:: PollInvariantSources(int)+476)
    libRakNet.so (cat::FortunaFactory::InitializeEntropySources()+64)
    libRakNet.so (cat::EasyHandshake::Initialize()+260)
    libRakNet.so (cat::EasyHandshake::EasyHandshake()+20)
    libRakNet.so (cat::ClientEasyHandshake::ClientEasyHandshake()+16)
    libRakNet.so (RakNet4::RakPeer::GenerateConnectionRequestChallenge(RakNet4::RakPeer::RequestedConnectionStruct*, RakNet4:: PublicKey*)+320)
    libRakNet.so (RakNet4::RakPeer::SendConnectionRequest(char const*, unsigned short, char const*, int, RakNet4:: PublicKey*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)+384)
    libRakNet.so (RakNet4::RakPeer::Connect(char const*, unsigned short, char const*, int, RakNet4:: PublicKey*, unsigned int, unsigned int, unsigned int, unsigned int)+208)
    libRakNet.so (RakPeerInterface_Connect__SWIG_4+40)
     
  2. ep1s0de

    ep1s0de

    Joined:
    Dec 24, 2015
    Posts:
    168
    Try not to use security ... i.e. don't call InitializeSecurity on the server side