U6 0.24f1 LTS - hangs up randomly after changing C# scripts in VS 2022 (latest Community version)

While editing some c# script, upon saving changes, ranomly Editor hangs up on shader compliation.

image

I do not touch shader, neither any asset referencing it, just writing code in VS.

Issue begun after upgrading to 0.23f1.

Editor hangs up like this, eating up RAM and growing log file untill killed in the Task Mgr.

Looks like another race condition / jobs problem.

How to solve it?

Last log entries:

[ 894/1170  0s] ILPP-Configuration Library/ilpp-configuration.nevergeneratedoutput
[1162/1170  0s] Csc Library/Bee/artifacts/1900b0aEDbg.dag/Pp.Gameplay.dll (+2 others)
Assets\Project Platinum\Scripts\Gameplay\AI\Facing_Controller.cs(115,46): warning CS0168: The variable 'ocx' is declared but never used

Assets\Project Platinum\Scripts\Gameplay\AI\Facing_Controller.cs(162,46): warning CS0168: The variable 'ocx' is declared but never used

Assets\Project Platinum\Scripts\Gameplay\AI\Npc_Target_Sensor_Controller.cs(23,26): warning CS0414: The field 'Npc_Target_Sensor_Controller.Range' is assigned but its value is never used

Assets\Project Platinum\Scripts\Gameplay\Inventory\Inventory_Controller.cs(14,24): warning CS0414: The field 'Inventory_Controller.MaxCountPerSlot' is assigned but its value is never used

Assets\Project Platinum\Scripts\Gameplay\AI\Npc_Target_Sensor_Controller.cs(24,26): warning CS0414: The field 'Npc_Target_Sensor_Controller.BehindDetectionRangeRatio' is assigned but its value is never used
[1164/1170  0s] ILPostProcess Library/Bee/artifacts/1900b0aEDbg.dag/post-processed/Pp.Gameplay.dll (+pdb)
Processing assembly Library/Bee/artifacts/1900b0aEDbg.dag/Pp.Gameplay.dll, with 129 defines and 265 references

processors: Unity.Jobs.CodeGen.JobsILPostProcessor, zzzUnity.Burst.CodeGen.BurstILPostProcessor

running Unity.Jobs.CodeGen.JobsILPostProcessor

running zzzUnity.Burst.CodeGen.BurstILPostProcessor
[1165/1170  0s] ILPostProcess Library/Bee/artifacts/1900b0aEDbg.dag/post-processed/Assembly-CSharp-Editor.dll (+pdb)
Processing assembly Library/Bee/artifacts/1900b0aEDbg.dag/Assembly-CSharp-Editor.dll, with 130 defines and 341 references

processors: Unity.Jobs.CodeGen.JobsILPostProcessor, zzzUnity.Burst.CodeGen.BurstILPostProcessor

running Unity.Jobs.CodeGen.JobsILPostProcessor

running zzzUnity.Burst.CodeGen.BurstILPostProcessor
[1166/1170  0s] CopyFiles Library/ScriptAssemblies/Pp.Gameplay.pdb
[1169/1170  0s] CopyFiles Library/ScriptAssemblies/Pp.Gameplay.dll
*** Tundra build success (0.39 seconds), 6 items updated, 1170 evaluated
Assets\Project Platinum\Scripts\Gameplay\AI\Facing_Controller.cs(115,46): warning CS0168: The variable 'ocx' is declared but never used
Assets\Project Platinum\Scripts\Gameplay\AI\Facing_Controller.cs(162,46): warning CS0168: The variable 'ocx' is declared but never used
Assets\Project Platinum\Scripts\Gameplay\AI\Npc_Target_Sensor_Controller.cs(23,26): warning CS0414: The field 'Npc_Target_Sensor_Controller.Range' is assigned but its value is never used
Assets\Project Platinum\Scripts\Gameplay\Inventory\Inventory_Controller.cs(14,24): warning CS0414: The field 'Inventory_Controller.MaxCountPerSlot' is assigned but its value is never used
Assets\Project Platinum\Scripts\Gameplay\AI\Npc_Target_Sensor_Controller.cs(24,26): warning CS0414: The field 'Npc_Target_Sensor_Controller.BehindDetectionRangeRatio' is assigned but its value is never used
Reloading assemblies after finishing script compilation.
Reloading assemblies after forced synchronous recompile.
Begin MonoManager ReloadAssembly
Total cache size 264560476
Total cache size after purge 264560476, took 00:00:00.1404571
Unloading 0 Unused Serialized files (Serialized files now loaded: 0)
Unloading 166 unused Assets / (40.4 KB). Loaded Objects now: 12418.
Memory consumption went from 0.55 GB to 0.55 GB.
Total: 46.047300 ms (FindLiveObjects: 15.553800 ms CreateObjectMapping: 0.493800 ms MarkObjects: 29.563900 ms  DeleteObjects: 0.435200 ms)

