Check to ensure the recalculate build time function doesn't run outside of the editor.