Closed ashdnazg closed 7 years ago
crash/desync is a minor bug? :D
I have looked through the code and can't see an obvious way for that number to be NaN. Does Spring immediately crash if NaN is used in arithmetic or does the NaN infect many numbers until it eventually crashes at a callout?
The latter There's something setting the height of the ground in at least one spot to NaN which results in propagation to other parts (min/max map height) and eventually it causes an infinite loop in ray tracing
Are you saying that, in the engine, the height of a location is being set to NaN?
I'm saying that lua is calling an engine function that sets height with NaN as an argument
Good, that was what I was asking.
Duplicate of #2361 (actually the other way around but that one has infologs).
originally reported here: https://springrts.com/mantis/view.php?id=5334 (replay in mantis report)