Sound loading problem on iPhone X

We recently did an AR project and found that there was a problem with screen stuck on the iPhone X. After some preliminary tests, it was suspected that there was a problem with sound loading. If the sound was removed, the screen would not be stuck. In addition, we tested the 6s, 7 and 8p models will not get stuck, so I would like to ask if there is any difference in the way the sound is loaded on the iPhone X and whether this problem can be solved.

Are all iPhone’s on the same iOS version?

yes,they are all iOS 11.3