Forum Discussion
excelynx
12 years agoHonored Guest
SDK v0.4 Discussion
Woo! SDK 0.4! Congratulations to the Oculus Dev Team! :D
I hope you're all having a well-earned break! I do however have a couple of questions for other devs:
Is anyone else having trouble getting a preview going in the Game View in Unity?
I have the runtime installed and everything works correctly when I build the standalone player, but the Game View is just blank gray and looks the same as if there were no cameras present at all. This is with the DK1.
IsHMDPresent() also doesn't seem to be functioning correctly at all when I don't have my DK1 connected. Anyone else having trouble with it?
Edit: I just wanted to go ahead and make sure the Oculus Dev Team knows that we really appreciate what they do!
Having worked with software ourselves I'm sure most of us know how horrible it can be when you work incredibly hard for a deadline and then there's immediate unexpected issues.
We're just all really excited about getting our projects updated and working for our imminent DK2s and want to help get all these bugs hammered out so we can all enjoy working with and playing with all the new DK2 features. :)
I hope you're all having a well-earned break! I do however have a couple of questions for other devs:
Is anyone else having trouble getting a preview going in the Game View in Unity?
I have the runtime installed and everything works correctly when I build the standalone player, but the Game View is just blank gray and looks the same as if there were no cameras present at all. This is with the DK1.
IsHMDPresent() also doesn't seem to be functioning correctly at all when I don't have my DK1 connected. Anyone else having trouble with it?
Edit: I just wanted to go ahead and make sure the Oculus Dev Team knows that we really appreciate what they do!
Having worked with software ourselves I'm sure most of us know how horrible it can be when you work incredibly hard for a deadline and then there's immediate unexpected issues.
We're just all really excited about getting our projects updated and working for our imminent DK2s and want to help get all these bugs hammered out so we can all enjoy working with and playing with all the new DK2 features. :)
64 Replies
Replies have been turned off for this discussion
- DarkAkumaExplorer
"excelynx" wrote:
Woo! SDK 0.4! Congratulations to the Oculus Dev Team! :D
I hope you're all having a well-earned break! I do however have a couple of questions for other devs:
Is anyone else having trouble getting a preview going in the Game View in Unity?
I have the runtime installed and everything works correctly when I build the standalone player, but the Game View is blank and looks the same as if there were no cameras present at all. This is with the DK1.
IsHMDPresent() also didn't seem to be functioning correctly when I didn't have my DK1 connected. Anyone else having trouble with it?
I'm getting this too. In my own demo and in the Tuscany package scene I imported into a fresh project. Just see the screen fade into grey. =( - excelynxHonored Guest
"DarkAkuma" wrote:
I'm getting this too.
Haha, I'm just glad it wasn't me doing something derpy again. :P
I'm also getting weird behaviour with lightning and shadows. It's almost like when shadows are enabled the normals are flipped or something - like the lighting is coming from the opposite direction, or there are shadows where there should be light. It's possible that the projection matrices are out of whack again. I'm using Deferred Lighting in Linear Color Space. That's in my own project, but I'll go ahead and do some tests in Tuscany too. - CurtisExplorerSame here. At first it worked, but with really choppy motion (even though the onscreen HUD claimed a solid 60fps, it felt like about 10). Then it went to black the next time I hit play, and finally editor-grey. Hrm :geek:
holy crap, I just reloaded the scene and it was the same old black screen. Hit play again and.. I don't quite know how to describe it! Things are seriously jacked up, it is like having your face pressed up against a giant 3D TV screen, it is perfectly square (everything is stereo, but you can look off the "edge" into blackness) and the rift rotation is moving all over the place on its own! response to head movement is completely wrong. Pressed play again, and it is even worse.
Yikes, these are some serious issues!
edit: Unity is up to date, new rift runtime installed, brand new project with only the tuscany package installed. - DarkAkumaExplorer
"excelynx" wrote:
"DarkAkuma" wrote:
I'm getting this too.
Haha, I'm just glad it wasn't me doing something derpy again. :P
I'm also getting weird behaviour with lightning and shadows. It's almost like when shadows are enabled the normals are flipped or something - like the lighting is coming from the opposite direction, or there are shadows where there should be light. I'm using Deferred Lighting in Linear Color Space. That's in my own project, but I'll go ahead and do some tests in Tuscany too.
I'm not getting that issue in my project at all. =/"Curtis" wrote:
Same here. At first it worked, but with really choppy motion (even though the onscreen HUD claimed a solid 60fps, it felt like about 10). Then it went to black the next time I hit play, and finally editor-grey. Hrm :geek:
holy crap, I just reloaded the scene and it was the same old black screen. Hit play again and.. I don't quite know how to describe it! Things are seriously jacked up, it is like having your face pressed up against a giant 3D TV screen, it is perfectly square (everything is stereo, but you can look off the "edge" into blackness) and the rift rotation is moving all over the place on its own! response to head movement is completely wrong. Pressed play again, and it is even worse.
Yikes, these are some serious issues!
edit: Unity is up to date, new rift runtime installed, brand new project with only the tuscany package installed.
It never worked for me at all. Just fades from black to grey, then stays grey.
I'm using Unity 4.5.1f3. I think theres a slightly newer version, but would like to know thats the issue before updating. - excelynxHonored Guest
"DarkAkuma" wrote:
I'm not getting that issue in my project at all. =/
It's quite possible it's related to ImageEffects then. While they worked fine in 0.2, they've had some pretty major issues lately. I'll mess around and experiment a bit and see if I can't narrow it down and then I'll report back. :)
Edit: Nope, not ImageEffects! A simple scene even with a directional light and hard shadow and no ImageEffects is completely messed up for me in Deferred (it looks completely fine in Forward, but obviously point light shadows don't work in Forward). The documentation says it requires Unity 4.5 (I have 4.5.0) but I'm going to try updating to 4.5.2 and see if that has any effect.
Edit: Unity 4.5.2 does not fix the preview issue or the Deferred Lighting issue for me. - CurtisExplorerI am using the most up to date Version of Unity, 4.5.0f6.
So the builds work fine, direct to rift and old school. They seem a little "twitchy" and over sensitive to me, more so then the "Oculus world" sdk demo (which didn't feel twitchy at all. In fact that demo seemed like the best tracking I have experienced yet).
edit: So unitys "check for updates" lied to me, unity 4.5.2 is out. I'll give it a go and see if it is any better. - DarkAkumaExplorerJust got around to checking, and it works once compiled. Just not in the editor. =/
- CurtisExplorerProblem solved! (for me anyways)
Ok, so here goes: I downloaded the latest version of Unity from there site:
https://unity3d.com/unity/download
started up the tuscany project and.... it was still borked. Just as bad as before. But I noticed that for whatever reason, DX11 was turned on. So I disabled dx11 and viola, it is working great! (so far)
So download the latest unity
make sure DX11 is off (this totally sucks btw, dx11 support is needed guys ;) )
and you should be good to go! - excelynxHonored Guest
"Curtis" wrote:
Problem solved! (for me anyways)
Ok, so here goes: I downloaded the latest version of Unity from there site:
https://unity3d.com/unity/download
started up the tuscany project and.... it was still borked. Just as bad as before. But I noticed that for whatever reason, DX11 was turned on. So I disabled dx11 and viola, it is working great! (so far)
So download the latest unity
make sure DX11 is off (this totally sucks btw, dx11 support is needed guys ;) )
and you should be good to go!
No luck there for me. I've already tried updating to the latest version of Unity and I made sure D3D11 was turned off earlier and I still have all three of the issues I listed. :( Thanks for sharing the update though! - sh0v0rProtegeYes I'm getting just a Grey screen as well, happened with the Tuscany Project. I managed to get it to work once but when I moved onto my project the issue returned.
I suspect it has a lot to do with the new driver and service.
I have to manually run the 32 bit service to be able to use the Config Uitl in Windows 8.1
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 4 years ago
- 11 months ago