- Loaded All Assemblies, in  1.220 seconds
Refreshing native plugins compatible for Editor in 0.80 ms, found 5 plugins.
Native extension for WindowsStandalone target not found
[MODES] ModeService[none].Initialize
[MODES] ModeService[none].LoadModes
Mono: successfully reloaded assembly
- Finished resetting the current domain, in  1.848 seconds
Domain Reload Profiling: 3071ms
	BeginReloadAssembly (961ms)
		ExecutionOrderSort (0ms)
		DisableScriptedObjects (194ms)
		BackupInstance (0ms)
		ReleaseScriptingObjects (0ms)
		CreateAndSetChildDomain (518ms)
	RebuildCommonClasses (20ms)
	RebuildNativeTypeToScriptingClass (8ms)
	initialDomainReloadingComplete (15ms)
	LoadAllAssembliesAndSetupDomain (219ms)
		LoadAssemblies (95ms)
		RebuildTransferFunctionScriptingTraits (0ms)
		AnalyzeDomain (177ms)
			TypeCache.Refresh (8ms)
				TypeCache.ScanAssembly (1ms)
			BuildScriptInfoCaches (156ms)
			ResolveRequiredComponents (9ms)
	FinalizeReload (1848ms)
		ReleaseScriptCaches (0ms)
		RebuildScriptCaches (0ms)
		SetupLoadedEditorAssemblies (717ms)
			LogAssemblyErrors (0ms)
			InitializePlatformSupportModulesInManaged (9ms)
			SetLoadedEditorAssemblies (4ms)
			BeforeProcessingInitializeOnLoad (229ms)
			ProcessInitializeOnLoadAttributes (399ms)
			ProcessInitializeOnLoadMethodAttributes (72ms)
			AfterProcessingInitializeOnLoad (4ms)
			EditorAssembliesLoaded (0ms)
		ExecutionOrderSort2 (0ms)
		AwakeInstancesAfterBackupRestoration (648ms)
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: '47b6bead34662fb523d53f56e2f05c15') in 0.58643 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: '40b946fc62ff9adcbe23af75f7c2b3db') in 0.16195 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: '95f29f49b07d3cb8d44992b2b4ff70a7') in 0.1601382 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: '84d7014580456e3892fc7dd743440f7a') in 0.1580233 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: 'e2f465779290ba4cfc663057e02a9aa0') in 0.163096 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: '693639c598596450918d18d7cdd6e7b3') in 0.2079738 seconds

...goes like this forver, until killed


Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter)Unexpected transport error from import worker 0. code=10054 error=Istniej ce po  czenie zosta o gwa townie zamkni te przez zdalnego hosta.
[OnDemand] Worker 0: WorkerState(Connected), ImporterState(Idle) session transport - while handling artifactKey Guid(00000000000000000000000000000000) Importer(-2,00000000000000000000000000000000) - path  - see Logs/AssetImportWorker0.log
Unexpected transport error from import worker 1. code=10054 error=Istniej ce po  czenie zosta o gwa townie zamkni te przez zdalnego hosta.
[OnDemand] Worker 1: WorkerState(Connected), ImporterState(Idle) session transport - while handling artifactKey Guid(00000000000000000000000000000000) Importer(-2,00000000000000000000000000000000) - path  - see Logs/AssetImportWorker1.log
 -> (artifact id: '7d1036af7396168656bb06c237ec5b19') in 0.19596 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: '5219ccd9f938413628e6503d58750082') in 0.1941378 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: 'f492c41984e124641f7a1f4cada20dbe') in 0.3587362 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter)Shut down.

I have the same problem, it hangs up very often, sometimes after saving C# scripts, saving a prefab or entering play mode. It only started happening after upgrading my project from Unity 2022.3.50f, and it happens with both Unity versions 6.0000.23f and 6.0000.24f.

