r/UnityHelp • • 5d ago

how to fix this?

Post image

was trying to compile my chicken gun fan-game and this happened

1 Upvotes

7 comments sorted by

1

u/-goldenboi69- 1d ago

Did you check the console for details?

0

u/Poggerz-lol 1d ago

yes

1

u/-goldenboi69- 1d ago

And what did you change to try and fix the error?

0

u/Poggerz-lol 1d ago

I'll just send you the error

0

u/Poggerz-lol 1d ago

Win32Exception: ApplicationName='C:\Program Files\Unity\Hub\Editor\2019.4.40f1\Editor\Data\il2cpp\build/deploy/net471/UnityLinker.exe', CommandLine='@C:/Users/pc/Downloads/chicken-gun-main/Temp/StagingArea/assets/bin/Data/Managed/response.rsp', CurrentDirectory='C:\Users\pc\Downloads\chicken-gun-main\Temp\StagingArea\assets\bin\Data\Managed', Native error= An Application Control policy has blocked this file.

System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) (at <ef151b6abb5d474cb2c1cb8906a8b5a4>:0)

System.Diagnostics.Process.Start () (at <ef151b6abb5d474cb2c1cb8906a8b5a4>:0)

(wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()

UnityEditor.Utils.Program.Start (System.EventHandler exitCallback) (at <7105be432fb64891b07085914e6cd5c1>:0)

UnityEditor.Utils.Program.Start () (at <7105be432fb64891b07085914e6cd5c1>:0)

UnityEditorInternal.Runner.RunProgram (UnityEditor.Utils.Program p, System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser) (at <7105be432fb64891b07085914e6cd5c1>:0)

UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action`1[T] setupStartInfo) (at <7105be432fb64891b07085914e6cd5c1>:0)

UnityEditorInternal.AssemblyStripper.RunAssemblyLinker (System.Collections.Generic.IEnumerable`1[T] args, System.String& out, System.String& err, System.String linkerPath, System.String workingDirectory) (at <7105be432fb64891b07085914e6cd5c1>:0)

UnityEditorInternal.AssemblyStripper.StripAssembliesTo (System.String outputFolder, System.String& output, System.String& error, System.Collections.Generic.IEnumerable`1[T] linkXmlFiles, UnityEditorInternal.UnityLinkerRunInformation runInformation) (at <7105be432fb64891b07085914e6cd5c1>:0)

UnityEditorInternal.AssemblyStripper.RunAssemblyStripper (UnityEditorInternal.UnityLinkerRunInformation runInformation) (at <7105be432fb64891b07085914e6cd5c1>:0)

UnityEditorInternal.AssemblyStripper.StripAssemblies (System.String managedAssemblyFolderPath, UnityEditorInternal.BaseUnityLinkerPlatformProvider unityLinkerPlatformProvider, UnityEditorInternal.IIl2CppPlatformProvider il2cppPlatformProvider, UnityEditor.RuntimeClassRegistry rcr, UnityEditor.ManagedStrippingLevel managedStrippingLevel) (at <7105be432fb64891b07085914e6cd5c1>:0)

UnityEditorInternal.IL2CPPBuilder.Run () (at <7105be432fb64891b07085914e6cd5c1>:0)

UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String tempFolder, System.String stagingAreaData, UnityEditorInternal.IIl2CppPlatformProvider platformProvider, System.Action`1[T] modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry) (at <7105be432fb64891b07085914e6cd5c1>:0)

UnityEditor.Android.PostProcessor.Tasks.RunIl2Cpp.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <dd2e71f8d45046b88d6d3169a8084aec>:0)

UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <dd2e71f8d45046b88d6d3169a8084aec>:0)

UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (UnityEditor.BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <dd2e71f8d45046b88d6d3169a8084aec>:0)

UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <dd2e71f8d45046b88d6d3169a8084aec>:0)

UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <7105be432fb64891b07085914e6cd5c1>:0)

UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

1

u/-goldenboi69- 1d ago

It must be a virus. From china maybe.

0

u/Poggerz-lol 1d ago

it says: "An Application Control policy has blocked this file."