Update README.md

This commit is contained in:
Thomas 2019-08-02 12:33:07 +02:00 committed by GitHub
parent bb312d9d1d
commit cf444ec6cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -148,7 +148,11 @@ InitArgs(CommandLine.argc, CommandLine.unsafeArgv)
<br /> <br />
### AR Foundation (not compatible with Unity 2019.3.*, so Android only for now) ### AR Foundation (not compatible with Unity 2019.3)
https://github.com/Unity-Technologies/arfoundation-samples/issues/210
Android only as iOS requires Unity 2019.3.
If you want to use Unity for integrating Augmented Reality in your Flutter app, a few more changes are required: If you want to use Unity for integrating Augmented Reality in your Flutter app, a few more changes are required:
1. Export the Unity Project as previously stated (using the Editor Build script). 1. Export the Unity Project as previously stated (using the Editor Build script).
2. Check if the exported project includes all required Unity libraries (.so) files (`lib/\<architecture\>/libUnityARCore.so` and `libarpresto_api.so`). There seems to be a bug where a Unity export does not include all lib files. If they are missing, use Unity to build a standalone .apk of your AR project, unzip the resulting apk, and copy over the missing .lib files to the `UnityExport` module. 2. Check if the exported project includes all required Unity libraries (.so) files (`lib/\<architecture\>/libUnityARCore.so` and `libarpresto_api.so`). There seems to be a bug where a Unity export does not include all lib files. If they are missing, use Unity to build a standalone .apk of your AR project, unzip the resulting apk, and copy over the missing .lib files to the `UnityExport` module.