-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Easy AR implementation #123
Comments
@rpassareti I'm using Unity 2019.1.6.f1, React-Native 0.60.4, and EasyAR 3.0.1. I only use Metal for Graphics API (because I'm targeting iOS and also using ARKit for other features). It works fine. I'll try to compile it later into Android [Update] I managed to run it on Android. Some configuration to note of:
|
@igrir can you share your code and project plz? |
@igrir thx for the share! but where did you change the EasyAR Key on the react? I'm trying to use one of mine EasyAR Key, but when I build to the react gives me that the key is incorrect with the bundle. I noticed that you deleted your key (no problem with that), but when I created one of mine, and put on the EasyARKey at unity works, but not on the React. [Edit] things that I learned and I think there is no place talking about it the EasyAR Key works normal, it was something on my machine, restarted it, and start to work again. now I'm having problem with playing video. any tips? ;D |
@rpassareti I haven't tried video player on EasyAR |
@igrir the problem is not the EasyAR [EDIT] on logcat is showing this:
|
Is the video embbeded on the apk? Are you sure the video is there? Maybe you can try to check the generated apk using android studio's APK Analyzer. It could be the video didn't added into the APK. |
will check this, but i think the export doesn't include the video, any idea to do this? what I did was putting the video on Streaming Asset and works on React build but some kind of video, like with transparent, doesn't work without passing by a unity transcode, so we will change our video to work with a shader from EasyAR video example thx for the help! |
@rpassareti you could try out this package: https://assetstore.unity.com/packages/tools/video/avpro-video-56355 We are using it together with Vuforia to play AR videos and it works great on iOS and Android. |
hey @igrir ! |
any solution ? |
you mean to play the video on react? i put the video on streaming asset, and played from this folder, and used a shader for transparent video. but i don't have a workaround for iOS |
How do you play the video from unity by android's assets folder path ? |
https://docs.unity3d.com/Manual/Video.html set the VideoPlayer as URL, and follow on the end of the page, to set StreamingAsset video |
Hi Any solution on EasyAR showing "Invalid Key"? |
@ridhoRH clone this project, and use as base for you, this what I did to make it work |
@ridhoRH I had this same Issue. I'm using a node module forked from this repository, that it is just a update to a new Unity Editor and React Native versions. What helped me was to change the build.gradle file inside the UnityExport directory. In my case, I have a unity-classes.jar and EasyAR.jar file in the UnityExport \ libs directory. So in build.gradle I already had "implementation ': unity-classes'" and I just needed to add "implementation ': EasyAR'" to point to my EasyAR.jar file. |
@jfilipedias thanks so much. I'm also using the updated one and that solution worked. |
Hi everyone,
I'm trying to implement this plugin with EasyAR 3.0, but every effort I did mades the screen black, without activating the camera.
Looking at the logcat, it's seems the easyar couldn't initialize the camera, but when I build a version from unity directly to the device, works normal
Any tip or advice?
I'm using Unity 2018.2.9
React-Native 0.59.10
The text was updated successfully, but these errors were encountered: