Infinite loop errors in map - best troubleshooting practices?

Hello,

so I just see technical errors with infinite loop glitch, what is the best troubleshooting method for finding the source?

I have custom dragon movement devices in the game + raycasting for movement, I assume one of these would be the cause, but I have no idea how to pinpoint that, any ideas?

Error:

Map code:

2601-9029-8468

do you have Sleep in that update loop?