Assets can't be found in some circumstances after app reloading