Unity project cannot be loaded into glasses

Since I cannot reproduce the issue on my end, I can only make some guesses. One possibility could be a compatibility issue with your phone. Another potential issue is that HelloMR requires certain permissions the first time it is installed. Could you check if you have granted all the necessary permissions to HelloMR?

When I installed HelloMR at first, the permission I had to give was to download external files, and when I checked for any permission grants after that, there were no permissions required.

Edit: What sort of compatibility issue could be the problem? Is the Unity project?

No, just our glasses might not be compatible with S22+.(But we’ve tested S22, which is perfectly compatible, it is a bit strange.)

I just uninstalled and reinstalled HelloMR, and there are two permissions that need to be granted:

  1. Show on top (a small icon appears in the corner when the app is in the background, like Nebula).
  2. Allow HelloMR to access photos and media on your device.

Could you check if you have granted these permissions and try again?


Okay, I will uninstall and reinstall and record the process. Will get back to you.

Edit: So I have reinstalled helloMR, and it is the same situation. However, when I tried to download another file from this thread: NRSDK 1.10.2 Apps crash after 10 minutes of run-time - #4 by martdob

I added the video (reinstall_helloMR) of me installing helloMR and me trying to open it, and it only prompted the Show on top message, not the access to photos and media. Strangely enough, I compared it with the test3D.apk from the thread and it did need these permissions to run (test3D.jpg).



1 Like

Then can you open test3D?
I build a [test apk] too(5.apk - Google Drive), could you try to use this one? Grant all the permissions.

Note that when you open these 3D application, you need to open Nebula and enter AR Space firstly.

1 Like

When I open test3D it says it’s using an outdated Android version, and also that if I try to open it, it gives me the error ‘Please connect your glasses (101)’ even though I can still see Nebula. Though, it did ask for permissions.

5.apk works perfectly, I’ve attached the video in the Google Drive.

Edit: The phone controller works, and I can see the application running smoothly, and exit the app and back to AR Space.

1 Like

Great! It sounds like your devices are workable. Let’s go back to the build process :joy:
Please check these settings:

Or, alternatively, should I just create a new Git repository, set up the environment, and you can develop based on that repo? Do you think this would be more efficient?

I do not mind either way, as I will be installing this unity version first in the meantime

Actually, I think the minor version doesn’t matter much. It might take a long time to set up the new version of Unity. I’ll first create a Git repository for you.

1 Like

While pushing, I built another HelloMR with my own setup. I noticed that no media permission was required. Did you add media permissions to your project?

And here is the repo: GitHub - dengxian-xreal/test221: NRSDK 2.2.1, basic project.

Thank you, I will use the repo and replicate the project on my side and get back to you.

For HelloMR in my case, I did not add any media permissions.

1 Like

Thank you for the original post, as I was having the exact same issue. And thanks for the repo, that helps a lot, as I was able to build successfully from that.

I’m still not able to build an app if I start a Unity project completely from scratch, so I’m still trying to figure out what I’m missing on.

2 Likes

I was successfully able to build a sample project of HelloMR from your repo, and I also installed the same Unity version and could also build another project on it. Thanks so much for your help!

1 Like