Skip to main content
Up and Coming
March 4, 2015

Unity 5: Reflection Probes don't work in build

Have a look at this test-scene. Reflections work just fine in the editor and with a normal camera, but as soon as I make a build and run it in VR, reflections are gone. I reported a bug to unity, but then again this might be something that oculus has to fix in the unity integration.



Anyone else got this problem? Any ideas how to fix it?
    This topic has been closed for replies.

    19 replies

    BLACKISHAuthor
    Up and Coming
    March 5, 2015
    Or this be a problem with RenderTextures in general?
    BLACKISH (Games) | GameAssets.net (Assets)
    BLACKISHAuthor
    Up and Coming
    March 6, 2015
    It's not. RenderTextures are fine on their own. Is the oculus integration doing anything special with render-textures that makes it go wrong?
    BLACKISH (Games) | GameAssets.net (Assets)
    Inspiring
    March 6, 2015
    I've installed almost every Unity 5 beta as they came along, and the behavior of reflection probes has changed several times. They were finally working for awhile and then they went back to being black (like in your screenshots) with the latest version I installed (release candidate 3). I haven't had a chance to investigate it. I believe release candidate 4 was the official public release, and I haven't tried that yet.
    BLACKISHAuthor
    Up and Coming
    March 6, 2015
    I first noticed this in f2 (but could have been a problem earlier) and the screenshots are from the final Unity release (5.0.0f4)
    BLACKISH (Games) | GameAssets.net (Assets)
    March 8, 2015
    I'm also seeing this... fine in editor, black in build
    Up and Coming
    March 8, 2015
    Rendertexture in general works. No problems with our OSD Textures.
    ______________________ mySite www.darkfield-vr.com
    Up and Coming
    March 8, 2015
    same here - although mine is only black when the ovrplayer controller enters the reflection probe boundary.
    I must say that its disappointing that Oculus haven't timed a Unity 5 integration in conjunction with the official release of Unity 5 - this is a major fail imo. C'mon guys you're letting things slip.......dont let HTC and valve blow the wind out of your sails!
    "Behind every successful man is a woman rolling her eyes" -Jim Carrey
    Up and Coming
    March 8, 2015
    Try this guys

    Ambient Flight Eagle Flight Experience Dinosaur Voyage Running from Dinosaurs
    March 8, 2015
    Edit2: I got real time Reflection Probes working in Rift. I switched the probe's refresh Mode to: "Every frame".
    Is it working properly? not sure, but Its working, although every frame sounds expensive... The issue seems to be "on awake", or at least in my case. Very curious to see if this helps you

    EDIT: I do get the Reflection Probe to work in Rift using Type "Baked" and bake my reflection probe in the lighting panel.
    Just not dynamic yet. My object is dynamic so I assume the GI options dont apply (Static only).
    Up and Coming
    March 10, 2015
    I can confirm that switching to Baked fixed this for me.

    Thanks HeadTrip!
    VR Jam 2015: Inside The Human Body Forum Post: viewtopic.php?f=77&t=23266