Forum Discussion
sanchuan
9 years agoHonored Guest
Unity 5.4.2 build application but I got black screen
When in Unity I can run it ,but after building I got black Screen.It seems that Oculus Runtime isn't work. I used Unity OVRPlugin only!I am sorry my bad English.
Thanks :)
Thanks :)
23 Replies
Replies have been turned off for this discussion
- vrdavebOculus Staff> When in Unity I can run it ,but after building I got black Screen.It seems that Oculus Runtime isn't work.
If VR is working in the editor, but not in your standalone build, make sure you've enabled VR support in the player settings and included Oculus in the list of VR devices. We have seen an issue where VR sometimes fails to load if a Unity app is installed to a folder with non-english Unicode characters in the path. Can you share <appname>_Data/output_log.txt from a run with the issue? - negatronixExplorer
Hi Everyone... I am also having this same issue. My game runs beautifully in the Unity Editor, however does not show up after I hit build and run(Can't run in Rift from the desktop) VR is enabled in player settings, and Oculus shows as a VR device like vrdaveb mentioned in a post above.
I am using Unity version 5.5.0f3 64bit and DX11.. I am using a retail/consumer Oculus Rift purchased just before Christmas.
I downloaded the Oculus SDK.. however I wasn't sure if there is a specific location to place it. It did not have a setup/install option?? I also downloaded the Oculus Utilities for Unity 5 and installed the package.
When I search for info related to this.. Most of what I read says that I should set my Rift as a display in windows via right click the desktop and extend my display... I do not see the Rift listed as an option for a display, and when I click identify nothing is found. There is also mention of an Oculus Display Driver.. where do I get that if it is not installed during the initial setup of the Rift?
Any help would really be appreciated,
Thanks... btw I am also new to this forum
-Kory
- vrdavebOculus StaffUnity's built-in VR support should "just work" if you've installed the Rift Runtime and enabled VR in your project. Here is a list of the supported versions of Unity. If you still see the same issue with 5.5.0p1, please send <AppName>_Data/output_log.txt and a copy of the build for us to debug.
- negatronixExplorer
Thanks for your reply vrdaveb.. I am fairly certain that this is not related to Unity but the lack of the Rift being identified as a second display via windows. I am downloading and reinstalling the Oculus runtime now. I'll post the results back.
Just to be sure.. A member on the Unity forum mentioned that I need to sign the app to be able to view it. Would this be the case to run a build from my desktop. My Rift is set to run unsigned apps in the general settings.
Thanks,
-Kory
- vrdavebOculus StaffSigning with the OSIG mechanism is a Gear VR thing and dooesn't apply to Rift apps. Does any app, such as Oculus Home run on your Rift?
- negatronixExplorerYes.. if you are referring to the app where you select games etc.. yes that works, as well as a few games that I've installed.
- vrdavebOculus StaffCan you share output_log.txt from the app that isn't working?
- negatronixExplorerSo after reinstalling the Oculus software nothing changed. This is super frustrating!!
- BravezebraExplorerHi,
I think that I have the same problem... I'm have this message on the log: Security error. This plugin is invalid!.
I've already watched that in other posts you've recommended to install a redistributable package. It hasn't work for me. I am also working with the last SDK and Tools and Unity 5.5.0f3.
Any recommendation?
Cheers, - negatronixExplorer
Update-- I am still unable to see a build from Unity on my Oculus rift. I have installed current drivers for my video card, made several attempts at reinstalling the Oculus SDK, and the Unity tools.After installing the latest drivers for my video card--The only thing that has changed is this.. I now see, only at times.. seems to be when the editor is open and I run a build of my game from the desktop: When I put on my Rift there is a message saying that Unity is taking a long time to load, please check the App. The game is rendering on my desktop as it does in the editor, but not on my Rift.
There are no visible error messages to log, and no messages in the Unity Console.. If there is a specific place to grab output, please point me where to go for it.
My system is: Win 7 Pro SP1 64bit, i5 processor, 8 gigs of ram, Asus Rog Strix 1080.. I have been able to run several games from the Oculus store without issue and incredibly smooth, the demo house that came with one of the packages that I downloaded, and anything within the Unity editor.. Just seems to be a disconnect when I run a build from my desktop between the game app and it connecting properly with the Rift.
Sorry to be redundant, I am not sure where to get the info that you have mentioned..
vrdaveb said:Unity's built-in VR support should "just work" if you've installed the Rift Runtime and enabled VR in your project. Here is a list of the supported versions of Unity. If you still see the same issue with 5.5.0p1, please send <AppName>_Data/output_log.txt and a copy of the build for us to debug.
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
- 2 years ago
- 2 years agoAnonymous
- 3 months ago