Build - IL2CPP errors - Please, how fix it?

please I have this error I tried every solution I found but it does not worked, can anyone help me please

C:\Program Files\Unity\Hub\Editor\2022.2.0f1\Editor\Data\il2cpp\build\deploy\il2cpp.exe --convert-to-cpp --generatedcppdir=C:/Users/HP/bouncing ball/Library/Bee/artifacts/Android/il2cppOutput/cpp --enable-analytics --emit-null-checks --enable-array-bounds-check --dotnetprofile=unityaot-linux --profiler-report --profiler-output-file=C:/Users/HP/bouncing ball/Library/Bee/artifacts/il2cpp_conv_nw6y.traceevents --print-command-line --data-folder=C:/Users/HP/bouncing ball/Library/Bee/artifacts/Android/il2cppOutput/data
Error: il2cpp.InvalidCommandLineArgumentsException: One or more assemblies must be specified using either --directory or --assembly
at il2cpp.Conversion.ContextDataFactory.CreateConversionDataFromOptions(Il2CppCommandLineArguments il2CppCommandLineArguments)
at il2cpp.Conversion.ConversionDriver.Run(TinyProfiler2 tinyProfiler, Il2CppCommandLineArguments il2CppCommandLineArguments)
at il2cpp.Program.DoRun(TinyProfiler2 tinyProfiler, String[ ] args, RuntimePlatform platform, Il2CppCommandLineArguments il2CppCommandLineArguments, BuildingOptions buildingOptions, Boolean throwExceptions)