Here are 2 images of shaders it hangs on:


shader-variants

Here’s the main thread logs from Process Explorer:

ntoskrnl.exe!KeSaveStateForHibernate+0x7d66
ntoskrnl.exe!KeWaitForMultipleObjects+0x3428
ntoskrnl.exe!KeWaitForMultipleObjects+0x2170
ntoskrnl.exe!KeWaitForSingleObject+0x7a4
ntoskrnl.exe!KeCopyAffinityEx2+0x178c
ntoskrnl.exe!PsIsThreadTerminating+0xf19
ntoskrnl.exe!KeWaitForMultipleObjects+0x34d5
ntoskrnl.exe!KeWaitForMultipleObjects+0x2170
ntoskrnl.exe!KeWaitForSingleObject+0x7a4
ntoskrnl.exe!ObWaitForSingleObject+0xbf
ntoskrnl.exe!NtWaitForSingleObject+0x6a
ntoskrnl.exe!setjmpex+0x91f8
ntdll.dll!NtWaitForSingleObject+0x14
KERNELBASE.dll!WaitForSingleObjectEx+0xaf
Unity.dll!Win32NamedPipesIPC::WaitForPendingIO+0x31
Unity.dll!PAL_LocalIPC_ReadSynchronous+0xeb
Unity.dll!Read+0x6c
Unity.dll!ReadHeader+0x2e
Unity.dll!shadercompiler::ReadLine+0x3b
Unity.dll!ShaderCompilerPreprocess+0x2c0
Unity.dll!DoShaderImportProcessing+0x39b
Unity.dll!ShaderImporter::UpdateShaderWithSource+0xbe
Unity.dll!ShaderImporter::CreateShaderAssetFromScript+0x18b
Unity.dll!ShaderUtil_CUSTOM_CreateShaderAsset+0x173
0x0000000000000000

I hope this gets fixed very soon as the editor is becoming unusable, this happens once or twice per hour.

OK, so this becomes unbearable - over 10 times within 2 hours I got this thing freezing Editor and task kill is only option.

Again, some random shader compilation freeze, each time c# file is saved.

Unity - what’s going on with the parallel programming in your teams - it’s a constant downhill since U6. I never experienced such behavior over last 5 years!

Is anything being done with this?

Version 0.25f it’s still a problem - after editing code in VS Editor hangs up and eats memory uncontrollably.

image

image

I’m not going to pay my pro license fee for this month - It’s IMPOSSIBLE to work like this! Every second, third time I save the file and switch back to the Editor, during asset db refresh it hangs up like this!

Asset Pipeline Refresh (id=ef26f137b0f81e243b35e75ae9ff2b36): Total: 3.304 seconds - Initiated by StopAssetImportingV2(ForceSynchronousImport | ForceDomainReload)
	Summary:
		Imports: total=0 (actual=0, local cache=0, cache server=0)
		Asset DB Process Time: managed=0 ms, native=2012 ms
		Asset DB Callback time: managed=20 ms, native=0 ms
		Scripting: domain reloads=1, domain reload time=1269 ms, compile time=1 ms, other=0 ms
		Project Asset Count: scripts=1892, non-scripts=4138
		Asset File Changes: new=0, changed=0, moved=0, deleted=0
		Scan Filter Count: 0
	InvokeCustomDependenciesCallbacks: 0.001ms
	InvokePackagesCallback: 1.423ms
	ApplyChangesToAssetFolders: 0.389ms
	Scan: 0.000ms
	OnSourceAssetsModified: 0.002ms
	CategorizeAssetsWithTransientArtifact: 0.002ms
	ProcessAssetsWithTransientArtifactChanges: 6.561ms
	CategorizeAssets: 67.581ms
	ImportOutOfDateAssets: 1915.727ms (1910.600ms without children)
		CompileScripts: 1.070ms
		CollectScriptTypesHashes: 1.176ms
		ReloadNativeAssets: 1.894ms
		UnloadImportedAssets: 0.124ms
		EnsureUptoDateAssetsAreRegisteredWithGuidPM: 0.519ms
		InitializingProgressBar: 0.000ms
		PostProcessAllAssetNotificationsAddChangedAssets: 0.000ms
		OnDemandSchedulerStart: 0.344ms
	PostProcessAllAssets: 20.029ms
	GatherAllCurrentPrimaryArtifactRevisions: 0.152ms
	UnloadStreamsBegin: 0.001ms
	PersistCurrentRevisions: 0.111ms
	UnloadStreamsEnd: 0.000ms
	GenerateScriptTypeHashes: 4.516ms
	Untracked: 1291.763ms

