Character Terrain Alignment Problem after Packaging

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:

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 :frowning: