Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question .vsh and .fsh from Plugins/Android/assets to WHERE

Discussion in 'Shaders' started by LuisJavierLopez, May 18, 2023.

  1. LuisJavierLopez

    LuisJavierLopez

    Joined:
    May 23, 2019
    Posts:
    8
    Hi,

    We use Easy Movie Texture plugin to reproduce M3U8 streaming videos.

    This plugin uses the folder Plugins/Android/assets/Shader that contains two files:
    - MeshFragShader.fsh
    - MeshVertShader.vsh

    When upgrading to Unity 2021.3.25f, the Plugins/Android/assets folder is OBOLETE. Without those files, the videos are not being seen (the sound is working)

    We have tried to include those files in an Android Studio module AAR file, and we have included it into Plugins/Android/libs; the hierarchy in the file is:

    proguard.txt
    R.txt
    AndroidManifest.xml
    classes.jar
    res/
    res/raw/
    res/raw/meshfragshader.fsh
    res/raw/meshvertshader.vsh
    META-INF/com/android/build/gradle/aar-metadata.properties
    raw/

    Still not working.

    The two files in other folder under Assets doesn't work either.

    How can we include this files in our Android build in order to make Easy Movie Texture to work again?
     
  2. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,819
    This is a question for Android subforum.