[Licensing::Client] Successfully resolved entitlement details
[ScriptCompilation] Requested script compilation because: Assetdatabase observed changes in script compilation related files
AssetDatabase: script compilation time: 0.000580s
Refreshing native plugins compatible for Editor in 0.84 ms, found 4 plugins.
Preloading 0 native plugins for Editor in 0.00 ms.
Asset Pipeline Refresh (id=495bd310b9e1cac41b255bb34aa16ccc): Total: 0.079 seconds - Initiated by RefreshV2(NoUpdateAssetOptions)
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/2 POST http://ilpp/UnityILPP.PostProcessing/Ping application/grpc -
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
      Executing endpoint 'gRPC - /UnityILPP.PostProcessing/Ping'
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
      Executed endpoint 'gRPC - /UnityILPP.PostProcessing/Ping'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished HTTP/2 POST http://ilpp/UnityILPP.PostProcessing/Ping application/grpc - - 200 - application/grpc 0.1329ms
Starting: F:\Program Files\Unity\Editor\6000.0.25f1\Editor\Data\bee_backend.exe --dont-print-to-structured-log --ipc --defer-dag-verification --dagfile="Library/Bee/1900b0aEDbg.dag" --continue-on-failure --profile="Library/Bee/backend1.traceevents" ScriptAssemblies
WorkingDir: E:/Unity/Project Platinum
[Worker0] Start importing Assets/Project Platinum/Prefabs/Gameplay/Fps_Player_Controller_v3 Moar Aggr Mvmt.prefab using Guid(65bbfd8c6bc25164b8ba7fd0df182fd4) Importer(815301076,1909f56bfc062723c751e8b465ee728b) 
[Worker0] (PreviewImporter)
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/2 POST http://ilpp/UnityILPP.PostProcessing/ConfigurePostProcessors application/grpc -
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
      Executing endpoint 'gRPC - /UnityILPP.PostProcessing/ConfigurePostProcessors'
info: Unity.ILPP.Runner.PostProcessingAssemblyLoadContext[0]
      Current configuration matches the requested one, skipping
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
      Executed endpoint 'gRPC - /UnityILPP.PostProcessing/ConfigurePostProcessors'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished HTTP/2 POST http://ilpp/UnityILPP.PostProcessing/ConfigurePostProcessors application/grpc - - 200 - application/grpc 0.5999ms
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/2 POST http://ilpp/UnityILPP.PostProcessing/PostProcessAssembly application/grpc -
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
      Executing endpoint 'gRPC - /UnityILPP.PostProcessing/PostProcessAssembly'
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/2 POST http://ilpp/UnityILPP.PostProcessing/PostProcessAssembly application/grpc -
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
      Executing endpoint 'gRPC - /UnityILPP.PostProcessing/PostProcessAssembly'
info: Unity.ILPP.Runner.PostProcessingPipeline[0]
      Processing assembly Library/Bee/artifacts/1900b0aEDbg.dag/Assembly-CSharp-Editor.dll, with 130 defines and 340 references
info: Unity.ILPP.Runner.PostProcessingPipeline[0]
      Processing assembly Library/Bee/artifacts/1900b0aEDbg.dag/Pp.Gameplay.dll, with 129 defines and 265 references
info: Unity.ILPP.Runner.PostProcessingPipeline[0]
      processors: Unity.Jobs.CodeGen.JobsILPostProcessor, zzzUnity.Burst.CodeGen.BurstILPostProcessor
info: Unity.ILPP.Runner.PostProcessingPipeline[0]
      processors: Unity.Jobs.CodeGen.JobsILPostProcessor, zzzUnity.Burst.CodeGen.BurstILPostProcessor
info: Unity.ILPP.Runner.PostProcessingPipeline[0]
      running Unity.Jobs.CodeGen.JobsILPostProcessor
info: Unity.ILPP.Runner.PostProcessingPipeline[0]
      running Unity.Jobs.CodeGen.JobsILPostProcessor
