Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
4
Question by anilhdas · Jan 12, 2017 at 06:40 AM · weburlwebpage

How to load a webpage inside an Unity3d application?

I am in need of displaying a webpage inside my Unity3d app (for implementing Single Sign On for my game).

I read about 'Application.loadURL()' method, but it opens up the link inside the default browser app.

I need to display the webpage in the app screen itself (something like WebView in Native Android SDK)

Kindly guide me if it is possible natively or through any plugins?

Any information on this topic will be welcomed.

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image saud_ahmed020 · Jan 12, 2017 at 06:47 AM 0
Share

@anilhdas I thing you must write your own plugin for this. There is following guide link. How to create android plugin for Unity.

http://www.thegamecontriver.com/2015/04/android-plugin-unity-android-studio.html

Best of luck!

4 Replies

· Add your reply
  • Sort: 
avatar image
6
Best Answer

Answer by anilhdas · Mar 23, 2017 at 10:14 AM

Thank you @saud_ahmed020.

As me and my team-mate figured it out the hard way,

Unity doesn't natively support displaying a live web page as a part of the game (Makes sense since Unity is not primarily built for that).

But there are various assets available in Unity's asset store like this one which enables the functionality for you.

Hope it helps someone who is searching for similar requirements. Happy developing :-).

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image jumanshettymj · Jul 15, 2018 at 06:18 AM 1
Share

I need to open payment URL in webview inside unity. Till here I'm successful using uniwebview plugin for unity. Now after I enter the card details on the payment page, n click pay now, a new page should popup open for entering a password but this popup is not supported in webview. I need your help to allow this second popup to open as well. Do you have any idea to tackle it

avatar image yashpatel59684 · Sep 07, 2020 at 08:19 AM 0
Share

@jumanshettymj did you find out for payment? I'm also stuck here and if yes how did you manage callbacks of success and failure?

avatar image
2

Answer by vuplex · Jan 20, 2019 at 07:22 AM

If you're interested in displaying the web content in 3D, check out my 3D WebView plugin for Android, iOS, Windows, macOS, and UWP. It provides a prefab and simple API that makes this really easy.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ShahinBhai · May 22 at 09:00 PM 0
Share

How to add webview without Pluging ?

avatar image vuplex ShahinBhai · May 23 at 07:33 AM 0
Share

Unity doesn't have a built-in webview, so a plugin is needed.

avatar image
1

Answer by ramkesh · Jun 04, 2019 at 09:12 AM

Here is free Plugin for Unity Android and iOS. Web view . For reference check out my Tutorial.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Mayank516 · Aug 31, 2021 at 03:56 AM

I have resolved it by using a native plugin from unity assed store. Plugin is very descriptive and easy to use.

Link for Android Web View plugin is : https://assetstore.unity.com/packages/tools/integration/web-view-in-android-196400?_ga=2.204559507.2019751075.1630346393-1210468855.1614581919

Link for iOS Web View plugin is : https://assetstore.unity.com/packages/tools/integration/web-view-in-ios-96858?_ga=2.204559507.2019751075.1630346393-1210468855.1614581919

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

66 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

WebGL game not working at all! 1 Answer

Get the current url ? 1 Answer

How do I open a web in a VR browser from a Gear VR app? 0 Answers

WWW does not show Location in header response (302/Redirect) 1 Answer

Display a (working) webpage inside of unity using flash? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges