Project not opening in editor

My project will not open anymore in the editor. It show the loading screen then close to the hub again with no error message

Mono path[0] = 'C:/Program Files/Unity/Hub/Editor/6000.0.28f1/Editor/Data/Managed'
Mono path[1] = 'C:/Program Files/Unity/Hub/Editor/6000.0.28f1/Editor/Data/MonoBleedingEdge/lib/mono/unityjit-win32'
Mono config path = 'C:/Program Files/Unity/Hub/Editor/6000.0.28f1/Editor/Data/MonoBleedingEdge/etc'
Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,server=y,suspend=n,address=127.0.0.1:56796
Using cacheserver namespaces - metadata:defaultmetadata, artifacts:defaultartifacts
Using cacheserver namespaces - metadata:defaultmetadata, artifacts:defaultartifacts
ImportWorker Server TCP listen port: 0
AcceleratorClientConnectionCallback - disconnected - :0
Begin MonoManager ReloadAssembly
Registering precompiled unity dll's ...
Register platform support module: C:/Program Files/Unity/Hub/Editor/6000.0.28f1/Editor/Data/PlaybackEngines/WindowsStandaloneSupport/UnityEditor.WindowsStandalone.Extensions.dll
Registered in 0.003237 seconds.
- Loaded All Assemblies, in  0.311 seconds
Native extension for WindowsStandalone target not found
Mono: successfully reloaded assembly
- Finished resetting the current domain, in  0.262 seconds
Domain Reload Profiling: 569ms
	BeginReloadAssembly (108ms)
		ExecutionOrderSort (0ms)
		DisableScriptedObjects (0ms)
		BackupInstance (0ms)
		ReleaseScriptingObjects (0ms)
		CreateAndSetChildDomain (1ms)
	RebuildCommonClasses (29ms)
	RebuildNativeTypeToScriptingClass (9ms)
	initialDomainReloadingComplete (46ms)
	LoadAllAssembliesAndSetupDomain (115ms)
		LoadAssemblies (104ms)
		RebuildTransferFunctionScriptingTraits (0ms)
		AnalyzeDomain (113ms)
			TypeCache.Refresh (112ms)
				TypeCache.ScanAssembly (102ms)
			BuildScriptInfoCaches (0ms)
			ResolveRequiredComponents (0ms)
	FinalizeReload (262ms)
		ReleaseScriptCaches (0ms)
		RebuildScriptCaches (0ms)
		SetupLoadedEditorAssemblies (235ms)
			LogAssemblyErrors (0ms)
			InitializePlatformSupportModulesInManaged (22ms)
			SetLoadedEditorAssemblies (3ms)
			BeforeProcessingInitializeOnLoad (5ms)
			ProcessInitializeOnLoadAttributes (149ms)
			ProcessInitializeOnLoadMethodAttributes (53ms)
			AfterProcessingInitializeOnLoad (2ms)
			EditorAssembliesLoaded (0ms)
		ExecutionOrderSort2 (0ms)
		AwakeInstancesAfterBackupRestoration (0ms)
[Licensing::Client] Successfully resolved entitlement details
Application.AssetDatabase Initial Refresh Start
info: Microsoft.Hosting.Lifetime[14]
      Now listening on: http://localhost:80
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: C:\Users\johnv\RCM\Rugby Career Manager\
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 36.2330ms
Starting: C:\Program Files\Unity\Hub\Editor\6000.0.28f1\Editor\Data\bee_backend.exe --dont-print-to-structured-log --ipc --defer-dag-verification --dagfile="Library/Bee/1900b0aE.dag" --continue-on-failure --profile="Library/Bee/backend1.traceevents" ScriptAssemblies
WorkingDir: C:/Users/johnv/RCM/Rugby Career Manager
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'
warn: Unity.ILPP.Runner.PostProcessingAssemblyLoadContext[0]
      Assembly system.runtime.interopservices.windowsruntime has duplicate hint path. Ignoring "C:\Program Files\Unity\Hub\Editor\6000.0.28f1\Editor\Data\UnityReferenceAssemblies\unity-4.8-api\Facades\System.Runtime.InteropServices.WindowsRuntime.dll" in favor of "C:\Program Files\Unity\Hub\Editor\6000.0.28f1\Editor\Data\NetStandard\Extensions\2.0.0\System.Runtime.InteropServices.WindowsRuntime.dll"
