# UnrealHeaderTool issues with RPCs

**URL:** <https://forums.unrealengine.com/t/unrealheadertool-issues-with-rpcs/479173>\
**Category:** Multiplayer & Networking\
**Tags:** ufunction, rpc, unreal-engine, Multiplayer, question\
**Created:** [February 22, 2021, 1:51am UTC](https://forums.unrealengine.com/t/unrealheadertool-issues-with-rpcs/479173 "2021-02-22T01:51:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shadybear18](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadybear18](https://forums.unrealengine.com/u/Shadybear18)\
**Post date:** [February 22, 2021, 1:51am UTC](https://forums.unrealengine.com/t/unrealheadertool-issues-with-rpcs/479173/1 "2021-02-22T01:51:01Z")

</div>

In my header file for a pawn I’m attempting to declare an RPC.  
The following compiles properly:

`UFUNCTION( ) void ClientSetPosition(FTransform position);`

Yet this does not compile:

`UFUNCTION( Client )

void ClientSetPosition(FTransform position);`

I Get the following error:

`UnrealHeaderTool failed for target 'MultiEditor' (platform: Win64, module info: C:\Users\myself\Documents\Unreal Projects\Multi\Intermediate\Build\Win64\MultiEditor\Development\MultiEditor.uhtmanifest, exit code: OtherCompilationError (5)).`  
`The command ""C:\Program Files\Epic Games\UE_4.21\Engine\Build\BatchFiles\Build.bat" MultiEditor Win64 Development "C:\Users\myself\Documents\Unreal Projects\Multi\Multi.uproject" -WaitMutex -FromMsBuild" exited with code 5. Please verify that you have sufficient rights to run this command.	`

Any thoughts on why this might be the case?
