

In my project, I let Google Play Downloader plugin retrieve the OBB file and then I do a File.WriteAllBytes to save obb in cache path as a. obb and use a simple zip utility in unity to extract video file from archive to the persistent data path of device. You can then change the file extension to. It's very simple to embed every file you want in archive by using this command (OSX or Linux) to generate a zip file in storage mode (not compressed) : zip -n. mp4 video file from Streaming Assets using split option and Easy Movie For Android plugin.Īs it's not possible to easily extract file from Unity's OBB (even if video with other stuff is visible using VLC), and as we cannot use Asset Bundle for a video file (that is not a Unity recognized type), I managed to generate the OBB myself and let Unity only build the APK without video file. Here's my experience as I've been stuck on this while trying to read. With File.WriteAllBytes i copied all bytes from tracker.data to new tracker.data wich will be in application path.Īnd now you can easy get your tracker data always Thanks to With File.WriteAllText i copied all text from tracker.xml to new tracker.xml wich will be in application path. If user already had did this before, tracker will just check if dataset exist in app path and if it's true it will load trackable if not it will do first step. Then when it is done it will load tracker and start tracking.ģ.

User start app and it will show message that it is reading data from obb (and this happens only once per install)Ģ. and elsewhere.I used System.IO and unity So my application works like this:ġ. "Unity" is a registered trademark of Unity Technologies or its affiliates in the U.S. This software is not sponsored by or affiliated with Unity Technologies or its affiliates. The full list of licensed works can be found on the Credits page. You are responsible for ensuring that you're not breaking any laws. Please be aware that using or distributing the output from this software may be against copyright legislation in your jurisdiction. Legal DisclaimersĪssetRipper is licensed under the GNU General Public License v3.0 This is also an alternative location for people to post issues. The development of this project has a dedicated Discord server. Releases are put out once a week, usually on either Sunday or Monday. Anyone with a positive lifetime contribution is entitled to the Donator role on the Discord server. Your donations help to ensure that I can continue to afford developing this project. I have normal expenses like food, electric, internet, and rent.

Expect bugs and many changes.Ĭurrent supported versions: 3.5.0 to 2022.3.x Donations Important note: This project is currently in an experimental state. AssetRipper is a tool for extracting assets from serialized files ( CAB-*, *.assets, *.sharedAssets, etc.) and assets bundles ( *.unit圓d, *.bundle, etc.) and converting them into the native Unity engine format.
