How to compress streaming assets in Unity 2022 onward
In Unity 2017 we compressed our streaming assets by creating a Custom Gradle Template and removing `**STREAMING_ASSETS**` from `noCompress` of `aaptOptions`. In Unity 2022, I have tried using a similar...
View ArticleAndroid project won't build INSTALL_PARSE_FAILED_NO_CERTIFICATES
I am using the localization package and pulling form Streaming assets folder video and audio clips(swapping based on current selected language) Before was testing with only one mp4 in the streaming...
View ArticlePlaying video from Streaming Assets folder is choppy (android)
I am trying to play a video from the streaming assets folder on android. I can get it to play but it is very choppy I am trying to get the video and audio separate so I can swap them out(for...
View ArticleUnity not saving a JSON file
I'm working on an application that records some information and stores the data in a serialized JSON file with the following code: string DatabasePath =...
View ArticleUnity Cloud Build omits StreamingAssets
Hi, My project uses FMOD which has the sound banks loaded from the StreamingAssets folder. I use the Cloud build to create builds (Desktop win64). For some reason, StreamingAssets are not copied into...
View ArticleUsing VideoPlayer.Prepare(), to prepare multiple videos slows down my game
I have a game that is video based, each level is a video, and each time you enter through a portal I need to preload 1 to 8 videos via StreamingAssets URL with their respective video player (which are...
View ArticleStreaming and Decompress On Load music type playback time difference.
Good day to you all. I encountered a problem when developing a rhythm game. I am loading music with this code: IEnumerator GetTrack (string path) { request = UnityWebRequestMultimedia.GetAudioClip(...
View ArticleStreamingAssets and reading a binary file (Android)
I am trying to bring in a binary file that I have saved in StreamingAssets folder but can't work out how to get it to be read on Android. Here is the original resources code that works on computer but...
View ArticleDownload 3D model from Android's Storage and Display it in Unity Scene
Hello, I am trying to get a 3D model from the Android's phone storage and display it in Unity at runtime. I am testing with .fbx models for now. I got to the point that from Unity I can access...
View ArticleAndroid - Use SQLite database in other folder than StreamingAssets folder
I made a cross matching words Unity game for Android devices. Currently I am using an SQLite Database in StreamingAssets folder for the words in the game and everything works great. The problem is that...
View ArticleHow to use StreamingAssets folder on Android by using UnityWebRequest?
So I'm using a .json file inside StreamingAssets folder to store data about player's purchased skins. The code works excellent on Unity but doesn't work on my mobile device at all. Through some...
View ArticleUnity doesn't see files inside StreamingAssets folder
So I'm trying to implement shop system to my game and I decided to use Json to store data about what skins has player already bought. I'm using the code below to Load & Save data into my .json file...
View ArticlePlaying audio from streaming assets - how do I stop error being thrown if...
Hiya, I'm playing audio files from the streaming assets folder. If the file I'm looking for isn't there, I don't want an error to be thrown, but instead I just want to log a message to the console. I...
View ArticleBuild error, unityStreamingAssets gardle.
Hi, i cant build the game. **First i got this error at exporting:** mainTemplate.gradle file is using the old aaptOptions noCompress property definition which does not include types defined by...
View ArticleHow to stream a image or text in webGL?
is there any example or asset for stream a image or text in webGL? Now i use www class. it can load the text files and image files. but i'm not sure about it has a streaming service.
View ArticleiOS - Build works but in-app I'm unable to access my streaming assets because...
I built my iOS game on Windows, then transfer the xcode export to my mac and side-load it onto my iPad, and it works beautifully except for when I go to load a file from my streaming assets folder, I...
View ArticleHow do I retrieve a binary file with UnityWebRequest?
I'm building a game for WebGL. My main goal is to save and load data from a binary file from my StreamingAssets folder. --------- I've read the documentation that says that I need to use...
View ArticleDownload images and apply to sprite
I have an App (Android and iOS) that's works like a catalogue. I have around 300 'products' that users can view images and descriptions. Currently, all my images are in the project and assigned as...
View ArticleChanging sprites in game via StreamingAssets?
I have a particle system, but I want to the user to be able to change the sprites of the particles, just like a texture pack in Minecraft. I thought of just putting the image in StreamingAssets, but...
View ArticleLoading .mp3 files from StreamingAssets folder to Application
Hello, I've got StreamingAssets folder inside my project, .mp3 files would be stored there and I need to find way to load those files and play them in AudioPlayer. Any sugestions how can I achieve...
View Article