Infinite Loop Detected

Yes but the debugger just shows you the place of the code which is run in an infinite loop not actually the place where it’s caused since it could already prevent that while compiling in that case. It’s just an estimate and you’ll have to investigate.

The picture you showed is the function “ScaleToRatio”. Now to help you I’d need the places where you call this function since I’m ~99% sure it’s caused there and not inside of this function :wink: