Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Bug Dedicated server linux crash

Discussion in 'Linux' started by sumalab10, Sep 15, 2022.

  1. sumalab10

    sumalab10

    Joined:
    Nov 29, 2016
    Posts:
    3
    Hello,

    I'm testing this feature and I have built a dedicated server application for linux. It compiles well but when I execute it I get this error:


    root@ns3135789:/home/debian/unitytest# ./test.x86_64
    [UnityMemory] Configuration Parameters - Can be set up in boot.config
    "memorysetup-bucket-allocator-granularity=16"
    "memorysetup-bucket-allocator-bucket-count=8"
    "memorysetup-bucket-allocator-block-size=4194304"
    "memorysetup-bucket-allocator-block-count=1"
    "memorysetup-main-allocator-block-size=16777216"
    "memorysetup-thread-allocator-block-size=16777216"
    "memorysetup-gfx-main-allocator-block-size=16777216"
    "memorysetup-gfx-thread-allocator-block-size=16777216"
    "memorysetup-cache-allocator-block-size=4194304"
    "memorysetup-typetree-allocator-block-size=2097152"
    "memorysetup-profiler-bucket-allocator-granularity=16"
    "memorysetup-profiler-bucket-allocator-bucket-count=8"
    "memorysetup-profiler-bucket-allocator-block-size=4194304"
    "memorysetup-profiler-bucket-allocator-block-count=1"
    "memorysetup-profiler-allocator-block-size=16777216"
    "memorysetup-profiler-editor-allocator-block-size=1048576"
    "memorysetup-temp-allocator-size-main=4194304"
    "memorysetup-job-temp-allocator-block-size=2097152"
    "memorysetup-job-temp-allocator-block-size-background=1048576"
    "memorysetup-job-temp-allocator-reduction-small-platforms=262144"
    "memorysetup-temp-allocator-size-background-worker=32768"
    "memorysetup-temp-allocator-size-job-worker=262144"
    "memorysetup-temp-allocator-size-preload-manager=262144"
    "memorysetup-temp-allocator-size-nav-mesh-worker=65536"
    "memorysetup-temp-allocator-size-audio-worker=65536"
    "memorysetup-temp-allocator-size-cloud-worker=32768"
    "memorysetup-temp-allocator-size-gfx=262144"
    Mono path[0] = '/home/debian/unitytest/test_Data/Managed'
    Mono config path = '/home/debian/unitytest/test_Data/MonoBleedingEdge/etc'
    Preloaded 'lib_burst_generated.so'
    Unknown error occurred while loading '/home/debian/unitytest/test_Data/globalgamemanagers'.
    PlayerInitEngineNoGraphics settings: Failed to load PlayerSettings (internal index #0).
    Most likely data file is corrupted, or built with mismatching
    editor and platform support versions.
    Failed to initialize player
    Caught fatal signal - signo:11 code:1 errno:0 addr:(nil)
    Obtained 10 stack frames.
    #0 0x007fc1ee2ea0e0 in funlockfile
    #1 0x007fc1ef696ce6 in void std::vector<unsigned int, std::allocator<unsigned int> >::_M_assign_aux<__gnu_cxx::__normal_iterator<unsigned int*, std::vector<unsigned int, std::allocator<unsigned int> > > >(__gnu_cxx::__normal_iterator<unsigned int*, std::vector<unsigned int, std::allocator<unsigned int> > >, __gnu_cxx::__normal_iterator<unsigned int*, std::vector<unsigned int, std::allocator<unsigned int> > >, std::forward_iterator_tag)
    #2 0x007fc1ef5a664b in std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>, std::allocator<int> >::_M_erase(std::_Rb_tree_node<int>*)
    #3 0x007fc1ef5a361a in std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>, std::allocator<int> >::_M_erase(std::_Rb_tree_node<int>*)
    #4 0x007fc1ef5a3075 in std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>, std::allocator<int> >::_M_erase(std::_Rb_tree_node<int>*)
    #5 0x007fc1ef63c57f in std::_Rb_tree<void const*, void const*, std::_Identity<void const*>, std::less<void const*>, std::allocator<void const*> >::_M_erase(std::_Rb_tree_node<void const*>*)
    #6 0x007fc1ef587f6e in int* std::_V2::__rotate<int*>(int*, int*, int*, std::random_access_iterator_tag)
    #7 0x007fc1ef7a4ce7 in PlayerMain(int, char**)
    #8 0x007fc1edf5a2e1 in __libc_start_main
    #9 0x0055be97905029 in (Unknown)
    Segmentation fault



    I have installed a fresh unity 2021.3.9 from unity hub only with the dedicated server linux module. I have a debian 9 server. Probably is something related to configuration, but I'm lost at this moment, I can't find any solution and the error doesn't mean anything to me.

    I have tested this creating a dedicated server for windows and works like a charm.

    Thanks in advance.

    Best regards.
     
    thexdd likes this.
  2. MrMenglei

    MrMenglei

    Joined:
    Sep 27, 2022
    Posts:
    2
    Hello! I have encountered the same problem and would like to ask if you have solved this problem now?
     
  3. MrMenglei

    MrMenglei

    Joined:
    Sep 27, 2022
    Posts:
    2
    I found that this prompt also exists on the Web, but it doesn't affect the Web side.
     
  4. sumalab10

    sumalab10

    Joined:
    Nov 29, 2016
    Posts:
    3
    I have not fixed the problem yet. Just updated to debian 11 and I get the same error.
     
  5. thexdd

    thexdd

    Joined:
    Mar 20, 2013
    Posts:
    23
    I am having exactly the same problem.
    Running an empty Unity Dedicated Linux Server project on a Ubuntu Server 22.04