Giter VIP home page Giter VIP logo

Comments (3)

zite avatar zite commented on June 3, 2024

I wasn't able to reproduce this after launching a mono build a dozen or so times. If you're still seeing this can you post a steamvr system report (directly after the issue happens) and the unity log?

from steamvr_unity_plugin.

dfitt avatar dfitt commented on June 3, 2024

Sure - logs attached.

The mono build of the throwing scene did not show controller models and the held ball did not track with controller motions (but throwing still worked). The il2cpp build was fine.
Failure_monoBuild.zip
Success_il2cppBuild.zip

There's another unity user with the same issue here:
https://forum.unity.com/threads/steamvr-showing-wrong-headset-id-controller-render-models-showing-in-editor-not-in-a-build.1498628/#post-9384725

from steamvr_unity_plugin.

MiddleManGames avatar MiddleManGames commented on June 3, 2024

Yeah I'm having the same issue. Here's where I am with it.

I'm trying to use the SteamVR render models to display the controllers in game. This works fine in the editor and shows the right models. In a build the tracking and input is still fine, but I don't see any controllers.

I'm using the standard steamVR rig. I've tested with the sample scene included with the plugin and it's exactly the same. I've tried uploading to steam and running as a steam app and it's the same.

The problem seems to be how steamVR see the headset. In the editor I get this:

[SteamVR] Initialized. Connected to oculus : Oculus Rift CV1 : WMHD283N4005TS :: rift

In a build I get this:

[SteamVR] Initialized. Connected to 捯汵獵 : 捏汵獵删晩⁴噃1 : 䵗䑈〳丳〶㔰䙅 :: 楲瑦
[SteamVR] [Model] Render model does not support components, falling back to single mesh.
[SteamVR] Failed to load render model 捯汵獵损ㅶ损湯牴汯敬彲敬瑦 - InvalidModel
[SteamVR] [Model] Render model does not support components, falling back to single mesh.
[SteamVR] Failed to load render model 捯汵獵损ㅶ损湯牴汯敬彲楲桧t蹄䐄Ώਜࡄ䐃Јࡄ䐅ఈࡄ䐍จࡄ - InvalidModel

If I delete the 3 SteamVR folders from assets and load the project, then uninstall and reinstall OpenVR, then reinstall the SteamVR plugin, come out of safe mode, and do a build... then the build if fine and has controllers.

If I then restart unity and do another build, the build does not have controllers.

If I use a build that works and apply the steam DRM to the exe (even in compatibility mode), then the controllers stop working.

I've now tried using IL2CPP based on this post, and the build was fine, but again adding DRM breaks it.

In all these cases I have saved the builds and can consistently load them with the same results.

from steamvr_unity_plugin.

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.