Resources.Load without a Resources folder?
Is there any way to use Resources.Load with a file path from the root assets directory rather than a folder called Resources? Should I just put everything in a folder called Resources? I mean I could...
View ArticleIOS access file system?
Hello, I have an application which has to access external image and file on ios device. is there any way i can access custom file from a particular path in ios application.?
View ArticleEasyMovieTexture: is possible to load movie files from...
Is this possible at all? I'd assume so but I can't get any videos from the persistent data path to playback on Android. I am basically doing the following: 1. download an mp4 from the inter webs. 2....
View ArticleAssociating File Types with a Unity App
Simple enough question, is it possible to associate a file type with a Unity app so that file type will open with said app, then have the app decide what to do with the file via a script?
View ArticleLoad a non-gameobject object from an AssetBundle?
So, I wanted to load a behaviour from an asset bundle. For example the behaviour may look like this: [CreateAssetMenu] public class SampleBehaviour { public float someFloat; } The issue came where I...
View ArticleHow can i get any data format and apply?
I know 'Unity Editor' support many formats of Images, but not 'Unity Engine' does.(For example, BMP) I want support variety format of images and sounds in user's Hard Drive. How can i support these??...
View Articlehow to import file in my build game?
i created an automatic rhythm games... which require to be able to load files...... what the important one is... a bytes file that is originally from midi.... i cannot resource load it when i copy a...
View ArticleHow to send a folder to the recycle bin via script
Directory.Delete() wipes folders from the disk. Is there any "normal" way to go about sending them to the recycle bin in Windows? All the libraries suggested on StackExchange aren't included with...
View ArticleWhat is the most common way to implement save in Apple TV / tvOS? How does it...
So after digging in we discovered that tvOS won't allow local saving like any other platform. You need to use iCloud there's no way around it. Digging it more, I discovered there IS a local way to...
View ArticleHow to allow the user to upload new music to an audio source which is tied to...
Hi, I'm trying to build an app where a user can play music and mix multiple audio. I not getting an idea on how to allow the user to upload his/her own music file to the audio source which is tied to a...
View Articleopen pdf on IOS
Hi, I am currently struggling to find a way to open Pdfs on IOS. any suggestions? I am currently using this code for android: public void OpenPDFAndroid(string filename) // works for android { using...
View ArticleUnity File Creation and Modification Date Problem
I'm having a problem with the way Unity updates file creation and modification dates. On my system, when Unity updates files, it changes the file creation date but leaves the file modification date...
View ArticleUsing a file browser in the oculus go, no files can be seen only folders
I have gotten a couple of android file browsers to work in my app but I cannot find the movies or pictures folder, nor can I see filenames only folder names Anyone know what the real root folder name...
View ArticleLoad file during Unit Test
Using Unity 2018.1.1f1 and Visual Studio Community 2017 I've been creating unit tests using unity's built in Test Runner. In this particular unit test, I want to read a file's content into a string....
View ArticleUnauthorized Access Exception when trying to write to internal storage.
I'm trying to save a screen capture from an application I'm building. ScreenCapture works great but it saves to persistent path and I want to put the screenshots in the camera folder. But trying to...
View ArticleCan an Android AAR plugin access Unity's Application.Persistentdatapath...
Hello, I'm attempting to read a png file using an AAR plugin I created. The png file is stored via C# at the Application.Persistentdatapath filepath. I'm not getting any specific errors, because the...
View ArticleUsing Unity UI Button to call .unity file
Recently, I've been creating a game based on the 2D Roguelike Unity Tutorial, and have been struggling to make it to where when using the Unity UI button, when clicked, would boot up the...
View ArticleWon't read files from directory on android - Windows works fine.
I have a folder in /storage/emulated/0/BMS which is created by the program and in-game I can navigate to the song folders within the BMS folder. The problem is that the game won't read the files in the...
View ArticleSystem.IO - DirectoryInfo not working in WebGL
Hi, I have files under sub-folders StreamingAssets folder in WebGL build, the directory and files are detecting and working fine in Editor (WebGL) when we took build and run - the files are not get...
View ArticleMoving an entire project from one directory to another?
I need to move my entire project to a new directory. How would I go about doing that? Would dragging it into the destination folder work (i.e., not break anything)? Or would I need to do something...
View Article