Android Unity build issue with Internet connection
T
Tomasz. wozniak. mosina
started a topic
11 months ago
I'm encountering a very strange issue on the Argo device from Digilens. I know there is no official support for Argo now, but maybe it is not device connected issue.
An application that we are currently developing was working flawlessly two days ago. Now, it is unable to connect to the Internet.
An app without the SnapdragonSpaces SDK connects to the Internet.
An app with the SnapdragonSpaces SDK does not connect to the Internet.
I've tried several different methods to resolve this issue, including reinstalling SnapdragonSpaces Services, using various WiFi networks, making changes in Project Settings, and enforcing internet permission in AndroidManifest, changing Unity Editor versions. None of these have been successful. Also, when checking Application.internetReachability, it has the status: ReachableViaLocalAreaNetwork. But a simple request to https://google.com is failed (with error: cannot resolve destination host).
Other Android applications connect to the Internet without any issues. It's only the Unity-created applications, that after adding the Snapdragon Spaces SDK yesterday, are unable to connect.
I would appreciate any advice on how to resolve this problem. Is this a known issue?
Thanks Simon, Already tested this solution - it doesn't help.
Simon Steiner
said
11 months ago
Hi Tomasz,
You can try the following steps to verify that this bug does not affect your application:
1. Export your project to a gradle project by checking "Export Project" in the Build Settings.
2. In the exported project folder look for the AndroidManifest.xml files
3. Check if the internet permission has been stripped "<uses-permissionandroid:name="android.permission.INTERNET"/>"
If the files contain the permission, this bug does not affect your app and it is likely something else causing your internet troubles. In this case, please contact Digilens for futher support with the issue.
If the files don't, please elaborate on what steps from the solution article workarounds you took to mitigate the issue.
T
Tomasz. wozniak. mosina
said
11 months ago
Thanks, issue was solved with XR package update to newest.
Tomasz. wozniak. mosina
I'm encountering a very strange issue on the Argo device from Digilens. I know there is no official support for Argo now, but maybe it is not device connected issue.
An application that we are currently developing was working flawlessly two days ago. Now, it is unable to connect to the Internet.
This issue seems similar to the one discussed here: https://support.spaces.qualcomm.com/support/discussions/topics/72000788292, but the suggested solution did not work.
I've also created new applications for testing:
An app without the SnapdragonSpaces SDK connects to the Internet.
An app with the SnapdragonSpaces SDK does not connect to the Internet.
I've tried several different methods to resolve this issue, including reinstalling SnapdragonSpaces Services, using various WiFi networks, making changes in Project Settings, and enforcing internet permission in AndroidManifest, changing Unity Editor versions. None of these have been successful. Also, when checking Application.internetReachability, it has the status: ReachableViaLocalAreaNetwork. But a simple request to https://google.com is failed (with error: cannot resolve destination host).
Other Android applications connect to the Internet without any issues. It's only the Unity-created applications, that after adding the Snapdragon Spaces SDK yesterday, are unable to connect.
I would appreciate any advice on how to resolve this problem. Is this a known issue?
Hi Tomasz,
While it's correct that we don't officially support the Digilens platform at this time, this article may be related to your issue https://support.spaces.qualcomm.com/a/solutions/articles/72000615653.
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstSimon Steiner
Hi Tomasz,
While it's correct that we don't officially support the Digilens platform at this time, this article may be related to your issue https://support.spaces.qualcomm.com/a/solutions/articles/72000615653.
Tomasz. wozniak. mosina
Thanks Simon,
Already tested this solution - it doesn't help.
Simon Steiner
Hi Tomasz,
You can try the following steps to verify that this bug does not affect your application:
1. Export your project to a gradle project by checking "Export Project" in the Build Settings.
2. In the exported project folder look for the AndroidManifest.xml files
3. Check if the internet permission has been stripped "<uses-permissionandroid:name="android.permission.INTERNET"/>"
If the files contain the permission, this bug does not affect your app and it is likely something else causing your internet troubles. In this case, please contact Digilens for futher support with the issue.
If the files don't, please elaborate on what steps from the solution article workarounds you took to mitigate the issue.
Tomasz. wozniak. mosina
Thanks, issue was solved with XR package update to newest.
-
Does Snapdragon Spaces support Unity?
-
Unity Project Template Recommendation
-
Supported Unity Version
-
Bug: recurring Unity deployment error after the first deployment (manifest error, probably)
-
cannot download the Unity SDK
-
FATAL EXCEPTION No virtual method getDeviceProductInfo
-
Image target to 6DOF Tracking
-
Cant download Snapdragon Spaces Services
-
Can't create runtime tracked image libraries
-
What is the best way to upgrade an existing Spaces Unity project to a newer version of the SDK?
See all 165 topics