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

Textures go black when changing masterTextureLimit at runtime

Discussion in 'High Definition Render Pipeline' started by V_endeta, Sep 29, 2019.

  1. V_endeta

    V_endeta

    Joined:
    Mar 31, 2017
    Posts:
    28
    Whenever I change my Quality Settings at runtime via script, all of my textures turn black. I use the following line to change the quality settings :
    Code (CSharp):
    1. QualitySettings.masterTextureLimit
    I am using HDRP and the shader "HDRenderPipeline/Lit" on pretty much all of my materials.
     
  2. thomh_unity

    thomh_unity

    Unity Technologies

    Joined:
    Feb 19, 2019
    Posts:
    18
    Hi Kosta99DT,

    I have reproduced this issue and have contacted the HRDP team to ask if this masterTextureLimit is supported. They tell me that is should be supported and so I have logged a bug.
     
  3. reharrison_bbi

    reharrison_bbi

    Joined:
    Jun 26, 2015
    Posts:
    4
    Out of curiosity, has there been any headway on this bug? We're noticing the same issue, also using HDRP materials.
     
  4. MiTschMR

    MiTschMR

    Joined:
    Aug 28, 2018
    Posts:
    358
    I too have the same problem with HRDP 6.9.1. When restarting the application everything is working fine until the next change during runtime.
     
    PhillSerrazina likes this.
  5. PhillSerrazina

    PhillSerrazina

    Joined:
    Jul 9, 2018
    Posts:
    2
    Also getting this issue with 2019.1, HDRP 5.7.2. Everything is fine as soon as I reset the scene
     
  6. MiTschMR

    MiTschMR

    Joined:
    Aug 28, 2018
    Posts:
    358
    The issue is resolved when using Unity 2019.3 with HDRP version 7.1.x.
     
  7. sergiusz308

    sergiusz308

    Joined:
    Aug 23, 2016
    Posts:
    198
  8. FedeStefan

    FedeStefan

    Joined:
    Aug 15, 2018
    Posts:
    221
    Same with me
     
  9. sergiusz308

    sergiusz308

    Joined:
    Aug 23, 2016
    Posts:
    198
    @thomh_unity - any update? At least please share bug report id and who I should nag about - it's kind of blocker for us right now, since we can't give players ability to customize performance options to make sure it works on their rig right.