# Why do characters move extremely slow when we compile with VS 2015?

**URL:** <https://forums.unrealengine.com/t/why-do-characters-move-extremely-slow-when-we-compile-with-vs-2015/340940>\
**Category:** Character & Animation\
**Tags:** unreal-engine, slow, question\
**Created:** [December 9, 2015, 2:22pm UTC](https://forums.unrealengine.com/t/why-do-characters-move-extremely-slow-when-we-compile-with-vs-2015/340940 "2015-12-09T14:22:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JanH](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JanH](https://forums.unrealengine.com/u/JanH)\
**Post date:** [December 9, 2015, 2:22pm UTC](https://forums.unrealengine.com/t/why-do-characters-move-extremely-slow-when-we-compile-with-vs-2015/340940/1 "2015-12-09T14:22:18Z")

</div>

Our team recently updated to UE 4.10 and along with the update, most members of the team also updated to Visual Studio 2015. Now we came across an issue we cannot explain. The thing is, when we compile the game and engine using Visual Studio 2013, everything is fine. However, when we use Visual Studio 2015 to compile the game and engine or just the game using 4.10.0 or 4.10.1 from Epic Games Launcher our characters barely move. This can be remedied with changes to the movement component. In detail, we have to increase MaxAcceleration to at least 4000.0, otherwise the character will never reach its maximum velocity.

The thing is, this does not happen when we use VS 2013 to compile and we are out of ideas what could be causing the issue with VS 2015. So does anyone have a clue why this is happening?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [December 9, 2015, 4:35pm UTC](https://forums.unrealengine.com/t/why-do-characters-move-extremely-slow-when-we-compile-with-vs-2015/340940/2 "2015-12-09T16:35:19Z")

</div>

Thats seems very odd for sure. Could you post the code that relates to the speed of your characters or a sample project itself that has the issue? It’ll take some investigation as I’ve never seen anything like that occurring, but I’d like to find out the cause.

---

<div class="post-metadata">

**Author:** ![JanH](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JanH](https://forums.unrealengine.com/u/JanH)\
**Post date:** [December 9, 2015, 5:09pm UTC](https://forums.unrealengine.com/t/why-do-characters-move-extremely-slow-when-we-compile-with-vs-2015/340940/3 "2015-12-09T17:09:36Z")

</div>

If only I knew which part of the code causes the issue 😉  
But due to your question I exchanged our custom movement component for the default one and what can I say? Does not occur with the default one. So this must be an issue with our custom movement component. I will look into this further and reply once I have found what is causing the issue.

---

<div class="post-metadata">

**Author:** ![JanH](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JanH](https://forums.unrealengine.com/u/JanH)\
**Post date:** [December 9, 2015, 6:14pm UTC](https://forums.unrealengine.com/t/why-do-characters-move-extremely-slow-when-we-compile-with-vs-2015/340940/4 "2015-12-09T18:14:14Z")

</div>

It was our edited version of “TickComponent”. However, I went through the function and commented out block by block and could not find the offending block or line. Since I already had an evaluation of the edits to TickComponent on my list, I moved all custom code to more sane places and removed the overridden version completely.

Ultimately I have no explanation what exactly caused the issue and why this worked fine with VS 2013 but not with VS 2015 but a real fix for the issue.
