Search Unity

[SOLVED]Issue with Baked Reflection Probe in Build

Discussion in 'Global Illumination' started by sputnikbar, Apr 10, 2015.

  1. sputnikbar

    sputnikbar

    Joined:
    Jan 3, 2013
    Posts:
    78
    Hi,

    I've played a little with the GI in the new Unity, everything seems fine except when I'm trying this :
    - I create a Reflection Probe, choose the bake option, with Box Projection for a room with a mirror.
    - everything is fine in Edit mode
    - when I'm building (target : webplayer), the mirror is black.

    Any ideas ?

    thank you,
    L.
     
  2. Kuba

    Kuba

    Moderator

    Joined:
    Jan 13, 2009
    Posts:
    416
    Hey, this is what I see in the simplest possible scene where I tried to recreate your setup in Unity 5.0.1f1.
    2015-04-10_15-50-03.png
    Project with the webplayers made in both the continuous and non-continuous mode attached.

    Please take a look at it and compare with your approach. If you can't find any reason for it not working, please submit a bug report.
     

    Attached Files:

  3. sputnikbar

    sputnikbar

    Joined:
    Jan 3, 2013
    Posts:
    78
    Hi,

    thank you for your quick answer... However, I didn't manage to open the attached files in any unity project and I've got an error when I try to open the 2 html files...
     
  4. Kuba

    Kuba

    Moderator

    Joined:
    Jan 13, 2009
    Posts:
    416
  5. sputnikbar

    sputnikbar

    Joined:
    Jan 3, 2013
    Posts:
    78
    Hi,
    I've found the issue :
    I baked the scene, then added the probes and baked the probes.
    The correct order is to add the probes and then bake the whole stuff.
    So problem solved !
    thanx.
     
  6. xLeng

    xLeng

    Joined:
    Feb 12, 2014
    Posts:
    19
    So one can not add reflection probes after the scene has been baked? Can someone confirm this ? I currently having a issue of losing baked reflection probes. ( the baked cube maps are there but they are no longer associated with the probes.