Coder Social home page Coder Social logo

Builds from Unity freeze in HMD about osvr-unity HOT 9 OPEN

amigax avatar amigax commented on July 29, 2024
Builds from Unity freeze in HMD

from osvr-unity.

Comments (9)

amigax avatar amigax commented on July 29, 2024

I dont know why but this has stopped happening, I could use lower res than hd to stop it but now it isnt happening at all.

from osvr-unity.

nanospork avatar nanospork commented on July 29, 2024

Just wanted to voice that, after a fresh Windows install, I had this happen too!

Started up a build in Direct Mode and the screen was frozen. Dropped the resolution and it works fine. Went back up and it started up frozen again.

Will report back if it also magically goes away after some time.

from osvr-unity.

amigax avatar amigax commented on July 29, 2024

yes I still observe this in "good" or higher quality around 50% of the time.

from osvr-unity.

nanospork avatar nanospork commented on July 29, 2024

Yeah, I'm running into the issue again, in both Direct and Extended mode, even when setting the app at a lower resolution. Happens even with the new package build provided in #208.

from osvr-unity.

nanospork avatar nanospork commented on July 29, 2024

Playing around with the quality settings, it looks like it may be related to V-sync.

@amiga Can you try disabling V-sync to see if that gets rid of the problem for you as well? (Edit->Project Settings->Quality; go through each of the Levels and set V Sync Count to "Don't Sync")

I seem to remember reading somewhere that it was recommended to turn V Sync off for VR (possibly OSVR specifically) anyway.

from osvr-unity.

DuFF14 avatar DuFF14 commented on July 29, 2024

Correct, V-sync should be set to "Don't Sync"

from osvr-unity.

DuFF14 avatar DuFF14 commented on July 29, 2024

@amiga any updates on this issue? are you using HDK2 or another HMD?

Regarding you original post, there shouldn't be any compatibility issues with OSVR-Core and OSVR-Unity. If Rendermanager fails to create, it's more likely a driver, hardware, firmware, or configuration issue.

Not sure if this helps but FWIW, my workflow is to install the latest OSVR SDK from here, and then download the latest Unity package from here, replacing the one in my existing Unity project by closing the project, opening it again, and importing the package before hitting play. If RM fails to create in Unity, I run the RenderManager example programs included with the SDK to see if it's just a Unity issue or not. Usually if there's an issue, the RM example programs won't work either, then it's a matter of troubleshooting the issues mentioned above. If the RM examples do work and RM still fails in Unity, I test a fresh import of the plugin in a new project.

Definitely make sure your firmware is updated if you are using HDK, there are some known issues with direct mode with older firmware.

from osvr-unity.

amigax avatar amigax commented on July 29, 2024

HDK2 with newest firmware (hdk2svr-2.00.hex) I am still getting it in good quality or above, I am sticking to "fastest" to avoid it. To be honest I have not tried turning off vsync yet, I need to give that a go.

from osvr-unity.

DuFF14 avatar DuFF14 commented on July 29, 2024

Confirmed that vsync causes a freeze.

from osvr-unity.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.