"Error IMGSRV :840: PVRSRVFreeDeviceMemMIW: Further references found at the time of freeing" (Mostly on Xiaomi Devices)

Hello everyone,

I am experiencing an issue with my Unity project when deploying it on certain Android phones, particularly Xiaomi devices. The following error appears in the console:

Error IMGSRV :840: PVRSRVFreeDeviceMemMIW: Further references found at the time of freeing

This error does not occur when I test the game in the Unity editor. However, on some phones, especially Xiaomi devices, it leads to a significant FPS drop and, in some cases, crashes.

I am not sure if this bug appears on other phone models, but it is most prevalent on Xiaomi devices.

Here are some additional details about my environment:

  • Unity version: 2022.3.36f1
  • Android version used for testing: 12 (Go edition)
  • Affected devices: Xiaomi Redmi A1
  • Build options: URP, OpenGLES3

I have been searching for a solution but have not found clear information on what might be causing this specific error. Has anyone encountered this issue before or have suggestions on how to resolve it? Any advice or pointers would be greatly appreciated, especially on how to address the FPS drop caused by this error.

P.S.: I’m not quite sure which category this type of error falls into on the forum. If there is a more appropriate category for this kind of issue, please let me know!

Thank you in advance for your help!