[8.2] Weird problem {NaNMPH NanFT}

Gayvid`

Yes, I'm a well-known member
Joined
Sep 12, 2015
Messages
544
Likes
185
Points
440
Age
13
#1
I swear to god, every single problem ends up in NaNMPH NanFT. So I got this massive plane off the steam workshop and use it, I was on purposely trying to break it, meanwhile missiles from the enemy slide right in the backend on the plane. I get NanMPH NanFT, This is always the error that occurs when I'm experiencing a bug.

I lost the crash report
 
Likes: JimmyBlether

ZeroGravitas

Breaker of Games
Joined
Jun 29, 2017
Messages
3,052
Likes
3,844
Points
675
Age
36
Location
UK
Website
www.youtube.com
#4
The error tends to happen when there is tech intersection and one block is inserted to (perfectly) overlap another, causing the collision physics calculation to divide by zero and get a nonsense result for the resultant knock-back speed (or something along those lines).

I edited some more information into the title future reference, in "{}".
 
Likes: Lord Zarnox

Zorgomol

Not a Number
Joined
Apr 9, 2018
Messages
129
Likes
228
Points
145
#5
There are just a few situations where NaNs pop up in ordinary floating point math. Most common is divide zero by zero, which in physics is often in trying to normalize a zero length vector. Other cases I can remember offhand are infinity minus infinity (and sign-variation equivalents, since +inf and -inf are distinct) and infinity divided by infinity. Infinity divided by zero is still infinity, though.

NaNs are sometimes called "toxic" because any calculation with a NaN results in another NaN, so that they "poison" everything they touch. As an example of this, I think many people have seen those black squares that sometimes show up with depth of field or pause menu blur. That's because when a GPU calculation results in a NaN it just gives up and skips the whole pixel.
 
Likes: Lord Zarnox

Lord Zarnox

Founder of the IFTTES
Joined
May 31, 2017
Messages
1,865
Likes
2,385
Points
520
Age
19
Location
Australia
#6
infinity divided by infinity
That would equal infinity. Well, sort of. Infinity is a concept, used to refer to infinite numbers in relation to finite numbers. As with finite numbers, there are an infinite number of infinite numbers.
Also, Aleph Null is the smallest infinite number.

On another note, welcome to NaN-land. Enjoy your stay.
 

Sdarks

PAYLOAD STUDIOS
Joined
Jun 13, 2018
Messages
129
Likes
294
Points
170
Age
24
#8
If you can provide some more details about the problems you're experiencing and when you experience them I can get it entered into our bug system so someone can take a good at it. But I can't do much with the information you've given so far, sorry.
 

Gayvid`

Yes, I'm a well-known member
Joined
Sep 12, 2015
Messages
544
Likes
185
Points
440
Age
13
#9
I can confirm that it looks like NaN as in Not a Number, can't help you as you why or how I'm afraid as that's not a part of the code I've looked at before and the problem is not one I've seen.
Correct me if I'm wrong but usually, NAN, NA or Null Comes if a certain piece of code fails and a part of the game isn't getting registered, this can happen by having an entity or anything with a hitbox entering an unloaded part of the game save. Sometimes causing Rendering issues or fail to position everything and failure to go by the physics of the game, thus making the game stop whatever it's doing. This theory of mine can co-relate to why my game crashes because this happens when I glitch into something.

I don't know if this game is different but usually in crash reports or consoles of games I play display messages that imply that I basically am glitched into something and it has to close the game or skip and re-register everything. This usually happens at 0 fps but TT always crashes and doesn't work like that.
 
Last edited:

Sdarks

PAYLOAD STUDIOS
Joined
Jun 13, 2018
Messages
129
Likes
294
Points
170
Age
24
#10
Correct me if I'm wrong but usually, NAN, NA or Null Comes if a certain piece of code fails and a part of the game isn't getting registered, this can happen by having an entity or anything with a hitbox entering an unloaded part of the game save. Sometimes causing Rendering issues or fail to position everything and failure to go by the physics of the game, thus making the game stop whatever it's doing. This theory of mine can co-relate to why my game crashes because this happens when I glitch into something....
I don't want to sit here and nit pick specific words or theories as there's always multiple things that could cause a crash or a bug. It's not as simple as seeing NaN somewhere and going "Oh right that's caused by this". There's also a large difference between null and NaN but that's not relevant here.

The most important thing is that for us to look into this we need some more information. If you check out this post it might help https://forum.terratechgame.com/index.php?threads/bug-reporting-a-quick-guide.8894/ . Basically we need to know what your problem is, what you were doing when it happened (bonus points if you can post exact steps to reproduce the problem), and if it's a crash a crash dump or output log is very useful. So if you can let us know what you were doing when you see the issue, what the issue actually is and how it affects you playing the game, and any other information that could be relevant then I'll get it entered into our bug system so that someone can take a look at it and potentially fix it.

We hate bugs as much as you guys do, so when you can provide us ways to reproduce the bugs on our machines or even a place to start looking it really helps us make the game as bug free as we can get it.
 

Gayvid`

Yes, I'm a well-known member
Joined
Sep 12, 2015
Messages
544
Likes
185
Points
440
Age
13
#13
Adding a replay submenu would be helpful so we can send you a small video on the crash when we get one. I don't know why I get extremely rare crashes all the time and not common ones. I usually do stupid stuff in R&D, that's probably why I crash all the time. In the Future, I'll hope to bring more details with my crashes.