Error: Embed Unity3D in Android Native App. E/Unity: Desired shader compiler platform 5 is not available in shader blob

Hi,

I’m trying to embed a game built with Unity3D in an android native application written with Kotlin.

I’ve been following some online tutorials.

The problem is that when I hit the button that calls the UnityFragment my screen turns pink and the next error appears in the run console:

E/Unity: Desired shader compiler platform 5 is not available in shader
blob

Does anyone know what this error means and how can I solve it?

I leave here the entire console log after the UnityFragment is called:


Have the exact same issue. Were you able to solve it? @davidgatsby

@MarcelDeufel

I’m facing this issue now. Were you able to solve it?

My solution: enable Auto Graphics API in Project Settings > Player > Other Settings.

From searching the internet, the problem seems to come from some incompatibility with the Vulkan graphics API.