• 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
1
Question by miltonwidowgames · Nov 22, 2016 at 09:05 AM · androidandroid buildmanifestlinklinking

Deep Linking to specific Scene in Android build

Hi!

We want to make a deep link to open our Unity game on a Specific Scene, but cannot find a way to do it.

Now we can generate the deep link to the App itself by adding these Intent Filter lines to the AndroidManifest file generated in the Unity Project (between the … tags):

 <intent-filter>
     <action android:name="android.intent.action.VIEW" />
              <category android:name="android.intent.category.DEFAULT" />
             <category android:name="android.intent.category.BROWSABLE" />
             <data
                 android:host=“game_name”
                 android:path="/"
                 android:scheme="open_app" />
 </intent-filter>

If we open this link on the Android phone, the Unity app opens: intent://game_name/#Intent;scheme=open_app;package=com.enterprise.game_name;end

But it always opens in the main scene.

We can’t find a way to add another Intent Filter to open a different scene when a link is clicked outside the app.

We’ve searched everywhere with no luck.

Anybody knows how to do this?

Many thanks for your help!

Comment
Add comment · Show 2
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 DVFrance · Jun 15, 2017 at 09:48 AM 0
Share

Same for me ! I'm stuck on this since a while it driving me crazy :)

If someone have any infomations about this it will help a lot.

I'm trying to do this on both Android and iOS.

Thanks

avatar image muhammad-qasim161 · Feb 12, 2020 at 01:25 PM 0
Share

@miltonwidowgames did you find any answer and also could you please help me to integrate deeplinking in my app ,Did Anybody find any answer or any video link to do this?

0 Replies

· Add your reply
  • Sort: 

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

AndroidManifest.xml file locations 0 Answers

Unable to merge Android Manifests 1 Answer

Android build failes because of manifest 0 Answers

ECS on Android phone issue 0 Answers

Android and Oculus builds from the same project 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges