Quantcast
Channel: Questions in topic: "filesystem"
Browsing index pages (35 articles)

How to FULLY delete a project

Unity Hub version 3.1.2 Unity Editor 2021.3.3f1 I recently tried to get into Unity via the Lego Microgame, and just to install it I saw it over the course of 20 minutes install **over 10 GBs** of data...

View Article


How to deal with discrepancy in application file path between running the exe...

The application path when running from Unity will be project directory, for example C:\Max\Unity\myproject. The application path when running the built exe will be in the build folder, e.g....

View Article


My app cannot find .txt files after build

Hi all. I've now finished building an app and am now running into a problem I wasn't expecting. My method for saving progress in the app is through a bunch of txt files, and using File.ReadAllLines and...

View Article

How do I access files in the file system using methods other than inheritance...

*Sorry, this is a very basic question, I'm new to unity and my course hasn't covered this topic yet. How do I access files in the file system using methods other than inheritance and variables? For...

View Article

export unity file into .bin

i have created 3d model object how do i export file into .bin format or any way to convert file into .bin format. thanks

View Article


How to make a File System?

I'm making a game inside of a simulated computer. I've made the basis for the UI and now it's time to make the File System. I need a system that allows files to be moved at runtime. I had a few ideas...

View Article

Select and Send an image from Android

Hi, I'm doing a registration screen for the player but I need to be able to select an image from the player's mobile device and send it in a UnityWebRequest.Post request. Anyone know of any way to do it?

View Article

Finding audio clips in a specific folder if it is exist (Android)

I'm pretty new in unity. So I want to learn the easiest way if there is one. In fact it will simply check if there is a folder like "GameMusics" in the file system of my android device. If there is, it...

View Article


How do I add all images from a folder like "C:\Users\User\Desktop" to a...

Hi, how do I add all images from a folder like "C:\Users\User\Desktop" to a sprite array?? I'm researching everywhere and I'm not finding anything, please, someone could help me???

View Article


How do you have a file in your build folder not be compressed by Unity?

I want to be able to access a file from the build folder, but everything is made into, for example `sharedassets0.assets` Is there a way do disable compression or even a folder name so that the files...

View Article

How to tell android to open a file

I am trying to create an automatic update system for my game, which is currently distributed as an apk file you can download from a website. When an update is required, a popup comes up with a download...

View Article

How do I access music files on the Oculus Quest and play them?

I'd like to access the Music folder on the Oculus Quest sd card, and load them into a list so I can play them. So far, I've added the following to the AndroidManifest.xml: And my code is the following...

View Article

Read pngs from folder & display on Canvas dynamically

I would like to read a folder in Windows and display all the png files in it, on the canvas. The number of images will keep increasing over time and I would like to have them on my canvas in some...

View Article


Best way to load multiple folders into a resource load manager

I have story objects that are written in XML and each story is contained in a folder that contains 3 XML files: the main story file, the node file, and the choice file. Currently, the manager reads...

View Article

Unity x Nintendo Switch - How to save file?

Hello! Does anyone knows how to save file on Nintendo Switch using Unity C#? I have pc build than works fine, however, i cant find information how to use file system of device correctly, i get an error.

View Article


Moving 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

System.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 Article


Won'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 Article

Using 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 Article

Can 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 Article
Browsing index pages (35 articles)


Latest Images