cancel
Showing results for 
Search instead for 
Did you mean: 

Grey rectangle in view

Hyper_active
Explorer
Hi All,

So I've setup OVR 0.4.1 in my unity project and I get this grey rectangle in the middle of my view when I press PLAY. Everything works but I can't see much because of this big grey rectangle... I've attached an image of it.
It happened in another game of mine and then disappeared after I'd deleted the OVRMainMenu script and put it back it.
But now this just won't go away in this game.

Any ideas?

Thanks

AB
14 REPLIES 14

CubicleNinjas
Protege
This issue is driving me mad. Screenshot below for reference. Looks identical to the above.



Example of a new scene:


I also deleted the OVR and reimported. It did work for a time but now also won't go away after a reimport, app restart, or computer restart. It all began with OVR 0.4.1

Things I've tried:
• New scenes don't fix it.

• New projects with a fresh import of the OVR do. So I figured it was an interaction with a script or asset in my project.

• Started removing assets and plugins to see if something was interacting. Removed everything but terrains. It still remained.

• Tried reverting to an old project where it appeared less, but no luck.

• Builds worked for the first run of the app, but on the third the rectangle returned.

My guess is that its related to the health warning screen. Looking into the disable thread to see if this solves my problem while developing to reactivate after.

It may be unrelated, but Unity bugs on playing the scene. For 1 second I see some beautiful random glitch art like the below. This only began around the time the rectangle appeared. These glitches then appear in my textures. Randomly. :cry:



System info:
Macbook Pro
2.3 GHz Intel i7
8GB DDR3 ram
OS X 10.93
Unity 4.5.3f3

Hoping someone out there brilliant has solved this before!

CubicleNinjas
Protege
Turned off the health warning and found the gray rectangle remains.

It is also unrelated to any UI. Removed all menus and menu assets from project and it appears.

Hyper_active
Explorer
Hi

Yes I've also tried many many things and it still doesn't change anything. It's not even a GUI or anything like that.
What i have done though is restart my project a dozen times till the grey rectangle disappears.
But then it comes back later. So it's not even a constant issue in the program. It DOES disappear at some point. Just not for long...

Still working on it. This is really annoying.

MattSimpson
Honored Guest
I'm getting the same issue with the Tuscany demo in Unity on Mac OS X (i.e. Game view shows white/grey rectangle in the middle of the screen).

Anybody manage to determine root cause for this, and/or identify a fix or workaround?

EDIT: I built a Mac Standalone Build from the same project and the issue does not occur when running the app, so the issue only seems to occur within Unity.

DK2
Unity 4.5.3f3
Mac OS X 10.9.4
SDK 0.4.1
Firmware: 2.11

CubicleNinjas
Protege
@Arnaudbaernhoft

Same here. Restarted a few times and it will creep its way back in. Now it won't leave my latest. I can even remove all items from the project and it is there on relaunch.

/cry

@MattSimpson

Did you try launching the build more than once? I've found the first build does not have the rectangle, but following launches can. My third launch seems to guarantee it.

vrdaveb
Oculus Staff
Do you have an additional HMD plugged in? You could see this behavior if DK1 and DK2 were both plugged in.

kersk
Meta Employee
Alternatively, are you developing without an HMD plugged in at all? Does this issue go away when an HMD is plugged in?

LordAx
Honored Guest
Hello everyone.

I'm having the same trouble here. Gray rectangle in the middle of the view on every scene (Tuscany and my own). I tried to play with the view distances without success.

Any progress on the cause on your side ?

blacklemming
Honored Guest
I had the same issue and I found it related to the "quality" selected at startup.
(my HMD is not connected at the time i'm testing)

It appears to be kind of "random", check it out :
I run in fullscreen, 1680x1050, a standalone mac os APP built with latest unity pro 4.

First serie of test :

Fantastic : no rectangle
Beautiful : gray rectangle (like on screenshots posted by members above^^)
Good : no rectangle
Simple : black rectangle
Fast : no rectangle
Fastest : gray rectangle

Second serie of tests : (same settings, same resolution, same application)

Fantastic : Black rectangle
Beautiful : Black rectangle
Good : Black rectangle
Simple : no rectangle
Fast : black rectangle
Fastest : no rectangle

Third serie of tests :

Fantastic : Black rectangle
Beautiful : Gray rectangle
Good : Dark-gray rectangle
Simple : Gray rectangle
Fast : no rectangle
Fastest : White rectangle

Hope it helps figuring it out 🙂