I have installed Unity Hub and Editor for the first time on Windows 10 (Nvidia 3060, i7 930). When I create a project using the Universal 3D Pipeline template, the “Unity.ILPP.Trigger” stops working twice.
The Windows error for both crashes reads:
Unity.ILPP.Trigger has stopped working
A problem caused the program to stop working correctly. Please close the program.
[> Close the program]
After the two ILPP Trigger crashes, the Unity editor presents a dialog, which reads:
The project you are opening contains compilation errors.
Entering Safe Mode allows you to resolve these errors without waiting for the rest of your project to import.
If you select Ignore (not recommended), your project will continue to import, but it may be in a broken or unusable state.
[Enter Safe Mode] [Ignore] [Quit]
If I choose to ignore the error, the unmodified project opens with a build error shown in the console, which reads:
Internal build system error. BuildProgram exited with code -2147450743.
Failed to create CoreCLR, HRESULT: 0x80004005
I am guessing this will prevent me from creating anything which requires compilation. Will it also interfere with importing and exporting assets? Edit: And please let me know of any ideas you might have to solve the problem…
Thanks!
Edit: I’ve now uninstalled Unity 6 and tried out 2022.3.52f1. The same behavior occurs with the previous version.
Edit: This also occurs with 2022.3.22f1, with another error preceding the CoreCLR one in the console:
IL Post Processor runner process failed to start
UnityEditor.Scripting.ScriptCompilation.EditorCompilationInterface:TickCompilationPipeline (UnityEditor.Scripting.ScriptCompilation.EditorScriptCompilationOptions,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,int,string[],bool)
Edit: Tried reinstalling Visual Studio components through Unity Hub with administrative rights, but the errors remain.
Edit: Noticed an event viewer entry from a Unity-adjacent app, VRChat Creator Companion, which fails to start, being unable to find an apparent garbage collection element: “.NET Runtime version 4.0.30319.0 - Load of local GC library clrgc.dll failed.” This suggests a .NET issue exists, perhaps.
Tried reinstalling .NET specifically, .NET Framework 4.8 Web Installer.
Tried to resolve problem with fix-it tool without success, Microsoft .NET Framework Repair Tool.
Fixed! The fix for both VCC and Unity Editor was suggested by similar errors in different apps, Synthesis and Malwarebytes.
To fix this problem, review your Windows environment variables for those related to clrgc.dll, namely the user-level environment variables “COMPlus_GCName | clrgc.dll” and “DOTNET_GCName | clrgc.dll”. Make a note of your actions so you can restore the entries later if necessary. My understanding is that they are not Windows defaults.
On deletion of these two entries, both VCC and Unity were restored to working order as (as far as I can tell), without requiring full system restart. I’ll leave this here in case someone else should encounter a similar problem.
Edit: There is an additional environment variable that you may wish to delete: “DOTNET_EnableWriteXorExecute | 0”.
These environment variables were possibly added by the DisplayFusion desktop wallpaper app to fix its memory leaks on Windows 7 systems, and then survived Windows upgrades as detritus in the environment, later causing problems in Windows 10 where may be unnecessary.