Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Godot crashes when I open the project. #227

Open
Xeyod opened this issue Jul 27, 2022 · 3 comments
Open

Godot crashes when I open the project. #227

Xeyod opened this issue Jul 27, 2022 · 3 comments

Comments

@Xeyod
Copy link

Xeyod commented Jul 27, 2022

After I installed the addon into a project then I open it, godot freezes and very slowly loads these “vr_glove” assets like normals and color.
The only thing it tells me is this:

image

After some time the project dose load, and godot continues as normal, but it’s every time I open the project. I’d like to know what is causing it, or did I mess it up. Do I have to download the hand models myself?

I’m on a a 64 bit windows pc if that helps too.

@Malcolmnixon
Copy link

I believe you're just seeing the large startup delay while it converts the valve hand images (50MB of jpg and png images) into textures.

I avoid importing the valve hand models for that reason, and instead use the godot-xr-tools hands which are tiny (50KB meshes).

It would also be possible to resize the valve-hand texture images to lower resolution (such as 1K x 1K) to save space and make the initial import roughly 16 times faster.

@Xeyod
Copy link
Author

Xeyod commented Jul 30, 2022 via email

@Malcolmnixon
Copy link

Godot-xr-tools is available on the asset library (2.5.0 as of writing this). Once imported I tend to make a player rig as follows:

  1. Create a new PlayerRig scene inherited from first_person_controller_vr.tscn (in godot_openxr)
  2. Add LeftHand.tscn and RightHand.tscn (from godot_xr_tools) as children of the left and right controllers.
  3. Adjust the hand positions to better match the real player hands [-0.03, -0.05, -0.15] for LeftHand, and [0.03, -0.05, -0.15] for RightHand.
  4. Add movement providers as desired - direct movement, turning, jumping, climbing, flying, gliding, grappling, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants