UE5.1
Help, I have created two plugins, PluginA and PluginB. I am calling a function from PluginB within PluginA. I have added PluginB in the .cs file. When I try to package PluginA, it gives an error saying it cannot find PluginB.
Below is the screenshot of the error and the project with the error.
LogMonitoredProcess: Running Serialized UAT: [ cmd.exe /c ""D:/UnrealEngine5.1/UE_5.1/Engine/Build/BatchFiles/RunUAT.bat" BuildPlugin -Plugin="E:/UnrealProjects/TestPlugin/Plugins/pluginA/pluginA.uplugin" -Package="E:/plugin/111/pluginA" -CreateSubFolder" -nocompile -nocompileuat ]
UATHelper: Package Plugin Task (Windows): Running AutomationTool...
UATHelper: Package Plugin Task (Windows): Using bundled DotNet SDK version: 6.0.302
UATHelper: Package Plugin Task (Windows): Starting AutomationTool...
UATHelper: Package Plugin Task (Windows): Parsing command line: BuildPlugin -Plugin=E:/UnrealProjects/TestPlugin/Plugins/pluginA/pluginA.uplugin -Package=E:/plugin/111/pluginA -CreateSubFolder -nocompile -nocompileuat
UATHelper: Package Plugin Task (Windows): Initializing script modules...
UATHelper: Package Plugin Task (Windows): Total script module initialization time: 0.21 s.
UATHelper: Package Plugin Task (Windows): Executing commands...
UATHelper: Package Plugin Task (Windows): Copying 43 file(s) using max 64 thread(s)
UATHelper: Package Plugin Task (Windows): Reading plugin from E:\plugin\111\pluginA\HostProject\Plugins\pluginA\pluginA.uplugin...
UATHelper: Package Plugin Task (Windows): Building plugin for host platforms: Win64
UATHelper: Package Plugin Task (Windows): Running: D:\UnrealEngine5.1\UE_5.1\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe "D:\UnrealEngine5.1\UE_5.1\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" UnrealEditor Win64 Development -Project=E:\plugin\111\pluginA\HostProject\HostProject.uproject -plugin=E:\plugin\111\pluginA\HostProject\Plugins\pluginA\pluginA.uplugin -iwyu -noubtmakefiles -manifest=E:\plugin\111\pluginA\HostProject\Saved\Manifest-UnrealEditor-Win64-Development.xml -nohotreload -log="C:\Users\My\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+UnrealE
ngine5.1+UE_5.1\UBT-UnrealEditor-Win64-Development.txt"
UATHelper: Package Plugin Task (Windows): Log file: C:\Users\My\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+UnrealEngine5.1+UE_5.1\UBT-UnrealEditor-Win64-Development.txt
UATHelper: Package Plugin Task (Windows): Could not find definition for module 'pluginB', (referenced via Target -> pluginA.Build.cs)
UATHelper: Package Plugin Task (Windows): Took 2.3848447s to run dotnet.exe, ExitCode=6
UATHelper: Package Plugin Task (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\My\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+UnrealEngine5.1+UE_5.1\UBT-UnrealEditor-Win64-Development.txt)
UATHelper: Package Plugin Task (Windows): AutomationTool executed for 0h 0m 3s
UATHelper: Package Plugin Task (Windows): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Package Plugin Task (Windows): BUILD FAILED
UE project