Game Development Community

Intermittant Asserts "MatrixF::inverse: non-singular matrix

by Terence Tan · in Torque Game Engine · 07/20/2006 (10:04 am) · 1 replies

Once in a while, when I exit the game I am getting a "MatrixF::inverse: non-singular matrix, no inverse." occur for no apparent reason. I am getting it when I hit the ESC key to pop up the escape game dialog. Looked at the code, it is stopping a division by zero from occuring.

Could the problem be:
1) Memory related? I have implemented a few resources and could it be stomping on some of my memory? Corrupt data?
2) Level design related? We are having problems with DTS shape objects, and their collision boxes.

Not having much luck tracing it back when it does happen though (seems to be hiding from me as this stupid type of bugs usually are).

Anybody run into this assert before? Did a search, it seems it happened in TSE on a water block but since I don't own TSE, no idea what that topic contains.

#1
07/20/2006 (10:30 am)
I get an error like this when I load my level manually.

Because there is no GameConnection / Camera.

Hope that helps.

-- Ricky