warn: Unity.ILPP.Runner.PostProcessingAssemblyLoadContext[0]
      Assembly system.componentmodel.composition has duplicate hint path. Ignoring "C:\Program Files\Unity\Hub\Editor\6000.0.28f1\Editor\Data\UnityReferenceAssemblies\unity-4.8-api\System.ComponentModel.Composition.dll" in favor of "C:\Program Files\Unity\Hub\Editor\6000.0.28f1\Editor\Data\NetStandard\compat\2.1.0\shims\netfx\System.ComponentModel.Composition.dll"
info: Unity.ILPP.Runner.PostProcessingAssemblyLoadContext[0]
      Resolved Unity.Burst.Cecil, Version=0.11.4.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e with Library\PackageCache\com.unity.burst\Unity.Burst.CodeGen\Unity.Burst.Cecil.dll
info: Unity.ILPP.Runner.PostProcessingAssemblyLoadContext[0]
      Resolved Mono.Cecil, Version=0.11.4.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e with Library\PackageCache\com.unity.nuget.mono-cecil\Mono.Cecil.dll
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 40.5694ms
ExitCode: 0 Duration: 0s235ms
[518/645    0s] ILPP-Configuration Library/ilpp-configuration.nevergeneratedoutput
*** Tundra build success (0.21 seconds), 1 items updated, 645 evaluated
AssetDatabase: script compilation time: 0.642388s
Begin MonoManager ReloadAssembly
- Loaded All Assemblies, in  0.843 seconds
Refreshing native plugins compatible for Editor in 2.45 ms, found 5 plugins.
Native extension for WindowsStandalone target not found
Mono: successfully reloaded assembly
- Finished resetting the current domain, in  2.025 seconds
Domain Reload Profiling: 2862ms
	BeginReloadAssembly (439ms)
		ExecutionOrderSort (0ms)
		DisableScriptedObjects (10ms)
		BackupInstance (0ms)
		ReleaseScriptingObjects (0ms)
		CreateAndSetChildDomain (129ms)
	RebuildCommonClasses (28ms)
	RebuildNativeTypeToScriptingClass (9ms)
	initialDomainReloadingComplete (26ms)
	LoadAllAssembliesAndSetupDomain (335ms)
		LoadAssemblies (274ms)
		RebuildTransferFunctionScriptingTraits (0ms)
		AnalyzeDomain (144ms)
			TypeCache.Refresh (104ms)
				TypeCache.ScanAssembly (96ms)
			BuildScriptInfoCaches (34ms)
			ResolveRequiredComponents (4ms)
	FinalizeReload (2025ms)
		ReleaseScriptCaches (0ms)
		RebuildScriptCaches (0ms)
		SetupLoadedEditorAssemblies (1839ms)
			LogAssemblyErrors (0ms)
			InitializePlatformSupportModulesInManaged (15ms)
			SetLoadedEditorAssemblies (3ms)
			BeforeProcessingInitializeOnLoad (79ms)
			ProcessInitializeOnLoadAttributes (1697ms)
			ProcessInitializeOnLoadMethodAttributes (35ms)
			AfterProcessingInitializeOnLoad (9ms)
			EditorAssembliesLoaded (0ms)
		ExecutionOrderSort2 (0ms)
		AwakeInstancesAfterBackupRestoration (6ms)