0x00007ff7ad299c9d (Unity) StackWalker::GetCurrentCallstack
0x00007ff7ad29ed69 (Unity) StackWalker::ShowCallstack
0x00007ff7ae26b081 (Unity) GetStacktrace
0x00007ff7ae927412 (Unity) DebugStringToFile
0x00007ff7ac237586 (Unity) DebugLogHandler_CUSTOM_Internal_Log
0x000001edcc82e263 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
0x000001edcc82e17b (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[ ])
0x000001ee15508e10 (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
0x000001ee15508cd5 (Mono JIT Code) UnityEngine.Debug:LogError (object)
0x000001ee211d1ed3 (Mono JIT Code) UnityEditor.Modules.BeeBuildPostprocessor:PrintStdoutOnErrorProcessor (Bee.BinLog.NodeFinishedMessage)
0x000001ee211d1307 (Mono JIT Code) UnityEditor.Modules.BeeBuildPostprocessor:ReportBuildResults ()
0x000001ee16b485e3 (Mono JIT Code) UnityEditor.Modules.BeeBuildPostprocessor:PostProcess (UnityEditor.Modules.BuildPostProcessArgs)
0x000001ee16b47bdb (Mono JIT Code) UnityEditor.Modules.DefaultBuildPostprocessor:PostProcess (UnityEditor.Modules.BuildPostProcessArgs,UnityEditor.BuildProperties&)
0x000001ee16b45d4b (Mono JIT Code) UnityEditor.Android.AndroidBuildPostprocessor:PostProcess (UnityEditor.Modules.BuildPostProcessArgs,UnityEditor.BuildProperties&)
0x000001ee16b45518 (Mono JIT Code) UnityEditor.PostprocessBuildPlayer:Postprocess (UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,int,string,string,string,int,int,UnityEditor.BuildOptions,UnityEditor.RuntimeClassRegistry,UnityEditor.Build.Reporting.BuildReport)
0x000001ee16b45845 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_int_int_int_object_object_object_int_int_int_object_object (object,intptr,intptr,intptr)
0x00007ffbe1b10394 (mono-2.0-bdwgc) mono_jit_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/mini/mini-runtime.c:3445)
0x00007ffbe1a4eb44 (mono-2.0-bdwgc) do_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3066)
0x00007ffbe1a4ecdc (mono-2.0-bdwgc) mono_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3113)
0x00007ff7ad1c1d74 (Unity) scripting_method_invoke
0x00007ff7ad1a2724 (Unity) ScriptingInvocation::Invoke
0x00007ff7aec97de1 (Unity) CallMono
0x00007ff7aeca0bc7 (Unity) PostprocessPlayer
0x00007ff7aec9b028 (Unity) DoBuildPlayer_PostBuild
0x00007ff7aec9917e (Unity) DoBuildPlayer
0x00007ff7aec8cbe5 (Unity) BuildPlayer
0x00007ff7aca5be7f (Unity) BuildPipeline::BuildPlayerInternalNoCheck
0x00007ff7ac95e07c (Unity) BuildPipeline_CUSTOM_BuildPlayerInternalNoCheck
0x000001edcc574467 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck (string[ ],string,string,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,int,UnityEditor.BuildOptions,string[ ],bool)
0x000001edcc573c63 (Mono JIT Code) UnityEditor.BuildPlayerWindow/DefaultBuildMethods:BuildPlayer (UnityEditor.BuildPlayerOptions)
0x000001ee144fe6a3 (Mono JIT Code) UnityEditor.BuildPlayerWindow:CallBuildMethods (bool,UnityEditor.BuildOptions)
0x000001ee144410ab (Mono JIT Code) UnityEditor.BuildPlayerWindow:GUIBuildButtons (UnityEditor.Modules.IBuildWindowExtension,bool,bool,bool,UnityEditor.Build.BuildPlatform,UnityEditor.Modules.IBuildPostprocessor)
0x000001ee1443316b (Mono JIT Code) UnityEditor.BuildPlayerWindow:ShowBuildTargetSettings ()
0x000001ee14416bfb (Mono JIT Code) UnityEditor.BuildPlayerWindow:OnGUI ()
0x000001ebe4ef282a (Mono JIT Code) UnityEditor.HostView:InvokeOnGUI (UnityEngine.Rect)
0x000001ebe4ef2683 (Mono JIT Code) UnityEditor.DockArea:smile:rawView (UnityEngine.Rect)
0x000001ebe4edfdfb (Mono JIT Code) UnityEditor.DockArea:OldOnGUI ()
0x000001ebe4e0b70f (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:smile:oOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool)
0x000001ebe4ecc15b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool)
0x000001ee112bf58b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,System.Action,bool)
0x000001ee112bf413 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,bool)
0x000001ee112be9ab (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase,bool,bool)
0x000001ee112bb263 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUI (UnityEngine.UIElements.EventBase,bool,bool)
0x000001edc9cfd623 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:ProcessEvent (UnityEngine.UIElements.EventBase)
0x000001edc9cfd183 (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEvent (UnityEngine.UIElements.EventBase)
0x000001edc9cfcebf (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEventAtCurrentTargetAndPhase (UnityEngine.UIElements.EventBase)
0x000001edc9cfcbf3 (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase)
0x000001ee112b793b (Mono JIT Code) UnityEngine.UIElements.MouseCaptureDispatchingStrategy:smile:ispatchEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x000001edcc32e0ae (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,bool)
0x000001edcc32d97b (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x000001edc9ce7023 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEventQueue ()
0x000001edc9ce6e73 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:OpenGate ()
0x000001edc9ce6dab (Mono JIT Code) UnityEngine.UIElements.EventDispatcherGate:smile:ispose ()
0x000001edcc32de53 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x000001edcc32d2c3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:smile:ispatch (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,UnityEngine.UIElements.DispatchMode)
0x000001edcc32d11b (Mono JIT Code) UnityEngine.UIElements.BaseVisualElementPanel:SendEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.DispatchMode)
0x000001edcc8b5173 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:smile:oDispatch (UnityEngine.UIElements.BaseVisualElementPanel)
0x000001edcc8b4a63 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&)
0x000001edcc8b481f (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration:ProcessEvent (int,intptr)
0x000001edcc8b473b (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration/<>c:<.cctor>b__1_2 (int,intptr)
0x000001edcc8b458d (Mono JIT Code) UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
0x000001edcc8b4646 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_int_intptr_intptr& (object,intptr,intptr,intptr)
0x00007ffbe1b10394 (mono-2.0-bdwgc) mono_jit_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/mini/mini-runtime.c:3445)
0x00007ffbe1a4eb44 (mono-2.0-bdwgc) do_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3066)
0x00007ffbe1a4ecdc (mono-2.0-bdwgc) mono_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3113)
0x00007ff7ad1c1d74 (Unity) scripting_method_invoke
0x00007ff7ad1a2724 (Unity) ScriptingInvocation::Invoke
0x00007ff7ad19d385 (Unity) ScriptingInvocation::Invoke<void>
0x00007ff7ad2e5afa (Unity) Scripting::UnityEngine::GUIUtilityProxy::ProcessEvent
0x00007ff7adcbff68 (Unity) GUIView::ProcessRetainedMode
0x00007ff7ae29ddf6 (Unity) GUIView::OnInputEvent
0x00007ff7adcbfeb3 (Unity) GUIView::ProcessInputEventFromAPI
0x00007ff7adcbfd88 (Unity) GUIView::ProcessInputEvent
0x00007ff7ae29ec2e (Unity) GUIView::ProcessEventMessages
0x00007ff7ae298656 (Unity) GUIView::GUIViewWndProc
0x00007ffc5ef1e7e8 (USER32) CallWindowProcW
0x00007ffc5ef1e229 (USER32) DispatchMessageW
0x00007ff7ae271733 (Unity) MainMessageLoop
0x00007ff7ae276820 (Unity) WinMain
0x00007ff7af63b72e (Unity) __scrt_common_main_seh
0x00007ffc5f897614 (KERNEL32) BaseThreadInitThunk
0x00007ffc609826a1 (ntdll) RtlUserThreadStart

This issue should be fixed in

2023.1.0a20
2022.2.5f1
2021.3.18f1

Thanks for your reply. I got the same issue. And when could a fixed version be available downloading?

Hello,

I just migrated from 2021 LTS and was super happy as the editor was working quite great regarding the update. Building the Game now gives me this error described here with “2022.2.5f1 (551d45108343) revision 5578053”.

Looking to see it fixed.

Not fixed for 2022.2.5f1 and for 2022.2.9