Hello, I am using object targets and many of them. The APK is getting huge because of OD files.
How can i install them as asset bundles?
My target database files are in Assets/StreamingAssets/Vuforia folder and when i try to build bundle it gives this error:
Assets in StreamingAssets cannot be included in AssetBundles:
When i move these two files to another folder, it adds .xml file into the asset bundle build but gives this error for .dat file:
Unrecognized assets cannot be included in AssetBundles: "Assets/Resources/BLWA_OT.dat".
So i moved files to resources folder and changed .dat extension to .bytes and it built the bundle.
Where i will change .bytes extension to .dat in apk build?
Do I keep those files out of StreamingAssets/Vuforia folder in order not to build them in APK?
Now for loading data sets from phone path; do i have to move files back into StreamingAssets/Vuforia folder?
Thank you very much
Hi,
Hi,
Please go over this post: https://developer.vuforia.com/forum/unity/vuforia-assetbundle
Thank you.
Vuforia Engine Support
mcotora wrote:
[quote=mcotora]
Hi,
Please go over this post: https://developer.vuforia.com/forum/unity/vuforia-assetbundle
Thank you.
Vuforia Engine Support
[/quote]
I solved the issue with
I solved the issue with changing code in DefaultTrackableEventHandler script
from
public UnityEvent OnTargetFound;
public UnityEvent OnTargetLost;
to
Even i modify the
Even i modify the DefaultTrackableEventHandler script; it resets it self when i reopen project. How can i keep it?
xebuddha wrote:
[quote=xebuddha]
Even i modify the DefaultTrackableEventHandler script; it resets it self when i reopen project. How can i keep it?
[/quote]
that solution didnt work because DefaultTrackableEventHandler script resets itself when editor reopens.