x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Web Browser Widget not working with Widget Interaction Component in VR

The Widget Interaction Component (WIC) doesn't seem to be working correctly with the Web Browser Widget in 4.18.3 I have tested this with VR, with both the Epic Games Published version of 4.18.3, and also the Github Source. The WIC is either able to click on the Web Browser, OR other widget buttons, but not both.

To see the problem, reproduce the following steps.

  1. Create a new project with the VR Default Template.

  2. Create a Widget with the Web Browser.

  3. Add some test buttons to the Widget alongside the Web browser.

  4. Add the widget to a new Blueprint, and place it in the level.

  5. Add a Widget Interaction Component to the player, and create it so it fires the "Press Pointer Key" node upon button press.

  6. Play the level.

When playing, you are able to hover over the Web Browser buttons, but cannot click anything in the web browser properly OR, you will be able to click on items in the Web Browser but cannot click on the Test buttons outside the web browser.

I have discovered that if two Widget Interaction Components are created, one of them will only work with the Web Browser, and the other will only work with buttons outside the Web Browser.

This may have something to do with the Web Browser plugin not being updated according to the addition of Widget Interaction Component Pointer Indexes.

Product Version: UE 4.18
Tags:
more ▼

asked Feb 22 '18 at 02:23 AM in Bug Reports

avatar image

Davis3D
96 2 9 13

avatar image Davis3D Feb 22 '18 at 02:44 AM

A temporary solution to anyone else who has this problem, is to do the following:

  1. Make a Seperate Web Browser Widget Blueprint. Don't put any buttons in this. Put your buttons in a different Widget Blueprint.

  2. Create a Widget Interaction Component in the BP_MotionController. On begin play, the default VRPawn will create the Left hand first, and the Right Hand second. This is important.

  3. In the VRPawn's Blueprint, on Begin Play, you need to detach, move and attach the Left hand's WIC to the right hand so that it has the identical transform the Right hands WIC.

  4. When your 'click button' is pressed, you want to get both WIC's and check whether they are pointing at the Web Browser Widget. You can do this by following this screenshot: alt text

  5. If your WIC's are pointing at the Web browser, then you want to "Press Pointer Key - Left Mouse Button" for the WIC that originally came from the Left Controller (the WIC that was created first)

  6. If the WIC's are not pointing at the Web browser, "Press Pointer Key - Left Mouse Button" for the WIC that originally came from the Right Hand (The WIC that was created last).

But doing this, you will essentially fix the issue.

branch.jpg (151.1 kB)
avatar image Sean L ♦♦ STAFF Feb 22 '18 at 02:14 PM

Hello,

We've recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://forums.unrealengine.com/unreal-engine/announcements-and-releases/1410408-unreal-engine-bug-submission-form

Thanks

avatar image Quentindefou Jun 20 '19 at 05:25 PM

Hello, I think this is still not resolved on 4.22, is there a bug report I can follow or any upates?

Thanks

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question