Search Unity

  1. Are you interested in providing feedback directly to Unity teams? Sign up to become a member of Unity Pulse, our new product feedback and research community.
    Dismiss Notice
  2. Read here for Unity's latest plans on OpenXR.
    Dismiss Notice

2D web browser inside Oculus App

Discussion in 'AR/VR (XR) Discussion' started by nieyoub23, May 10, 2018.

  1. nieyoub23

    nieyoub23

    Joined:
    May 8, 2016
    Posts:
    27
    Is there a way to browse the 2D web inside of an Oculus app I am working on? So far I've only been able to find standalone apps where you can watch Netflix etc., or web browsers for desktops that let u look at 3D content. Im more interested in finding a way that I can incorporate a 2D web browser into my own VR app.
     
  2. greggtwep16

    greggtwep16

    Joined:
    Aug 17, 2012
    Posts:
    1,546
    Have you tried rendering browser content to a render texture/world space Unity GUI? I don't see why that wouldn't work.

    I'm pretty sure that's the approach the following asset took. https://assetstore.unity.com/packages/tools/gui/embedded-browser-55459
     
    Arkade likes this.
  3. LifeHackStudios

    LifeHackStudios

    Joined:
    Dec 7, 2016
    Posts:
    6
    I have been trying to look for exactly the same thing with no luck. the Embedded Browser in the asset store doesn't work with Android/Oculus go. But if you are looking for a Windows solution for the Rift/HTC Vive then the Embedded Browser may work.
     
  4. greggtwep16

    greggtwep16

    Joined:
    Aug 17, 2012
    Posts:
    1,546
    What issues are you seeing on the Go?

    Edit: I didn't mean with the asset store product but with the approach in general.
     
    Last edited: May 11, 2018
  5. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,624
    Embedded Browser just flat-out doesn't run on Android or iOS (at least, according to its description).

    So I too am curious how one would go about showing a web page on Go.
     
  6. greggtwep16

    greggtwep16

    Joined:
    Aug 17, 2012
    Posts:
    1,546
    I didn't mean to imply that that product works on Android, I was asking about the general approach. Embedded browser uses chromium embedded framework for the browser and that doesn't currently run on android so that's why it's not supported. The same approach just using a different embedded browser should work though if you pick one that does run on android. I'm not saying it's a small task, just that I don't see any technical hurdles to doing so.
     
  7. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,624
    Well, sure, in theory it's easy. But as for me, I hardly know anything about the android ecosystem — I have no idea if there is browser code provided by the OS that can be accessed by apps, and whether/how you could access it from a Unity app. If not, then you'd need to either make a native Android plugin (which I also don't know how to do), or find an HTML engine written in C# (which I haven't seen, though I confess I haven't looked).

    I agree with the general approach, but I'd love to hear if anybody knows of an off-the-shelf solution.
     
  8. Arkade

    Arkade

    Joined:
    Oct 11, 2012
    Posts:
    642
    Hi
    Ironically, I'm trying to provide something similar in my kids VR app to show them information about things. I came across PowerUI which, although not a general purpose browser, does provide quiet a lot of functionality -- hopefully enough for me. Depending on your needs maybe it might work for you? I have it running inside Cardboard/DayDream successfully but I have full control over the HTML content which I realize isn't viable for many :)

    I did notice ”Embedded Browser” had a page to register interest in Android support. It sounded like the best option if it were implemented! Have you done so? I can add my vote and I'm /sure that'll be enough/ ;-)

    Anyway I'll be listening for any better solutions you discover!

    R.
     
    JoeStrout likes this.
  9. nieyoub23

    nieyoub23

    Joined:
    May 8, 2016
    Posts:
    27
    Ok, thanks for the answers...doesnt seem to be a real solution and im surprised theres not an easy way available yet for developers.
     
    JoeStrout likes this.
  10. LifeHackStudios

    LifeHackStudios

    Joined:
    Dec 7, 2016
    Posts:
    6
    I do agree with the general approach and that it might be possible but unfortunately I have not been able to find a solution for Android/IOS like "Embedded Browser". :-(
     
  11. NotQuiteSmith

    NotQuiteSmith

    Joined:
    Oct 27, 2013
    Posts:
    88
    Hi - did you ever find a solution for the Oculus Go? Same situation here :-(
     
  12. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,624
    I haven't tried it, but I wonder if this might do the trick.
     
  13. NotQuiteSmith

    NotQuiteSmith

    Joined:
    Oct 27, 2013
    Posts:
    88
    Thanks - will take a look!
     
  14. billcousert

    billcousert

    Joined:
    Mar 5, 2015
    Posts:
    12
    I'm looking for a way to create multiple instances of the Oculus Browser inside a Unity VR project for mobile - specifically for the Oculus Quest and the upcoming Quest 2. This thread is more than two years old. Has anyone found a way to do this yet? I'm surprised nobody has created an asset for this.
     
    sammy_nayhouse likes this.
  15. fajarBinus

    fajarBinus

    Joined:
    Oct 20, 2020
    Posts:
    1
    Hey, it same here! i need embedded browser that can show power point for my thesis project, it seems bought https://developer.vuplex.com/webview/overview is the solution right now. But it's too expensive for me btw :(
     
  16. PlasticGlasses

    PlasticGlasses

    Joined:
    Jul 11, 2020
    Posts:
    1
    KyleStaves and JoeStrout like this.
unityunity