Stencil Test Doesn't Work on Mali-G76MP16

The game is built upon UE4 and we use stencil for optimization purpose. The issue is that when we deployed the game on Snapdragon Adreno series, it worked as expected. However, it failed on the Mali GPU. After debugging, we found out the stencil write operation failed, but I couldn't extract the depth stencil texture by using Graphics Analyzer.

Here is the screenshot:

For the trace config, I have changed to Everything, but the result has no difference.

Thanks in advance.