Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.3.17f1
Issue ID
UUM-55775
Regression
No
Editor hangs while compiling a CI build
The Editor hangs roughly 20% of the time during Continuous Integration (CI) builds. The hang happens soon after the launch of the building process. Nothing is logged in the Editor.log file. Last lines that are logged in the project build log file are always these:
{noformat}[2023-07-18 10:26:59.656] Mono: successfully reloaded assembly
[2023-07-18 10:26:59.656] - Completed reload, in 7.858 seconds
[2023-07-18 10:26:59.656] Domain Reload Profiling:
[2023-07-18 10:26:59.656] ReloadAssembly (7859ms)
[2023-07-18 10:26:59.656] BeginReloadAssembly (151ms)
[2023-07-18 10:26:59.656] ExecutionOrderSort (0ms)
[2023-07-18 10:26:59.656] DisableScriptedObjects (7ms)
[2023-07-18 10:26:59.656] BackupInstance (0ms)
[2023-07-18 10:26:59.657] ReleaseScriptingObjects (1ms)
[2023-07-18 10:26:59.657] CreateAndSetChildDomain (34ms)
[2023-07-18 10:26:59.657] EndReloadAssembly (7570ms)
[2023-07-18 10:26:59.657] LoadAssemblies (701ms)
[2023-07-18 10:26:59.657] RebuildTransferFunctionScriptingTraits (0ms)
[2023-07-18 10:26:59.657] SetupTypeCache (750ms)
[2023-07-18 10:26:59.657] ReleaseScriptCaches (3ms)
[2023-07-18 10:26:59.657] RebuildScriptCaches (261ms)
[2023-07-18 10:26:59.657] SetupLoadedEditorAssemblies (5739ms)
[2023-07-18 10:26:59.657] LogAssemblyErrors (0ms)
[2023-07-18 10:26:59.657] InitializePlatformSupportModulesInManaged (44ms)
[2023-07-18 10:26:59.657] SetLoadedEditorAssemblies (0ms)
[2023-07-18 10:26:59.657] RefreshPlugins (297ms)
[2023-07-18 10:26:59.657] BeforeProcessingInitializeOnLoad (220ms)
[2023-07-18 10:26:59.657] ProcessInitializeOnLoadAttributes (5139ms)
[2023-07-18 10:26:59.657] ProcessInitializeOnLoadMethodAttributes (32ms)
[2023-07-18 10:26:59.657] AfterProcessingInitializeOnLoad (5ms)
[2023-07-18 10:26:59.657] EditorAssembliesLoaded (0ms)
[2023-07-18 10:26:59.657] ExecutionOrderSort2 (0ms)
[2023-07-18 10:26:59.657] AwakeInstancesAfterBackupRestoration (6ms)
[2023-07-18 10:26:59.657] Platform modules already initialized, skipping
[2023-07-18 10:26:59.657] Registering precompiled user dll's ...
[2023-07-18 10:26:59.657] Registered in 0.026388 seconds.{noformat}
The user reproduced the issue without {{-batchmode}} and was able to capture a picture (attached) of the loading dialog while it was hung.
The user added logging to both {{OnPreprocessBuild}} and all of the {{AssetPreprocessing}} Callbacks and none of them fired, so the root of the hang is before all of them.
The user pulled a full crash dump (attached) since the issue is intermittent and appears to only happen on Windows.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Memory usage rises when switching scenes with GRD enabled and a loaded texture in URP
- [Quality Hackweek] Terrain Brush Size value is not serialized after deselecting the terrain when using the first instance of multiple Inspectors
- "NullReferenceException" is thrown when setting a long string in TMP with "Atlas Population Mode" set to "Dynamic" and "Multi Atlas Textures" enabled
- TextMeshPro text is misaligned when alignment is set via script
- A DX11 shader error is thrown when compiling shaders for platforms without DX11 support
Resolution Note:
As the issue is very old and seem to be specific to user or 3rd party code, closing that one. If you feel it needs to be re-open, please do.