Skip to main content
29d ago

Unity Android build textures broken on some devices

Hi! We are having this issue on some devices where some rive texture shows scalated and it has a constant flickering. It looks like the z-order changes all the time, or maybe its something with command buffer.
This is the right way it should be, and way the its looking in the Unity editor and some devices

but in some other devices this is what´s happening

It´s working ok in for example a Motorola G8 Plus, its working wrong in a Samsung Tab S6 Lite and samsung galaxy a13
We hope this could be fixed, thank you

4 replies
F
28d ago

Woah, that is rough. :/ Can you tell me what version of Unity and the Rive runtime you're using? Would you be able to share your .rev and a code repo so I can test it? Are you able to reproduce the problem on emulators or only on real devices? Thanks!

F
(edited) 20d ago

I encountered the same issue! while I can't share the exact code, this is the .riv file I used https://drive.google.com/file/d/16-pjX1n7YWgRUlfgvnTbEDmQJ-NmDmr6/view?usp=sharing

only happened on real devices, simulator works fine. and in my case its Samsung Galaxy A55 5G. and package version is 0.1.329

F
20d ago

oh forgot, version of unity is 6000.0.20f1

F
20d ago

turns out the device is unable to keep up with all of the command buffers. Like I was using multiple rive animations on the scene. I am able to resolve this by reducing the texture size. I ended up detecting device CPU and RAM to gauge the device then scale the texture accordingly. reducing it when I detect lower end devices