Replace some HasCallStack with HasDebugCallStack. It probably was an oversight to enable them in non debug builds.
HasCallStack
HasDebugCallStack