Search Issue Tracker

Fixed in 2022.1.X

Votes

3

Found in

2021.2

2022.1

Issue ID

1354140

Regression

No

Editor crashes when opening it with "-standaloneBuildSubtarget Server" CLI

Build Pipeline

-

How to reproduce:
1. Create new project, close it
2. Open it with "-standaloneBuildSubtarget Server" CLI argument
3. Observe Editor

Expected result: Editor does not crash
Actual result: Editor crashes

Reproducible with: 2021.2.0b5, 2022.1.0a4
Could not test with: 2019.4.29f1, 2020.3.15f1, 2021.1.16f1 (Dedicated Server functionality not implemented)

Note:
Issue also reproduces when using "-buildTarget Standalone -standaloneBuildSubtarget Server" CLI arguments

  1. Resolution Note (fix version 2022.1):

    Fixed in 2022.2.0a10

Comments (2)

  1. riemaeker

    Apr 26, 2022 18:14

    We are experiencing this bug in 2021.2.15f1 and 2021.3 LTS. Can we expect the solution to be backported?

    Specifically, we see that when we use "-buildTarget linux64 -standaloneBuildSubtarget Server" in batch mode (on our CI server), the log shows a lot of "unable to find type" and "unable to find method" errors, and then finally logs this before exiting:

    received signal from system: SIGSEGV
    Obtained 11 stack frames
    0x00007ff64b7462ad (Unity) StackWalker::GetCurrentCallstack
    0x00007ff64b74d009 (Unity) StackWalker::ShowCallstack
    0x00007ff64c6b2b83 (Unity) GetStacktrace
    0x00007ff64b74c046 (Unity) winutils::PrintStackTrace
    0x00007ff64b7458dc (Unity) winutils::CrashHandler::DefaultSignalHandler
    0x00007ff64da2f3b2 (Unity) seh_filter_exe
    0x00007ff64daee53c (Unity) `__scrt_common_main_seh'::`1'::filt$0
    0x00007ff64d9fb790 (Unity) _C_specific_handler
    0x00007fff32fc8e4f (ntdll) _chkstk
    0x00007fff32f55e9a (ntdll) RtlRestoreContext
    0x00007fff32fc7e5e (ntdll) KiUserExceptionDispatcher

  2. Spitap

    Jan 14, 2022 11:11

    Bug is still here in 2022.1.0b3

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.