Search Issue Tracker
Active
Planned for 2021.3.X, 2022.1.X
Votes
1
Found in
2021.2.0a5
2021.2.8f1
2021.3
2022.1
2022.2
Issue ID
1396449
Regression
Yes
Unity crashes in batch mode when using -vcsMode Perforce
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [VFX/Timeline] Wrap Mode Loop is only playing VFX once
- Package Manager doesn't start on Windows 7
- Toggling "Optimize Mesh Data" in Project Settings doesn't invalidate build pipeline cache for Addressables
- [HDRP] [DXR] Shadowmatte doesn't support RT shadows
- [HDRP] TAAU@100% and TAA produces different results
Add comment