- Home /
Compute shaders not working in editor but working on device
I have started learning compute shaders. And I found a really good project on github (https://github.com/antoinefournier/XParticle) that would help me learn and experiment with compute shaders. As I opened the project it worked just fine, but when switching platforms to android I just got a bunch of errors saying compute shaders aren't supported on this platform. Then I proceeded to check the player settings and setting the correct graphics api. (http://imgur.com/a/5ZSET). I also set the minimum api level to 5.0 (not sure if that's required, but did that just to make sure). Even after doing all of that the same error was shown when playing the project. So I almost gave up and said to myself why not try to run it on a device? So I built the project with those settings and ran it on a lg g4 running lineage os 14.1 and it works as expected. It even runs well without many slowdowns.
So what am I missing here?
also: I am running unity 2017.1.0f3