Search Unity

Load Web Page In Unity

Discussion in 'Scripting' started by mholmes, Oct 3, 2018.

  1. mholmes

    mholmes

    Joined:
    Dec 8, 2012
    Posts:
    414
    I have looked around for a answer and found a few posts about plug ins but most people seem to be trying to load complex web pages. I'm trying to load a simple Log In or Create Account web page with in Unity. I would be shocked if Unity does not support rendering web pages within an application. It just seems like a really basic task. Is there a controller or library etc I can use similar to .Net? Can I use a .Net controller within Unity to load a web page within the Unity app?
     
  2. Brathnann

    Brathnann

    Joined:
    Aug 12, 2014
    Posts:
    7,188
    We've always had to use plug ins. Or, if we do the OpenURL call it just opens it in the users browser.
     
  3. mholmes

    mholmes

    Joined:
    Dec 8, 2012
    Posts:
    414
    Sorry maybe I misread, can you provide a code snippet sample like www.google.com or something. Thanks
     
  4. Brathnann

    Brathnann

    Joined:
    Aug 12, 2014
    Posts:
    7,188
    A video someone made of OpenURL.



    If you want a web page embedded in your app though, I don't think there is anything built into Unity, unless they added something.
     
  5. Mauri

    Mauri

    Joined:
    Dec 9, 2010
    Posts:
    2,665
  6. John-B

    John-B

    Joined:
    Nov 14, 2009
    Posts:
    1,262
    This doesn't work in WebGL in a browser, does it?
     
  7. zyotest

    zyotest

    Joined:
    Jun 12, 2019
    Posts:
    4
    Is there anyone having the .net framework problem when using SimpleUnityBrowser? I did install .net framework; however when I try to open the browser inside my windows application, the error keep popping out non-stop!
    I reinstalled .net framework and nothing changed. This happened on both 32bit and 64bit win7, does anyone have any idea?