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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Getting HDRP to work on Android/iOS

Discussion in 'High Definition Render Pipeline' started by s-elliot-perez, Mar 1, 2021.

  1. s-elliot-perez

    s-elliot-perez

    Joined:
    Mar 4, 2016
    Posts:
    22
    Hello!

    Getting a continuous stream of these errors when I convert my Build target from Windows to Android:

    System.Exception: Compute Shader compilation error on platform GLES3x in file Packages/com.unity.render-pipelines.high-definition/Runtime/ShaderLibrary/ShaderVariablesFunctions.hlsl:103: #error "SAMPLE_TEXTURECUBE_ARRAY" is not supported on GLES 3.0 at kernel LightVolumeColors HDRP will not run until the error is fixed. at UnityEngine.Rendering.HighDefinition.HDRenderPipeline.ValidateResources () [0x00054] in C:\Users\selli\Desktop\Eurydice\Library\PackageCache\com.unity.render-pipelines.high-definition@7.5.1\Runtime\RenderPipeline\HDRenderPipeline.cs:554 at UnityEngine.Rendering.HighDefinition.HDRenderPipeline..ctor (UnityEngine.Rendering.HighDefinition.HDRenderPipelineAsset asset, UnityEngine.Rendering.HighDefinition.HDRenderPipelineAsset defaultAsset) [0x006e5] in C:\Users\selli\Desktop\Eurydice\Library\PackageCache\com.unity.render-pipelines.high-definition@7.5.1\Runtime\RenderPipeline\HDRenderPipeline.cs:364 at UnityEngine.Rendering.HighDefinition.HDRenderPipelineAsset.CreatePipeline () [0x00000] in C:\Users\selli\Desktop\Eurydice\Library\PackageCache\com.unity.render-pipelines.high-definition@7.5.1\Runtime\RenderPipeline\HDRenderPipelineAsset.cs:35 at UnityEngine.Rendering.RenderPipelineAsset.InternalCreatePipeline () [0x00004] in <2feaf16e80004e0cadae3f2e05f2a3fa>:0 UnityEngine.GUIUtility:processEvent​



    Does anyone know how to fix this? There's not a lot of info about whether HDRP even works on Mobile, so if it doesn't, I guess I'll give up and create textures just for mobile. Just wanted to make sure there's not a fix for this first!
     
  2. Gokcan

    Gokcan

    Joined:
    Aug 15, 2013
    Posts:
    289
    Hi,
    They scream everywhere like HDRP is not for mobile... It is for high end devices..
    You should search more before you ask somethings...
     
  3. warthos3399

    warthos3399

    Joined:
    May 11, 2019
    Posts:
    1,646
    HDRP will NOT work for mobile, as its targeted to high-end PC and console ONLY...
     
  4. perholmes

    perholmes

    Joined:
    Dec 29, 2017
    Posts:
    295
    But then why does Unity itself say that it will work on high-end Android and iOS? Everybody seems to rehash this thing that it "doesn't work", but do you mean "at all" or "well"? Do you have first-hand experience of deploying it, or do you just assume that it doesn't work? And if that's true, why the devil does Unity mention in the docs that it will work on high-end Android running Vulkan?

    I just want to see one build with a plane and a ball, running HDRP. I'd like to judge for myself whether this is in fact, hard-core impossible, contrary to the Unity's own statements, or just runs very poorly, and with what settings.