Asset Pipeline Refresh (id=bf257c7d1eb47814e99602eb546dce1b): Total: 3.902 seconds - Initiated by InitialRefreshV2(ForceSynchronousImport)
	Summary:
		Imports: total=0 (actual=0, local cache=0, cache server=0)
		Asset DB Process Time: managed=0 ms, native=2309 ms
		Asset DB Callback time: managed=16 ms, native=0 ms
		Scripting: domain reloads=1, domain reload time=888 ms, compile time=644 ms, other=41 ms
		Project Asset Count: scripts=884, non-scripts=1594
		Asset File Changes: new=0, changed=0, moved=0, deleted=0
		Scan Filter Count: 0
	InvokeCustomDependenciesCallbacks: 0.001ms
	InvokePackagesCallback: 2.100ms
	ApplyChangesToAssetFolders: 0.335ms
	Scan: 64.082ms
	OnSourceAssetsModified: 0.002ms
	CategorizeAssetsWithTransientArtifact: 46.186ms
	ProcessAssetsWithTransientArtifactChanges: 38.292ms
	CategorizeAssets: 18.687ms
	ImportOutOfDateAssets: 2034.352ms (1388.631ms without children)
		CompileScripts: 644.272ms
		ReloadNativeAssets: 0.001ms
		UnloadImportedAssets: 0.916ms
		EnsureUptoDateAssetsAreRegisteredWithGuidPM: 0.283ms
		InitializingProgressBar: 0.000ms
		PostProcessAllAssetNotificationsAddChangedAssets: 0.000ms
		OnDemandSchedulerStart: 0.249ms
	PostProcessAllAssets: 16.927ms
	GatherAllCurrentPrimaryArtifactRevisions: 0.000ms
	UnloadStreamsBegin: 0.230ms
	PersistCurrentRevisions: 0.054ms
	UnloadStreamsEnd: 0.001ms
	GenerateScriptTypeHashes: 1.331ms
	Untracked: 1680.541ms

Application.AssetDatabase Initial Refresh End
Scanning for USB devices : 31.054ms
Initializing Unity extensions:
[Licensing::Client] Successfully resolved entitlement details
[MODES] ModeService[none].Initialize
[MODES] ModeService[none].LoadModes
[MODES] Loading mode Default (0) for mode-current-id-Rugby Career Manager
e[31merrore[39m:   Unexpected error during IPC communication:

I’d try the following:

  • Can you still open another project or create a new project?
  • Maybe try deleting the Library folder.
  • Do you have source control? Can you rollback the project?
  • If you don’t have source control and deleting the library folder doesn’t work then it might be worth making a new project and transferring the files over to it.

Can you still open another project or create a new project?

  • I can create a new project. If I open a script from the explorer and create a error I am also able to open the project in safe mode and normal mode. But there is no other errors. Have recreated the project multiply times as well.

Maybe try deleting the Library folder.

  • Have done this, had no effect.

Do you have source control? Can you rollback the project?
If you don’t have source control and deleting the library folder doesn’t work then it might be worth making a new project and transferring the files over to it.

  • Don’t have source control. I have copied to a new project the moment I try and open my game scene it crashes.

Strange, I haven’t had this issue before in the past. It does mention something about a IPC error. This post says that Unity wont work with a network shared folder. Unity Hub does not Launch (Critical Error Encountered) v 3.0.1 2022 (Manually Solved)

Looks like you’re already using the latest version of Unity. Maybe try upgrading UnityHub. You might have to try gradually moving parts of your project over to a new project to find where it breaks. I’m guessing it’s not related to your c# code. Maybe it’s from a third party package. Was this project maybe upgraded to a new version of Unity.

It could be worth looking at some kind of source control to avoid future issues. Github is probably the best but if you only want to have a local backup then TortoiseSVN is quite easy to use. Even just zipping the project every few days is better than nothing.

Thanks,

I’ll start taking it apart now the only third party package I am using is LeanTween for animation. Have removed it and installed again as well.

I made a backup of my files about a month ago and stored it on my google drive, it will still be a lot of lost work but still better than losing a 4 year old project I guess. Thanks for the help

Update: Issue Solved

I managed to pinpoint the issue! It turns out the problem was with the dictionary I use to store nationality surnames. Each nationality has around 500+ entries, and I recently added more entries. After the update, the game started crashing on startup.

I removed the latest entries I added, and everything is working again. It seems the crash was triggered by either exceeding a limit or some unexpected data conflict. I didn’t think this would be the cause at first, but I’m glad it’s sorted now.