# Character Terrain Alignment Problem after Packaging

**URL:** <https://forums.unrealengine.com/t/character-terrain-alignment-problem-after-packaging/73398>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [September 11, 2016, 5:51pm UTC](https://forums.unrealengine.com/t/character-terrain-alignment-problem-after-packaging/73398 "2016-09-11T17:51:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RaiderOfLostBit](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RaiderOfLostBit](https://forums.unrealengine.com/u/RaiderOfLostBit)\
**Post date:** [September 11, 2016, 5:51pm UTC](https://forums.unrealengine.com/t/character-terrain-alignment-problem-after-packaging/73398/1 "2016-09-11T17:51:12Z")

</div>

Hi Unreal Community,

I have a Blueprint script which alligns the Characters pitch rotation to the underlying Terrain. This works perfectly in the Editor, but when I package my Project, Package settings are all default, and run the .exe, the alignment doesn`t work anymore…

I checked if the pitch value is wrong or broken, but it is the same value as in the editor. Furthermore I replaced the “set actor rotation” node with a “set world location” of the capsule component but nothing changed…

Here is the script and a screenshot of the problem:

---

<div class="post-metadata">

**Author:** ![RaiderOfLostBit](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RaiderOfLostBit](https://forums.unrealengine.com/u/RaiderOfLostBit)\
**Post date:** [September 18, 2016, 3:15pm UTC](https://forums.unrealengine.com/t/character-terrain-alignment-problem-after-packaging/73398/2 "2016-09-18T15:15:04Z")

</div>

Update: The same problem occurs when I run the Standalone Preview in the Editor. I tried it with the Engine versions 4.11, 4.12, 4.13 with the same result…

Is there anyone who can help me? The script is essential for my project ☹
