Disapperaing Ice (sometimes)

I have a game that is almost complete but on occasion I get the following error messages.

!CompareApproximately (SqrMagnitude (m_LocalRotation), 1.0F)

!CompareApproximately (SqrMagnitude (q), 1.0F, Vector3f::epsilon)

It sometimes cause the ice to disappear (it’s a hockey game), but not always. Sometimes it freezes the game (the music continues though). I have tried to recreate the problem but as of yet there doesn?t seem to be a specific thing that causes it. The error is not identifying any bad code so I’m not sure how to fix it.

I read the other posts about this error message but as I can not recreate the error every time, is there someplace I should start looking for it?

did you file a bug? in the other posts with this message that seemed to be the most common solution ; )

When you select the error message in the console, at the bottom it prints “call stack”, i.e. which script called some internal function in Unity that produces this error. Can you tell what is printed there?

(side note: I deleted the four other identical threads you created, hope you don’t mind)

FWIW, i get this if I have an object use LookAt while parented to the child of an animated heirarchy (character). I bugged it a while back.