Hello,
In editor mode when I take off my Oculus Rift S the scene is visible and continues to run, but when I compile it for Windows the monitor screen turns black 2 seconds after the Oculus is taken off.
Is there a way continue to see the scene with Oculus Rift s removed or to put some kind of message screen “Please put on glasses”.
I got something similar, It’s not rendering a black screen but the last two frames and it “flicker” now. I can’t use the 2d screen anymore.
It seem to also broke my loading in the final build, I now need to put the headset to start the game because if not it broke the character texture loading for whatever reason.![]()
Everything is working fine in the editor however.
I recently moved from Unity 2019.1 to 2019.2.6 with LWRP. I wonder if it’s something related to LWRP or 2019.2?
Now I need to fix this issue, but I don’t even know what cause it so that will be hard ![]()
Edit: Tried to update to 2019.2.8 but it’s still the same
I too have the same problem, but I don’t know what to do with it. I thought you guys would help ![]()
We also had this issue of screen flickering when the hmd is taken off. We used Rift S, VRTK and Unity 2019.2.21 with LWRP/UWRP (or whatever it’ll be called in the future).
edit: In 2019.3 the flicker seems to be gone, but instead it’s distorted.
Here’s a tiny script to avoid it. Detect if the headset has been removed (with user.Present) then disable the camera that would flicker, for Oculus that’s CenterEyeAnchor. But then the screen is completely black, nothing is rendered. We added a canvas that says “Put on the Headset!”, but you could easily switch to another camera instead, giving you a view of the scene.
public class ScreenBlock : MonoBehaviour
{
[Tooltip("GameObject to block the Screen with eg. ScreenSpace Canvas")]
public GameObject screenblock;
[Tooltip("GameObject with camera to disable eg. CenterEyeAnchor for Oculus")]
public GameObject cam;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
if(OVRPlugin.userPresent)
{
screenblock.SetActive(false);
cam.SetActive(true);
}
else
{
screenblock.SetActive(true);
cam.SetActive(false);
}
}
}
Hi, I’ve also facing the same issue sometime with my monitor. Whenever I am working on my laptop for a longer period of time suddenly the screen color goes black. This is because of the screen flickering issue which is found in lots of the monitors. Here is the detailed guide on screen flickering to fix it.
If your problem is still not solved with this, then try to get in touch with your customer care, they will surely provide some solutions for the same.