Error building Plugin from 5.3 to 5.4

Any ideas why this isnt building? Its just a small plugin from 5.3 trying to convert it to 5.4. Build info below.

“F:\UE_5.4\Engine\Build\BatchFiles>RunUAT.bat BuildPlugin -plugin=“f:\PLUG53\WorldSpawner.uplugin” -package=“F:\plug54” -TargetPlatforms=Win64
Running AutomationTool…
Using bundled DotNet SDK version: 6.0.302
Starting AutomationTool…
Parsing command line: BuildPlugin -plugin=f:\PLUG53\WorldSpawner.uplugin -package=F:\plug54 -TargetPlatforms=Win64
Initializing script modules…
Total script module initialization time: 0.14 s.
Using C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe
Executing commands…
Copying 185 file(s) using max 64 thread(s)
Reading plugin from F:\plug54\HostProject\Plugins\WorldSpawner\WorldSpawner.uplugin…
Building plugin for host platforms: Win64
Running: F:\UE_5.4\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe “F:\UE_5.4\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” UnrealEditor Win64 Development -Project=“F:\plug54\HostProject\HostProject.uproject” -plugin=“F:\plug54\HostProject\Plugins\WorldSpawner\WorldSpawner.uplugin” -noubtmakefiles -manifest=“F:\plug54\HostProject\Saved\Manifest-UnrealEditor-Win64-Development.xml” -nohotreload -log=“C:\Users\Admin\AppData\Roaming\Unreal Engine\AutomationTool\Logs\F+UE_5.4\UBA-UnrealEditor-Win64-Development.txt”
Log file: C:\Users\Admin\AppData\Roaming\Unreal Engine\AutomationTool\Logs\F+UE_5.4\UBA-UnrealEditor-Win64-Development.txt
Parsing headers for UnrealEditor
Running Internal UnrealHeaderTool F:\plug54\HostProject\HostProject.uproject F:\plug54\HostProject\Intermediate\Build\Win64\UnrealEditor\Development\UnrealEditor.uhtmanifest -WarningsAsErrors -installed
F:\plug54\HostProject\Intermediate\Build\Win64\UnrealEditor\Development\UnrealEditor.uhtmanifest(1): Error: Two headers with the same name is not allowed. ‘F:\plug54\HostProject\Plugins\WorldSpawner\Source\WorldSpawner\Public\Misc\WSpawnerBlockingVolume.h’ conflicts with ‘F:\plug54\HostProject\Plugins\WorldSpawner\Source\WorldSpawner\Public\WSpawnerBlockingVolume.h’
Total of 0 written
Total execution time: 4.39 seconds
Took 4.49s to run dotnet.exe, ExitCode=6
UnrealBuildTool failed. See log for more details. (C:\Users\Admin\AppData\Roaming\Unreal Engine\AutomationTool\Logs\F+UE_5.4\UBA-UnrealEditor-Win64-Development.txt)
AutomationTool executed for 0h 0m 5s
AutomationTool exiting with ExitCode=6 (6)
BUILD FAILED”

i dont know for sure, but maybe you have two copies of the same file in folder public and public/misc

in your target file for the plugin make sure you change the build order or it won’t compile

DefaultBuildSettings = BuildSettingsVersion.V5;
IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_4;

does WSpawnerBlockingVolume.h in
WorldSpawner\Public have the same file contents as the one in Misc?

If so then you need to pick one header or change one of their names and then remap the includes of files that depend on it.