# Crashing on IsRotationNormalized

**URL:** <https://forums.unrealengine.com/t/crashing-on-isrotationnormalized/320085>\
**Category:** C++\
**Tags:** scene-component, unreal-engine, crash, CPP, question\
**Created:** [May 29, 2015, 6:38am UTC](https://forums.unrealengine.com/t/crashing-on-isrotationnormalized/320085 "2015-05-29T06:38:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![denton85](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@denton85](https://forums.unrealengine.com/u/denton85)\
**Post date:** [May 29, 2015, 6:38am UTC](https://forums.unrealengine.com/t/crashing-on-isrotationnormalized/320085/1 "2015-05-29T06:38:09Z")

</div>

Hi.

I just start to make my own scene component.  
But when i try to put any children into it, game is crashing at IsRotationNormalized()

I make some investigation and found that matrix for some other component ( I believe the one I drop into my component ) is really corrupted ( rotation is 0,0,0,0 )

I believe i miss something and my component should update child matrices or something. I don’t know.

Here is the source  
[http://pastebin.com/ASeXWZzi](http://pastebin.com/ASeXWZzi)

and header  
[http://pastebin.com/gd6CXeHe](http://pastebin.com/gd6CXeHe)

---

<div class="post-metadata">

**Author:** ![denton85](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@denton85](https://forums.unrealengine.com/u/denton85)\
**Post date:** [May 29, 2015, 7:14am UTC](https://forums.unrealengine.com/t/crashing-on-isrotationnormalized/320085/2 "2015-05-29T07:14:24Z")

</div>

Ok, Solved. Quaternion was not initialized.

---

<div class="post-metadata">

**Author:** ![Lordink](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lordink](https://forums.unrealengine.com/u/Lordink)\
**Post date:** [July 5, 2017, 8:42am UTC](https://forums.unrealengine.com/t/crashing-on-isrotationnormalized/320085/3 "2017-07-05T08:42:48Z")

</div>

Hello,

Could you please elaborate on how exactly you solved it? I am getting the same crash when I make a box/line trace to a character or hit him with another collider.
