I now guard against the vector3 nan issue be checking the return value of defold-orthographic camera.get_window_size(). There are no lua errors reported now, but the freezing remains.
Either the window size is remaining stuck at 0,0 or the camera script isn’t running.