info: Unity.ILPP.Runner.PostProcessingPipeline[0]
      running zzzUnity.Burst.CodeGen.BurstILPostProcessor
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
      Executed endpoint 'gRPC - /UnityILPP.PostProcessing/PostProcessAssembly'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished HTTP/2 POST http://ilpp/UnityILPP.PostProcessing/PostProcessAssembly application/grpc - - 200 - application/grpc 1.3121ms
info: Unity.ILPP.Runner.PostProcessingPipeline[0]
      running zzzUnity.Burst.CodeGen.BurstILPostProcessor
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
      Executed endpoint 'gRPC - /UnityILPP.PostProcessing/PostProcessAssembly'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished HTTP/2 POST http://ilpp/UnityILPP.PostProcessing/PostProcessAssembly application/grpc - - 200 - application/grpc 18.0529ms
ExitCode: 0 Duration: 0s435ms
[ 887/1160  0s] ILPP-Configuration Library/ilpp-configuration.nevergeneratedoutput
[1152/1160  0s] Csc Library/Bee/artifacts/1900b0aEDbg.dag/Pp.Gameplay.dll (+2 others)
Assets\Project Platinum\Scripts\Gameplay\AI\Facing_Controller.cs(115,46): warning CS0168: The variable 'ocx' is declared but never used

Assets\Project Platinum\Scripts\Gameplay\AI\Facing_Controller.cs(162,46): warning CS0168: The variable 'ocx' is declared but never used

Assets\Project Platinum\Scripts\Gameplay\AI\Npc_Target_Sensor_Controller.cs(23,26): warning CS0414: The field 'Npc_Target_Sensor_Controller.Range' is assigned but its value is never used

Assets\Project Platinum\Scripts\Gameplay\AI\Npc_Target_Sensor_Controller.cs(24,26): warning CS0414: The field 'Npc_Target_Sensor_Controller.BehindDetectionRangeRatio' is assigned but its value is never used

Assets\Project Platinum\Scripts\Gameplay\Inventory\Inventory_Controller.cs(14,24): warning CS0414: The field 'Inventory_Controller.MaxCountPerSlot' is assigned but its value is never used
[1154/1160  0s] ILPostProcess Library/Bee/artifacts/1900b0aEDbg.dag/post-processed/Pp.Gameplay.dll (+pdb)
Processing assembly Library/Bee/artifacts/1900b0aEDbg.dag/Pp.Gameplay.dll, with 129 defines and 265 references

processors: Unity.Jobs.CodeGen.JobsILPostProcessor, zzzUnity.Burst.CodeGen.BurstILPostProcessor

running Unity.Jobs.CodeGen.JobsILPostProcessor

running zzzUnity.Burst.CodeGen.BurstILPostProcessor
[1155/1160  0s] CopyFiles Library/ScriptAssemblies/Pp.Gameplay.pdb
[1156/1160  0s] ILPostProcess Library/Bee/artifacts/1900b0aEDbg.dag/post-processed/Assembly-CSharp-Editor.dll (+pdb)
Processing assembly Library/Bee/artifacts/1900b0aEDbg.dag/Assembly-CSharp-Editor.dll, with 130 defines and 340 references

processors: Unity.Jobs.CodeGen.JobsILPostProcessor, zzzUnity.Burst.CodeGen.BurstILPostProcessor

running Unity.Jobs.CodeGen.JobsILPostProcessor

running zzzUnity.Burst.CodeGen.BurstILPostProcessor
[1159/1160  0s] CopyFiles Library/ScriptAssemblies/Pp.Gameplay.dll
*** Tundra build success (0.41 seconds), 6 items updated, 1160 evaluated
Assets\Project Platinum\Scripts\Gameplay\AI\Facing_Controller.cs(115,46): warning CS0168: The variable 'ocx' is declared but never used
Assets\Project Platinum\Scripts\Gameplay\AI\Facing_Controller.cs(162,46): warning CS0168: The variable 'ocx' is declared but never used
Assets\Project Platinum\Scripts\Gameplay\AI\Npc_Target_Sensor_Controller.cs(23,26): warning CS0414: The field 'Npc_Target_Sensor_Controller.Range' is assigned but its value is never used
Assets\Project Platinum\Scripts\Gameplay\AI\Npc_Target_Sensor_Controller.cs(24,26): warning CS0414: The field 'Npc_Target_Sensor_Controller.BehindDetectionRangeRatio' is assigned but its value is never used
Assets\Project Platinum\Scripts\Gameplay\Inventory\Inventory_Controller.cs(14,24): warning CS0414: The field 'Inventory_Controller.MaxCountPerSlot' is assigned but its value is never used
Reloading assemblies after finishing script compilation.
Reloading assemblies after forced synchronous recompile.
Begin MonoManager ReloadAssembly
Unloading 0 Unused Serialized files (Serialized files now loaded: 0)
Unloading 259 unused Assets / (17.8 KB). Loaded Objects now: 12509.
Memory consumption went from 0.55 GB to 0.55 GB.
Total: 23.721300 ms (FindLiveObjects: 0.873000 ms CreateObjectMapping: 0.238000 ms MarkObjects: 22.123400 ms  DeleteObjects: 0.486000 ms)

