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

Reflection Probe on android generates black images

Discussion in 'Android' started by Pittner, Jul 27, 2016.

  1. Pittner

    Pittner

    Joined:
    Jul 25, 2016
    Posts:
    2
    Hi All,

    I am new to Unity. I created a reflection probe demo scene with Unity which works pretty good on PC but generates black images on Android (see images attached). I tried to run on multiple Android machines and the result is the same in case of all three mobile phone models.

    I am using unity 5.3.5f1 Personal.


    Any hint?

    Thanks
     

    Attached Files:

  2. florianpenzkofer

    florianpenzkofer

    Unity Technologies

    Joined:
    Sep 2, 2014
    Posts:
    479
    Are these realtime reflections probes? They might be disabled in quality settings.
     
  3. Pittner

    Pittner

    Joined:
    Jul 25, 2016
    Posts:
    2
    Yes, they are all. I tried baked and realtime, too, but no difference on Android. See screenshot attached
     

    Attached Files:

  4. leszektarn

    leszektarn

    Joined:
    Nov 9, 2015
    Posts:
    1
    I can see that this thread is dated, but still no solution or I couldn't find one. I have the same problem. My app works on most android devs that I've checked, but then on a Huawei MediaPad3 lite all reflective materials are black. When I set reflection probe to baked and bake it - still no reflections - now reflective materials are white-ish. I left just one quality setting to be sure that it doesn't get switched.
    Any idea how to fix it?

    I am using Unity 2017.3.1f1 Personal
     
  5. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,845
    Does the probes have HDR enabled? If so, try disabling it.
     
    Salvador-Romero likes this.
  6. Salvador-Romero

    Salvador-Romero

    Joined:
    Jan 21, 2014
    Posts:
    54
    I have a fairly complex system of reflection probes, updating them by script depending on changes on time of day, player position, and more, for an interior scene. It's works without mayor problems on stand alone and UWP.

    On Android, however, it didn't: Many black surfaces (depending on the material as well). Disabling HDR worked!

    Thank you very much!


    Do you know why this happens? It would be nice to understand a bit more. Quality settings and graphics are correct. I do use HDR without problem with Android in other areas. I'm using 2019.1 and built-in render pipeline.

    Thanks again for saving me a huge amount of time!
     
  7. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,845
    Honestly, I don't remember exactly, it has been 2 years already :D
    With HDR enabled on reflection probes:
    Are there any errors in Logcat? (Unlikely, but still worth checking)
    Which HDR format do they use?

    And, btw, on which device does this happen?
     
    Salvador-Romero likes this.
  8. Salvador-Romero

    Salvador-Romero

    Joined:
    Jan 21, 2014
    Posts:
    54
    Two years for you, two scary days for me until I tried this :D

    No errors in the logcat.

    I'm using FP16, if that's what you mean. Deferred. Only realtime light probes gives me troubles.

    Xiaomi 9T Pro. That's an 855 chipset.

    At the beggining, i thought it had something to do with probe blending, like it was ignoring the checkbox mark in Graphics settings, since it seems that Light Probe Proxy Volume is also not working for me on Android. But this HDR thing did the trick. I only have some black surfaces now on terrains, but I think this is due other reasons.

    Thanks again!
     
  9. florianpenzkofer

    florianpenzkofer

    Unity Technologies

    Joined:
    Sep 2, 2014
    Posts:
    479
    Light Probe Proxy Volumes on Android/GLES 3 was only enabled recently in Unity 2020.2.
     
  10. Salvador-Romero

    Salvador-Romero

    Joined:
    Jan 21, 2014
    Posts:
    54
    That was very useful as well, thanks! I just have had a look on the What's new on 2020.2 and even commented that on other thread where there was some confusion about the topic.

    Thank you for letting us know.
     
  11. transporter_gate_studios

    transporter_gate_studios

    Joined:
    Oct 17, 2016
    Posts:
    219
    any thoughts as to why a reflection probe would bake a black exr? windows platform

    Tried...
    setting the clipping distances
    setting objects to reflection probe static
    disabling/enabling HDR
    new scenes

    nothing. Im on URP 10.7 Unity 2020.3.17