Cannot display Ovrvision image on Unity application - c#

I am Using Unity 5.4.0f3 Personal(32bit), I developed demonstration application to display camera picture and three-dimensional AR which I acquired in Ovrvision Pro on Oculus Rift.
So I place prefabs, OVRCameraRig (view point camera) and OvrvisionSDK (Ovrvision imaging) from package ovrvision_unity5_includeOVR.unitypackage, and locate moving 3D objects. I intend an application that the 3D objects are moving in front of the video captured at Ovrvision.
Placing image
However, Ovrvision seems not to be recognized. The inspector of OvrvisionSDK says "Ovrvision status closed". And pressing [Play] button, "Ovrvision Open Error" occurs.
Ovrvision Open Error on Play
And when I connect Oculus Rift into the PC, the Unity editor crashes.
The version of Unity editor is 5.4.0f3, and the firmware version of Ovrvision Pro is 1.1, the latest.
I started developing with Unity only one and half month ago, and I may misunderstand the role of various packages and prefabs of Unity.
Best regards,
ichihara456

I am not sure if this is the solution to your problem, but I had similar issues with ovrvision (not using Unity, though). Turns out that in my case one USB port I was using was not a USB3 port (needs to be blue).
Might be worth a try...
Good luck!

Related

Unity 3D freezing after leaving Game Mode (MRTK)

I've been working in a project some weeks now in a Mixed Reality project using Unity and MRTK and I've found a strange behaviour when adding screen capture to the application. I'm using Unity 2019.4.26f1, and I haven't found any issues so far but after adding this line of code
ScreenCapture.CaptureScreenshot("test.png");
into a script, I've realised that when I press Play and go into Game mode, everything goes correctly (the game starts, the screenshot is taken). BUT when I stop it and try to go into Play mode again, Unity freezes. If I don't press Play again, Unity still works until it tries to compile scripts or some heavy task like that, when it freezes and can only be closed with the task manager.
If I remove that line, Unity goes back to normal.
This issue cannot be reproduced in Unity 2020.3 LTS. Does this happen when the remoting play or in Editor? According to Choosing a Unity version and XR plugin - Mixed Reality | Microsoft Docs, if you target to HoloLens 2, please upgrade to the recommended 2020.3 LTS version that is stated in the document.
In addition, ScreenCapture is a Unity built-in class and if there are any usage questions, you may find support from Unity forum.

Unity editor frame drops on Mac

I'm trying to use Unity in a Mac but the editor drops frames all the time. It shows it's rendering 330 fps but still feels laggy and dropping frames, also enemy movement is weird (I think it´s because it's dropping frames). This doesn't happen on windows (I tried both platforms). Before I used metal, and it rendered 35 - 45 fps dropping frames too. When I switched to OpenGL it went up to 330fps. I think the problem is not performance, but incompatibility of some kind. When I play the game built for Mac it works well.
Any idea of what could it be?
Statistics using OpenGL:
Statistics using Metal:
Make sure metal is enabled in the editor (not just when you export the game).
https://docs.unity3d.com/Manual/Metal.html
in old unity version metal was not enabled by default on mac and you had to use -force-gfx-metal and start the editor with terminal command line.
If it still not working I'm not sure what you can try... maybe try also to change your screen res.
Remember that Unity editor always use more resource, if the game is working fine when you export the game you can ignore the problem.

Unity LogitechSDK cannot detect my G29 Steering wheel

I try to develop a driving simulator, I started with G27 steering wheel and everything works fine with LogitechSDK in Unity. But when I switch to G29, the SDK seems cannot detect the steering wheel. But by using Unity default crossplatform control, I can see Unity take the input from G29 just fine.
No Connection from SDK Picture
But Unity can detect disconnection and reconnection
I can't understand what happened here.
I can't solve your problem but would just like to share my experience in case it helps.
About a year ago, I too tried to build a driving simulator in Unity using the G29. I was able to obtain input from the G29. Some steps I took were to ensure that the Logitech Gaming Software application was installed and running, and to set up the InputManager for the joystick (you'll need to map out the controls).
However, I was unable to get the force-feedback to work, due to a bug on Logitech's part (I managed to contact their tech support, who was also unable to solve it). I haven't since been following the news of whether they've managed to fix it, perhaps you'd know (:

Does Google Cardboard SDK work with Unity 5?

I have converted my working project from Unity into Unity 5 and now the stereoscopic display doesnt work.
It seems like the stereoscopic effect doesnt work. The display is split in the middle, and the shader is applied, but it seems like there is only once camera. Like there are no eye cameras.
The weirdest thing is that everything works perfectly in the editor, but when I run it on device it seems like the cameras are disabled.
I went through and tried everything in the "known issues" in Cardboard SDK Release Notes, but nothing works.
Has anyone succesfully run a Cardboard game on Unity 5?
Yes, I have done. Mine isn't big one but has major things that can be said to be using UNITY features as well. I cant predict your problem as such but Answer to this post is certainly YES.
I don't think that anyone has posted this yet, but it appears that the SDK is currently broken in Unity 5.
From: Cardboard SDK Release Notes
Unity 5 rendering issues: As of Unity build 5.0.0f4, the following steps should be taken to fix or ameliorate any rendering issues, such as an all-black screen, flashing textures, or non-stereo views:
Enable the Development Build option in the Build dialog. This seems to fix various rendering glitches, like flashing textures.
The root cause of the rendering glitches is under analysis, with assistance from Unity.
I have also found that the app has rendering issues when it initially runs when you hit "Build and Run". Closing the app from the task switcher and restarting seems to resolve the issue.

Using Unity3D to render a character onto a Kinect WPF application

I am working on a project which requires me to render a virtual character onto the kinect video feed in which the player appears.
I am attempting to use Unity3D to accomplish this. I have looked at Zigfu but I don't think this directly helps. I still want to be able to send data from my C# WPF program to the game engine (I am forking my project off from kinect Fusion Explorer). Ideally Unity would be rendering the character and movement, my WPF program would be sending information to Unity about the landscape and running the Kinect feed.
Has anyone attempted this or have any idea how this could be achieved?
If this is not possible with Unity, are there other game dev libraries I could use to render a character onto the Kinect feed?
Thanks
If you want to send data via network (sockets) you will face problems with the size of frames. So my opinion is to use WCF. I'm not sure if it works for you, but this's how I managed it in my project (sending position and orientation)

Categories

Resources