# Virtual error ue4 c++

**URL:** <https://forums.unrealengine.com/t/virtual-error-ue4-c/450143>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [June 4, 2019, 9:52pm UTC](https://forums.unrealengine.com/t/virtual-error-ue4-c/450143 "2019-06-04T21:52:46Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Lardo\_Deepdelver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lardo\_Deepdelver](https://forums.unrealengine.com/u/Lardo_Deepdelver)\
**Post date:** [June 5, 2019, 7:14am UTC](https://forums.unrealengine.com/t/virtual-error-ue4-c/450143/2 "2019-06-05T07:14:45Z")

</div>

Don’t know if it will fix your error but if you look into how UE creates the character for the third person cpp project they are not implementing

ASprintHealthTestCharacter::ASprintHealthTestCharacter(const FObjectInitializer& ObjectIntializer)

but

ASprintHealthTestCharacter::ASprintHealthTestCharacter()

on the make a multiplayer sprint,  
you should look into how the jump is implemented  
your current implementation will screw up player movement prediction,  
to handle that correctly you will need to add sprint to your version of the UCharacterMovementComponent and into the FSavedMove\_Character class

that’s the only tutorial on that topic that I have found so far

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

---

_[View the full topic](https://forums.unrealengine.com/t/virtual-error-ue4-c/450143)._
