Comments (6)
@thomasftg Hi, yes the latter. It is possible to do for projects with a small number of AssetBundles. Due the issues mentioned we are not able to provide an official sample project at this time.
You could create a custom AssetBundleProvider class that extends that base class, and additionally handles the encryption and decryption steps. One way to approach this is to use LZ4 Decryption. An AssetBundle that uses LZ4 compression consists of 256KB chunks that can be encrypted. The bundle can be loaded from a seekable stream (AssetBundle.LoadFromStreamAsync) and individual chunks can be decrypted as they are loaded.
Hello, thank you for the tips! Which methods can I use to do the encryption and decryption? Can you guide me how the AssetBundleProvider works in order that I can make a cryptography implementation, please? Best regards!
from addressables-sample.
i agree, this would be very useful to have. Would like to not have to worry about assets being flipped right after launch.
from addressables-sample.
In multiple Unite talks the dev mentioned that an encryption example would be available on Github. Yet, I couldn't find them. Has this been abandoned?
from addressables-sample.
Hi all apologies for the delay! Unfortunately there are no plans to provide an example project demonstrating encryption. There are some limitations such as bundle caching and memory increases that make it not feasible, especially for projects with lots of AssetBundles.
from addressables-sample.
Hi all apologies for the delay! Unfortunately there are no plans to provide an example project demonstrating encryption. There are some limitations such as bundle caching and memory increases that make it not feasible, especially for projects with lots of AssetBundles.
Can you elaborate a bit more so we can find a solution? Specifically is it NOT possible or does the team not have the bandwidth to provide the sample given some quick prototyping issues being encountered (caching/mem increase you mention).
from addressables-sample.
@thomasftg Hi, yes the latter. It is possible to do for projects with a small number of AssetBundles. Due the issues mentioned we are not able to provide an official sample project at this time.
You could create a custom AssetBundleProvider class that extends that base class, and additionally handles the encryption and decryption steps. One way to approach this is to use LZ4 Decryption. An AssetBundle that uses LZ4 compression consists of 256KB chunks that can be encrypted. The bundle can be loaded from a seekable stream (AssetBundle.LoadFromStreamAsync) and individual chunks can be decrypted as they are loaded.
from addressables-sample.
Related Issues (20)
- SpaceShooter DynamicInvoke error while playing
- Error - JetBrains.Rider.Unity.Editor.Plugin.Repacked.dll HOT 1
- How do I get the scene name?
- The BuildProcessorData.json and CustomAssetPacksData.json not generated
- Are google play instant apps possible to be downloaded using the Play Asset Delivery example?
- WaitForCompletion() not working? HOT 1
- Removing a Specific Child Object in a Content Update Causes an Error. HOT 1
- Play Asset Delivery sample silently fails if bundle names conflict HOT 1
- Play Asset Delivery sample does not properly load from fast-follow Asset Pack HOT 1
- Addressables are not working on WebGL on new Unity versions HOT 1
- Request to PGS failed because all packs are unavailable HOT 1
- Custom asset packs are not generated HOT 1
- PAD sample does not build HOT 4
- error display before enter the game
- Error constantly reported when selecting assets configuration and cannot be modified HOT 1
- Addressables + PAD not working with google.play.core 1.8.1, google.play.assetdelivery 1.8.1 (api 2.0.0, Unity 2022) HOT 1
- Download On-demand assets gets failure at random HOT 1
- Address 'xxx' cannot contain '[]' error HOT 2
- Does Addressables support 8K videos?
- In IDE, I can use editorAsset through AssetReference, and there are no errors when loading scripts in IDE or Unity. However, during build, Unity prompts me that AssetReference does not include the definition of editorAsset
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from addressables-sample.