I can reproduce this issue with a simple defold perspective camera, as well as with the rendercam library.
Just switch between the ‘/main/perspective.render’ and ‘/rendercam/rendercam.render’
The red sprite can be moved with the arrow keys and as soon as it crosses the middle/green line the sprite disappears. it seems like this only occurs when looking at an angle on the objects.
Both sprites are inside the configured near Z/far Z values
Without any knowledge of the system here, It looks like that the distance between the camera and the center of a sprite is used to determine a draw order.
This might be a problem with a combination of very small/large sprites (32x32 and 1024x1024 in this case) or if rotations are used a lot.
So while the red sprite should be on top of the big one, it gets rendered after (and is completely overdrawn in this case)