Unloading 0 Unused Serialized files (Serialized files now loaded: 0)
Unloading 0 unused Assets / (107.3 KB). Loaded Objects now: 12509.
Memory consumption went from 0.55 GB to 0.55 GB.
Total: 20.114000 ms (FindLiveObjects: 0.454300 ms CreateObjectMapping: 0.186400 ms MarkObjects: 19.461500 ms  DeleteObjects: 0.011000 ms)

Total cache size 265157228
Total cache size after purge 265157228, took 00:00:00.4741620
- Loaded All Assemblies, in  1.371 seconds
Refreshing native plugins compatible for Editor in 0.79 ms, found 4 plugins.
Native extension for WindowsStandalone target not found
[MODES] ModeService[none].Initialize
[MODES] ModeService[none].LoadModes
Mono: successfully reloaded assembly
- Finished resetting the current domain, in  1.900 seconds
Domain Reload Profiling: 3274ms
	BeginReloadAssembly (1119ms)
		ExecutionOrderSort (0ms)
		DisableScriptedObjects (160ms)
		BackupInstance (0ms)
		ReleaseScriptingObjects (0ms)
		CreateAndSetChildDomain (538ms)
	RebuildCommonClasses (19ms)
	RebuildNativeTypeToScriptingClass (8ms)
	initialDomainReloadingComplete (14ms)
	LoadAllAssembliesAndSetupDomain (213ms)
		LoadAssemblies (95ms)
		RebuildTransferFunctionScriptingTraits (0ms)
		AnalyzeDomain (172ms)
			TypeCache.Refresh (8ms)
				TypeCache.ScanAssembly (1ms)
			BuildScriptInfoCaches (151ms)
			ResolveRequiredComponents (9ms)
	FinalizeReload (1901ms)
		ReleaseScriptCaches (0ms)
		RebuildScriptCaches (0ms)
		SetupLoadedEditorAssemblies (676ms)
			LogAssemblyErrors (0ms)
			InitializePlatformSupportModulesInManaged (9ms)
			SetLoadedEditorAssemblies (4ms)
			BeforeProcessingInitializeOnLoad (211ms)
			ProcessInitializeOnLoadAttributes (381ms)
			ProcessInitializeOnLoadMethodAttributes (67ms)
			AfterProcessingInitializeOnLoad (4ms)
			EditorAssembliesLoaded (0ms)
		ExecutionOrderSort2 (0ms)
		AwakeInstancesAfterBackupRestoration (626ms)
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: '7bdc62309050375baab14ca426aa37ad') in 0.5731297 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: 'a8e864aa06fa8bed63362b2c24786198') in 0.3057223 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: '58f09f00d6fd09d030d0bce1c6afac3d') in 0.1569427 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: '87fc2a4d09bdaee68eee252431325eba') in 0.1602246 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: '5286ba52c876ec799da9d35dea774028') in 0.1574518 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: '7a2f371f8f89709752191933fe528e76') in 0.1564316 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: '578a00872d8d1fa70252a8d7e3b66407') in 0.155443 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: 'ec3a7ece53b4a4b18f5903e38df92726') in 0.1508094 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: '5edb2027ca468f136a4fc5e7476890f2') in 0.2018226 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: 'd154614779a8afdb0ba738ac10c3219b') in 0.2173424 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: '9dbbf523cd1df3eb588a4dc5465451af') in 0.1504439 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: 'e495737562a17eccf9df3d7040942841') in 0.1490895 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: '32d66f869036d6541007ca4aa6d0822e') in 0.1504786 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: '4af383176420e0fda56e4ba7e364490e') in 0.1491401 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: '3d4f0841cca0ab72182d3464d0b760a9') in 0.1496837 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: 'e33bcfc6761ef7da9a59ee326869aeef') in 0.1498845 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: 'dd7f6ce198c3cc9f04e1be67df1e9f35') in 0.2679109 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: '417f13b364b7c70eb23c716afc499dd4') in 0.1511745 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: '15c742427b8432e591167ea1f2edcf3d') in 0.1496602 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: 'ed04caa3d36e05c9f714c0cb9f44a924') in 0.152336 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: 'fb78b345b76bbe9d9d2afc91e3ce7fcd') in 0.1501159 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: '25ea02356399ce2683a7a789d81954df') in 0.1485716 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: '5efd110b81ca0e937e3def8600f29589') in 0.1501889 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: '88027a003282120e703fc815022eb66d') in 0.2647617 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: '8f40268a16affdb13080b628d336f5c7') in 0.1559628 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: 'c9fe3a0d652fb4ce9282aa8ef27426dd') in 0.1515619 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: '432f45d40f17180b3bdca7e4b70fb0d3') in 0.1482787 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: 'd43d4829ca4313cfe37650b2ecb9a4c2') in 0.1496279 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: 'd2ffac5d92aa053e8d33faa45135b739') in 0.1511351 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: 'ed576b68351998afd5f2875f6572cf67') in 0.1505243 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: '9a0ecbe45c9f4b0b9b1f51b300134127') in 0.1901219 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: 'aa78892e8d3401583ca58171724b6051') in 0.2278118 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: '905668fc78d184c58a6a46af388d79cd') in 0.1533445 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: 'd862201472e8355aecc01b10c9a7ef4a') in 0.1482831 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: 'b7af5cc2b52e3d90fab5f09b623d3b10') in 0.1514322 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: '97252bbb74ee7a69c3c4b6291718e8f8') in 0.1498782 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: '3d113f8a39f559d635e164cbb52bfad6') in 0.1493104 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: '09a35bc5c3235e40fc76ca751f9498b0') in 0.1500675 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: '1e779d057e6afc4984bc70ccf673db07') in 0.2753348 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: '69b19709a8cea5a484ffd1771de6bd96') in 0.1496379 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: 'e8293132d2085d1d617c570276d8876d') in 0.1502438 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: '81527cba849da7bc17d4507bdc510ea3') in 0.1518052 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: 'a09492653f38479391fedc1138787b54') in 0.1523977 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: '8366d2d624fe74bdabfc6d93ffd02a93') in 0.1522015 seconds
Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph using Guid(70808a0387434ac4abbaa84e1dc16e5b) (ScriptedImporter) -> (artifact id: 'd58b6ee0ef9c90f61283a299611c1b4c') in 0.1517882 seconds

