Search Issue Tracker




Found in [Package]



Issue ID




Unity crashes in batch mode when using -vcsMode Perforce

Package: Version Control - Bugs


How to reproduce:
1. Create a new Unity project
2. Add the project folder to the Perforce workspace
3. Open Edit>Project Settings...>Version Control
4. Change Version Control mode to Perforce
5. Close the Editor
6. Open Windows PowerShell
7. Change directory to Unity Editor location
8. Run command ".\\Unity.exe -batchmode -accept-apiupdate -projectPath "XXXX" -logfile - -vcsMode Perforce -vcPerforceWorkspace "XXXX" -vcPerforceServer "XXXX" -vcPerforceUsername "XXXX" -vcPerforcePassword "XXXX" -executeMethod UnityEditor.SyncVS.SyncSolution -quit | out-host"

Reproducible with: 2021.2.0a6, 2021.3.1f1, 2022.1.0f1, 2022.2.0a11
Not reproducible with: 2019.4.38f1, 2020.3.34f1, 2021.2.0a5

First lines of the stacktrace:
0x00007FF6EF3FFB98 (Unity) winutils::ExternalCrashHandler::HandleCrash
0x00007FF6EF3FFCB1 (Unity) winutils::ExternalCrashHandler::HandleFatal
0x00007FF6EF40F645 (Unity) winutils::CrashHandler::DefaultSignalHandler
0x00007FF6F1769368 (Unity) seh_filter_exe
0x00007FF6F182A5B0 (Unity) `__scrt_common_main_seh'::`1'::filt$0
0x00007FF6F17323C0 (Unity) _C_specific_handler
0x00007FFA64FF20CF (ntdll) _chkstk
0x00007FFA64FA1454 (ntdll) RtlRaiseException
0x00007FFA64FF0BFE (ntdll) KiUserExceptionDispatcher

  1. This is a duplicate of issue #UUM-17596

    Crash when running Editor with batch mode and vcsMode flags
  1. Resolution Note:

    This bug (and all its ports) is being handled in UUM-17597
    Duplicate of

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.