Announcement

Collapse
No announcement yet.

Patch for Vive Trackers support

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Is it normal that if I run the project in the editor on 4.18.3 everything works as expected, with no crashes, but if I package the project and try to run it, as soon as the 5th tracker is enabled it crashes again?
    So frustrating....please tell me that there is a solution for this
    ENTER REALITY

    VR Solutions

    Contact us for more informations

    Comment


      #17
      Originally posted by Enter Reality View Post
      Is it normal that if I run the project in the editor on 4.18.3 everything works as expected, with no crashes, but if I package the project and try to run it, as soon as the 5th tracker is enabled it crashes again?
      So frustrating....please tell me that there is a solution for this
      I only compiled dlls for Editor in 4.18.3 version. I use it for in-editor mocap, so it was enough for me. But 4.19 should work in packaged projects.
      Last edited by YuriNK; 04-12-2018, 01:40 AM.
      Markteplace: Vive Mocap Kit / Markteplace: VR IK Body Solver / Subtitles to LipSync / Stuff on Youtube

      Comment


        #18
        Originally posted by YuriNK View Post
        I only compiled dlls for Editor in 4.18.3 version. I use it for in-editor mocap, so it was enough for me. But 4.19 should work in packaged projects.
        Thanks for the reply, infact it just works in-editor, but I've recently upgraded a project from 4.16 ( where even in the packaged project there is no crash ) to 4.18.3, and I had a really bad surprise when I tested everything, mostly because I'm doing a tech demo for a potential customer, and the crash makes the entire upgrade worthless....also because I can't switch to 4.19 right now due to plugin compatibility, so I'm stuck with 4.18.3 or going back to 4.16, but doing half of the job again.

        It would be possible for you to compile also the 4.18.3 version dlls? I would try to do that by myself, but I'm not that familiar with coding
        ENTER REALITY

        VR Solutions

        Contact us for more informations

        Comment


          #19
          Originally posted by Enter Reality View Post

          Thanks for the reply, infact it just works in-editor, but I've recently upgraded a project from 4.16 ( where even in the packaged project there is no crash ) to 4.18.3, and I had a really bad surprise when I tested everything, mostly because I'm doing a tech demo for a potential customer, and the crash makes the entire upgrade worthless....also because I can't switch to 4.19 right now due to plugin compatibility, so I'm stuck with 4.18.3 or going back to 4.16, but doing half of the job again.

          It would be possible for you to compile also the 4.18.3 version dlls? I would try to do that by myself, but I'm not that familiar with coding
          Download UE4 sources and copy my fixed SteamVR plugin there (or just SteamVRController.cpp file), also, if you want to use it later with launcher version, copy EngineVersion.h from the launcher version sources to custom sources folder. Then package in non-editor configurations.

          Upd. And don't copy Binaries/Win64/UE4Editor.modules file to the launcher version of the engine. It's important.
          Last edited by YuriNK; 04-12-2018, 03:10 AM.
          Markteplace: Vive Mocap Kit / Markteplace: VR IK Body Solver / Subtitles to LipSync / Stuff on Youtube

          Comment


            #20
            Originally posted by YuriNK View Post
            Download UE4 sources and copy my fixed SteamVR plugin there (or just SteamVRController.cpp file), also, if you want to use it later with launcher version, copy EngineVersion.h from the launcher version sources to custom sources folder. Then package in non-editor configurations.

            Upd. And don't copy Binaries/Win64/UE4Editor.modules file to the launcher version of the engine. It's important.
            Thanks for the quick update, glad to receive those advices

            Can you clarify what you mean about "package in non-editor configurations"?
            I usually just build for win64 leaving all the options by default ( except for the Start in VR ), so I'm not sure if I'm doing something wrong, or if the crash happens no matter what.

            Anyway I'm waiting for a reply for the plugin I'm using for 4.19, and since you already answered to another person that it does work with 4.19, I can just update the project to 4.19 and everything will be good to go ( hopefully ).
            ENTER REALITY

            VR Solutions

            Contact us for more informations

            Comment


              #21
              Enter Reality
              I mean build configurations in UE4 C++ project (screenshot).

              Also, I think it makes sence to create empty 4.19 project with trackers and package to test before you update your main project.

              Last edited by YuriNK; 04-12-2018, 05:22 AM.
              Markteplace: Vive Mocap Kit / Markteplace: VR IK Body Solver / Subtitles to LipSync / Stuff on Youtube

              Comment


                #22
                Originally posted by YuriNK View Post
                Enter Reality
                I mean build configurations in UE4 C++ project (screenshot).

                Also, I think it makes sence to create empty 4.19 project with trackers and package to test before you update your main project.

                Thanks, I really appreciate the help!
                ENTER REALITY

                VR Solutions

                Contact us for more informations

                Comment


                  #23
                  Update:

                  With 4.19 no crashes! thanks god

                  OT: I just sent you a PM related to the Vive Mocap Kit
                  ENTER REALITY

                  VR Solutions

                  Contact us for more informations

                  Comment


                    #24
                    An update for 4.19.1 is planned in early May.
                    Markteplace: Vive Mocap Kit / Markteplace: VR IK Body Solver / Subtitles to LipSync / Stuff on Youtube

                    Comment


                      #25
                      4.19.1 version was tested with four trackers in editor, packaged developer+shipping configs.
                      Markteplace: Vive Mocap Kit / Markteplace: VR IK Body Solver / Subtitles to LipSync / Stuff on Youtube

                      Comment


                        #26
                        Hi YuriNK,

                        I have purchased your Vive Mocap Kit, and I'm have the issue of using 4 lighthouses with 3 trackers, and I just tried your patch via your instructions for 4.19.2 and it works when I launch an editor version of my project but if i package my project i get the same error as was mentioned before by DEHIVE. I've saved a zip of the log and crash log for the packaged project launch and PM'd you that as well. You had mentioned that 4.19 should be working packaged with the provided patch. As my issue is with having 4 lighthouses and 3 trackers, I was thinking it may be slightly different than DEHIVE's issue. Was hoping you could shed some light on what might be wrong.

                        Attached Files

                        Comment


                          #27
                          MagicBots
                          Hi,

                          * Did you try to launch the project with two lighthouses? Actually, I thought SteamVR doesn't support more then two lighthouses yet.
                          * Do you use input events from Vive Trackers (Steam Generic Trigger, Steam Generic Grip etc)? If yes, don't use them via Input mapping. Only direct events in blueprint.
                          * Try to package in Development configurtaion (File -> Package Project -> Build Configuration -> Development). Does it crash too?

                          Also, try to delete fully SteamVR plugin folder (Program Files\Epic Games\UE_4.19\Engine\Plugins\Runtime\Steam\SteamVR) with all containing files and replace it by this: https://drive.google.com/open?id=1WM...dSor1rZsLiBEzB

                          Sorry, I can't find zip archive with log.
                          Markteplace: Vive Mocap Kit / Markteplace: VR IK Body Solver / Subtitles to LipSync / Stuff on Youtube

                          Comment


                            #28
                            YuriNK , thank you so much for your work on this plug in. We had great success with it a few months ago using 4.18.3, but then after not using it for awhile we updated to the Vive Pro HMD and when we came back to it our inputs weren't working anymore (Steam Generic Trigger, Steam Generic Grip, etc). We tried calling it from the blueprint as well as input mapping and neither worked.

                            We have now switched to 4.19.2 to try to fix this and unfortunately its still not working for us. I have used the 4.19.2 patches in your first post as well as in your most recent one with no luck.

                            Anything I can do to help you find the source of this bug? Is it related to the recent change to SteamVR inputs by steam?

                            Comment


                              #29
                              Originally posted by AverInv View Post
                              Unfortunately, I don't have a hardware to test input. Can you check if input in this packaged project works? It should print messages like "TRIGGER', "GRIP' etc.
                              Also, try version of the patch (for 4.19.2) from my previous post.

                              Is it related to the recent change to SteamVR inputs by steam?
                              I didn't update my SteamVR for a while, but they shouldn't break backward compatibility.
                              Last edited by YuriNK; 06-04-2018, 12:49 PM.
                              Markteplace: Vive Mocap Kit / Markteplace: VR IK Body Solver / Subtitles to LipSync / Stuff on Youtube

                              Comment


                                #30
                                YuriNK , thanks for that. I will try that packaged project when I return home. I have already tried the version in your previous post and that didn't work either unfortunately.

                                if it helps, my blue prints are also now giving me warnings below the input events in the blueprint. They say:
                                InputKey Event specifies invalid FKey'Steam_Generic_Trigger' for Steam_Generic_Trigger

                                Please see attached.
                                Attached Files

                                Comment

                                Working...
                                X