Crash in motion controller component with Controller: "IsRotationNormalized" Assertion failure

I got this:

Assertion failed: IsRotationNormalized() [File:d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\core\public\math\TransformVectorized.h] [Line: 1222]

I submitted a crash report when it happened, I don’t know how to reference it here, but in the stack trace of the crash, this occured in the motion controller code. I’m using DK1 controllers.

I’ve had this same crash stack trace once before.

Looks like a system error. What is on Line 1222?

Probably an assertion. Further up the stack trace was calls from the Motion Controller code, so I’m guessing that code failed to normalize a rotation vector. Is the stack trace logged anywhere? I closed the crash window. I have the dmp file, but don’t know how to get the stack trace from it, I’m used to GNU utilities and new to visual studio.

I was able to get the full call stack, attaching it as an image:

This is terrible for someone who is a noob a C++.
I have seen operation C++ files for UE4 where there are redlines everywhere.
This douse not mean there is a problem and that d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\core\public\math\TransformVectorized.h is one of those folders. You could try replacing it from another project.

Hello muchcharles,

I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. Can you reproduce this issue in a clean project?
  2. If so, could you provide a detailed set of steps to reproduce this issue on our end?
  3. Could you provide the complete call stack that is given after the crash?

Hi,

Can you reproduce this issue in a
clean project?

It randomly happens after long periods of time, so I haven’t been able to reproduce it in a clean project. Anecdotally, it seems to be when the controller is pointing straight upwards, which, combined with it being a rotation normalization assertion that fails, might indicate some kind of poling problem in the math.

Could you provide the complete call stack that is given after the crash?

I posted the screenshot of it in an earlier comment.

Thanks

Would it be possible for you to provide a project that reproduces this crash so that we could take a closer look?

Hello muchcharles,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you.