So, Unity, you’re going just to ignore this issue?

What’s being done to fix it? It’s over a month now.

I have also updated to version 0.25f and it stopped happening for about a week, then it started again today, 3 times in a single hour.

It seems to start happening after importing a new package that includes shader graph shaders, it doesn’t specifically hang on the new shader but that’s the only difference I can think about since updating to the new version.

This is really becoming disruptive now.

Problem still persist in 0.28f version - Unity?

Start importing Assets/Project Platinum/Shaders/unlit_Ps_Simple_Smoke_v2.shadergraph

It seems to be occurring with a specific shader graph. I suspect that this asset might be corrupted.
Have you tried deleting this asset or replacing it with a newly created version?

Once it was created it was never touched or edited and it’s been used in specific prefab nobody modified either.

You think it got corrupted somehow, may be during version chnage? :thinking:

I will try to edit it / replace but if it’s the case then it’s even more worrisome as it means assets got screwed by Editor behind the scenes.

Lets collate the threads since this is the same issue.

Is this a project you upgraded to unity 6?

If so I reccomend making a new project file, and moving over assets with the new project defaults in place.

Simply upgrading to unity 6 causes a lot of problems cause things are so different. I remember having some kind of issue like this when I did it.

But after I did the former process when i properly moved over.

Honestly without a repro project and a bug report the chances of them fixing this is very slim. I don’t have this issue and my project is quite large with a lot of assets. I think the only memeory leak i’ve encountered is using debug mode with hot reload, but that’s with unity being open for days.

is just me or it attempts to import the shader give it a pair artefact, fails and tries again forever?

I have done this twice now. Both time to whatever latest unity 6 version was latest. - the issue mantains.