IL2CPP compile error for WegGL

hello everyone,

I got the error that il2cpp does not run properly when trying to compile a WebGL project. However, even when I compile an empty WebGL, there appeared the same error.When I transfer Assets folder to another computer and then compile it, it works properly.I looked into community and tried several ways, but it still didn’t work out. I have tried to run unity as Administer, but a window popped up saying that li2cpp stoped running. And Api compatibility level is already set as .Net 2.0 . My current unity version is 5.4.0f. I have tried updating it to 5.4.2f, but it didn’t work.

Could anyone help me with error?

Error 1:

   Failed running D:\Program Files\Unity\Editor\Data\il2cpp/build/il2cpp.exe --convert-to-cpp --compile-cpp --libil2cpp-static --platform="WebGL" --architecture="EmscriptenJavaScript" --configuration="Release" --outputpath="D:/Rachel/Unity3d/DigitalPowerPlant_AssetBundle/Assets /../Temp/StagingArea/Data\Native\UserAssembly.bc" --cachedirectory="D:/Rachel/Unity3d/DigitalPowerPlant_AssetBundle/Assets/../Library/il2cpp_cache" --compiler-flags="-Oz -DIL2CPP_EXCEPTION_DISABLED=1 " --linker-flags="-Oz -s NO_EXIT_RUNTIME=1" --additional-include-directories="D:/Rachel/Unity3d/DigitalPowerPlant_AssetBundle/Assets/../Temp/StagingArea/Data\Native\UserAssembly.bc" --extra-types.file="D:\Program Files\Unity\Editor\Data\il2cpp\il2cpp_default_extra_types.txt"  --assembly="D:\Rachel\Unity3d\DigitalPowerPlant_AssetBundle\Temp\StagingArea\Data\Managed\Assembly-CSharp-firstpass.dll" --assembly="D:\Rachel\Unity3d\DigitalPowerPlant_AssetBundle\Temp\StagingArea\Data\Managed\Assembly-CSharp.dll" --assembly="D:\Rachel\Unity3d\DigitalPowerPlant_AssetBundle\Temp\StagingArea\Data\Managed\Assembly-UnityScript-firstpass.dll" --assembly="D:\Rachel\Unity3d\DigitalPowerPlant_AssetBundle\Temp\StagingArea\Data\Managed\UnityEngine.UI.dll" --assembly="D:\Rachel\Unity3d\DigitalPowerPlant_AssetBundle\Temp\StagingArea\Data\Managed\UnityEngine.dll" --generatedcppdir="D:\Rachel\Unity3d\DigitalPowerPlant_AssetBundle\Temp\StagingArea\Data\il2cppOutput" 

stdout:
Building UserAssembly.bc with EmscriptenToolChain.
	Output directory: D:\Rachel\Unity3d\DigitalPowerPlant_AssetBundle\Temp\StagingArea\Data\Native
	Cache directory: D:\Rachel\Unity3d\DigitalPowerPlant_AssetBundle\Library\il2cpp_cache
il2cpp.exe didn't catch exception: System.Reflection.TargetInvocationException: ���õ�Ŀ�귢�����쳣�� ---> System.InvalidOperationException: ��ʵ�ֲ��� Windows ƽ̨ FIPS ��֤�ļ����㷨��һ���֡�
   �� System.Security.Cryptography.MD5CryptoServiceProvider..ctor()
   --- �ڲ��쳣��ջ���ٵĽ�β ---
   �� System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   �� System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   �� System.Security.Cryptography.CryptoConfig.CreateFromName(String name, Object[] args)
   �� System.Security.Cryptography.MD5.Create()
   �� Unity.IL2CPP.Building.Hashing.HashTools.HashOfFile(NPath path)
   �� System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   �� System.String.Concat(IEnumerable`1 values)
   �� Unity.IL2CPP.Building.Hashing.FileHashProvider.HashOfAllIncludableFilesInDirectory(NPath directory)
   �� Unity.IL2CPP.Building.Hashing.FileHashProvider.Initialize(IEnumerable`1 cppSourceCompileInstructions)

   �� Unity.IL2CPP.Building.CppProgramBuilder.Build()
   �� il2cpp.Program.DoRun(String[] args)
   �� il2cpp.Program.Run(String[] args)
   �� il2cpp.Program.Main(String[] args)
stderr:

δ���������쳣:  System.Reflection.TargetInvocationException: ���õ�Ŀ�귢�����쳣�� ---> System.InvalidOperationException: ��ʵ�ֲ��� Windows ƽ̨ FIPS ��֤�ļ����㷨��һ���֡�
   �� System.Security.Cryptography.MD5CryptoServiceProvider..ctor()
   --- �ڲ��쳣��ջ���ٵĽ�β ---
   �� System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   �� System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   �� System.Security.Cryptography.CryptoConfig.CreateFromName(String name, Object[] args)
   �� System.Security.Cryptography.MD5.Create()
   �� Unity.IL2CPP.Building.Hashing.HashTools.HashOfFile(NPath path)
   �� System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   �� System.String.Concat(IEnumerable`1 values)
   �� Unity.IL2CPP.Building.Hashing.FileHashProvider.HashOfAllIncludableFilesInDirectory(NPath directory)
   �� Unity.IL2CPP.Building.Hashing.FileHashProvider.Initialize(IEnumerable`1 cppSourceCompileInstructions)
   �� Unity.IL2CPP.Building.CppProgramBuilder.Build()
   �� il2cpp.Program.DoRun(String[] args)
   �� il2cpp.Program.Run(String[] args)
   �� il2cpp.Program.Main(String[] args)

UnityEngine.Debug:LogError(Object)
UnityEditorInternal.Runner:RunManagedProgram(String, String, String, CompilerOutputParserBase, Action`1) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:98)
UnityEditorInternal.IL2CPPBuilder:ConvertPlayerDlltoCpp(ICollection`1, String, String) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:350)
UnityEditorInternal.IL2CPPBuilder:Run() (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:213)
UnityEditorInternal.IL2CPPUtils:RunIl2Cpp(String, IIl2CppPlatformProvider, Action`1, RuntimeClassRegistry, Boolean) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:139)
UnityEditor.HostView:OnGUI()

Error 2:

Exception: D:\Program Files\Unity\Editor\Data\il2cpp/build/il2cpp.exe did not run properly!
UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action`1 setupStartInfo) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:100)
UnityEditorInternal.IL2CPPBuilder.ConvertPlayerDlltoCpp (ICollection`1 userAssemblies, System.String outputDirectory, System.String workingDirectory) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:350)
UnityEditorInternal.IL2CPPBuilder.Run () (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:213)
UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String stagingAreaData, IIl2CppPlatformProvider platformProvider, System.Action`1 modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry, Boolean developmentBuild) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:139)
UnityEditor.WebGL.WebGlBuildPostprocessor.PostProcess (BuildPostProcessArgs args) (at /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/BuildPostprocessor.cs:373)
UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.BuildReporting.BuildReport report) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:176)
UnityEditor.HostView:OnGUI()

I have the same problem with Unity 5.5.2f1.
The non-ASCII characters are as follows:

" System.InvalidOperationException: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms."

Those texts can lead you find proper solution.This problem may be related to Windows operating system.

Answer is here

unity3d Answer link