Unreal Engine support
Opened this issue · 8 comments
Any clues on how to get it working with Unreal?
I imagine that internally it's a similar process to the Unity version: the AAR library that is eventually copied to (or compiled together with) the built APK must be replaced with the modified version. However, there is currently not a lot of information, as Google seems to have either pulled or not yet published their Unreal Engine repository. Additionally, it appears to require building Unreal from source. Unfortunately I do not have time to do that at the moment, but I am happy to assist anyone who is interested in doing that.
Look in Engine/Source/ThirdParty/TangoSDK. You'll find an aar which you can apply a similar hack to.
Hi unktomi.
I also want to try this with Unreal, but I'm having problems finding the file you mentioned.
I have searched for *.aar files in UE 4.18 (preview version), and in Googles own fork 4.17-arcore-sdk-preview (cloned from the google-ar-unreal repo), but I couldn't find the file you mentioned.
Can you specify more precisely, what is the file in UE that should be used for applying the hack, and in which version of UE can be found?
Thank you.
Thank you for the link. I didn't find it myself because I forgot to switch to the 4.17-arcore-sdk-preview branch after cloning the repo,
Thanks for the help, and sorry for bothering you.
I can confirm that this works both with google-ar-unreal repo, and latest UE 4.18 preview official branch.
The process is very simple:
- pull the UE source code from the repo
- run setup.bat (this downloads the file tango_java_lib-0.0.0.aar that should be replaced in the next step)
- replace the file
Engine\Source\ThirdParty\TangoSDK\lib\com\google\tango\tango_java_lib\0.0.0\tango_java_lib-0.0.0.aar
with file unitygar.aar from service-mod branch in this repo. - finish the other steps for compiling Unreal Engine as described here
If everything goes ok, you will have a working version of the editor with the modified AAR included.
Hey xmak. i have tried building for UE4 but the only thing doesn't work is camera. it's says not available the ransform of camera. know how to fix that maybe?
Hello @xmak and all, Should this .aar replacement work also for oficial UE 4.19? Right now official UE4 4.19 branch is using ARCore 1.0. And the one from Google it's using ArCore 1.1. So I'm wondering if that replacement will work for both or only for that ones using ArCore1.0. Pd: I do not see any more that aar file or even Tango Folder in 4.19 branches.