Included is a bug report taken after the issue occurred overnight. Hope this is of use to you. I am currently running LineageOS and Nova Launcher beta, but this problem has been occurring with stock OxygenOS.
Thanks for the log, it looks like an open gl error, probably a ROM issue:
08-24 01:15:34.400 1144 1166 W WindowManager: Failed to report 'resized' to the client of Window{496a3ec u0 org.kustom.wallpaper.WpGLService}, removing this window.
08-24 01:15:34.409 1144 27801 W ActivityManager: Permission Denial: getIntentSender() from pid=9422, uid=10093, (need uid=10033) is not allowed to send as package com.google.android.gms
08-24 01:15:34.421 11158 11158 I ActivityThread: Removing dead content provider:android.content.ContentProviderProxy@e7f2660
08-24 01:15:34.421 11158 11158 I ActivityThread: Removing dead content provider:android.content.ContentProviderProxy@e7f2660
08-24 01:15:34.457 1144 1144 W WallpaperManagerService: Wallpaper service gone: ComponentInfo{org.kustom.wallpaper/org.kustom.wallpaper.WpGLService}
08-24 01:15:34.457 1144 18930 I ActivityManager: Process org.kustom.wallpaper.service (pid 12267) has died
Will check but i might not be able to fix this, might be OS related