4.22 UE4 ,Valve Index make my game error.
wayne-wwwTW opened this issue · 13 comments
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 :
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:
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
Oops!
Sorry, I forgot to set it public.
Try it again.
https://drive.google.com/file/d/1_UQYLalvZZ6Lbx2CNDu_YkUBHWZ97oH4/view?usp=drive_web
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