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
- Warnings in the Bug Reporter window are cut off and not truncated when the Bug Reporter window is resized to its minimum size
- Color is incorrectly applied to objects when initialized with non-normalized parameters
- SerializationUtility.GetManagedReferencesWithMissingTypes() don't return null when “Prefab has missing SerializeReference Types“ warning banner is present
- Memory leak when VFX Graph is open and Camera has "Target Texture" enabled
- The Canvas component's warning box is missing an apostrophe when Additional Shader Channels is set to "Normal" and "Tangent" with Render Mode set to "Screen Space - Overlay"
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.