Game Development Community

[SOLVED] t2dSceneContainer::getBinRange() - Bad Range!

by AltiMario · in iTorque 2D · 11/19/2009 (7:08 pm) · 5 replies

From xCode simulator console While the level is being loaded (level.t2d) I receive this error:

Fatal: (/Applications/GarageGames/T2D_iPhone_Beta/engine/compilers/Xcode_iPhone/../../source/T2D/t2dSceneContainer.cc @ 268) t2dSceneContainer::getBinRange() - Bad Range!

Any idea?

#1
11/19/2009 (8:15 pm)
Solved...

Into t2d file I've found "nan" values in t2dStaticSprite size.

;-)
#2
02/08/2010 (5:09 pm)
What do you mean about "nan"? I have the same problem.

#3
02/08/2010 (5:13 pm)
nan = not a number -> some value is attempted to be stored thats not a valid number anymore
#4
02/08/2010 (5:58 pm)
search "nan" string in your .t2d level file... If you find it.. You have found the problem ;-)
#5
02/09/2010 (4:12 am)
nan is usually caused by a division by 0 FYI