ValveSoftware / steamvr_unreal_plugin

SteamVR Input Unreal Plugin - Documentation at: https://github.com/ValveSoftware/steamvr_unreal_plugin/wiki Sample project (UE4.15-4.23): https://github.com/ValveSoftware/steamvr_unreal_plugin/wiki/sample/SteamVRInputPlugin.zip Sample Project (UE.424+): https://github.com/ValveSoftware/steamvr_unreal_plugin/wiki/sample/SteamVRInputPlugin_UEIntegrated.7z

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

4.22 UE4 ,Valve Index make my game error.

wayne-wwwTW opened this issue · comments

Before pakage,I test in project , is work.

After Pakage, error.

I use 4.22 ,and have same problem like him.
Link answers is work, But my game VR hands will not be work.
That is not I want.
answers.unrealengine.com/questions/940461/view.html

Thank for reading.
I try my best.

Hi Wayne - can you package a Debug build:

image

Run to reproduce the issue and send us over the resulting logs:

image

Thanks for your reply!!

I couldn't find Package Project / Build Configuration / Debug
未命名

So, I Package Development and run the game, I'm not sure if this is enough for you to find the problem. I still Looking for how to package Debug.
Logs 2021_4_28 上午 10_43_38

logs :
Work_0807.log

Hi Rune berg - I have new progress.
I download the Sample Project , and package it, is working .

And I use my Project to package the Simple project Level 【UEHands_SampleMap】.
Is doesn't work in game.
In Simple Level (Simple Project Level) ,It didn't crash game ,Just only can't control VR hands (Valve index).
In my own project level , it always crash game, and didn't show anything about error.

And both two ( Simple Level and mu own project level) Log, have repeat this paragraph.
【SteamController is not available】
Hope these processes can use it.

(All of the above are working in project edit.)

My own project log. ( error )
Work_0807.log

Simple project log. ( work )
SteamVRInputPlugin.log

I package Debug build , and Hey! is work!
And I back to build Development and shipping, is always error and destroy my game.

Debug Build - Work.
Work_0807.log

Development Build - Not work.
Work_0807.log

I will keep trying.

Hi @wayne-wwwTW. We need to generate the logs to see why the crash is happening. Include the debug files in your development build like so:

image

Send us a copy of your packaged build AFTER running once and crashing in your system. Make sure to zip all directories.

Thanks,
Rune

Hi @wayne-wwwTW - I cant seem to access that link, if you don't want to send a test build publicly, you can send a link to:
runeb@valvesoftware.com instead.

Cheers,
Rune

Hi @wayne-wwwTW -

Thanks for that - can you try removing on your project any haptic feedback for the controllers and let me know how that works for you in a packaged development build?

Also, is your project C++ or Blueprint only?

Thanks,
Rune

If you're building the plugin and not just using a pre-built binary, then your project is likely in C++. It seems your project uses invalid values for haptic feedback, so would be good to test on your end. I thought I made sure you cant feed the BP nodes and plugin functions invalid values but I could be mistaken or the offending values are coming from some project C++ code overriding the checks.

Hi @1runeberg -

I removed the haptic feedback, and the game no longer crashes.
But the strange is that I can't track the position of my hand(No tracking), but I can use the Valve index button (I use Left Thumbstick) to move my character(is work).

Also, everything is fine in Debug build.
Only Development and shipping build have this problem.

Here is Development build.
https://drive.google.com/file/d/14uBGLlxb-VpKPbadR5qKYiwR7BVhryaJ/view?usp=sharing

Closing and creating new github issue for the missing tracking as they are completely different issues