Questions tagged [addressables]

48 questions
0
votes
0 answers

How to duplicate, reuse, and dispose of dynamically generated addressable objects

How do I load an addressable AssetReference dynamically, like a crate or something, via LoadAssetAsync and then reuse it throughout my game without calling LoadAssetAsync again? I am generating a series of square platforms that are addressable…
jumpwire
  • 101
  • 1
  • 9
0
votes
0 answers

Addressable related confusion at runtime (for Unity games)?

Respected Seniors, I need proper guidance for Addressable, please. If someone wants to share his or her experiences, I would be very thankful for it. I am not able to understand after watching so many videos; I am so confused about them. I need to…
0
votes
0 answers

Addressable Directory and Addressable Loading Logic

I have a question about how Addressables deal with Addressable directories I hope you could help me with. Let's say I have bunch of assets (prefabs or sprites) inside a directory (let's call it "mydirectory") which I want to load dynamically at…
Aydin
  • 13
  • 3
0
votes
0 answers

How can i check if player have to be rebuild?

I am using a build pipeline script to build my android application from unity. I'm using addressables bundles too. All is build with github actions. I would like to detect if the player has to be rebuilt or just the addressables bundle, and based on…
0
votes
2 answers

How to create a scene without the Unity 3D editor

I have the following problem: I have a 3D engine that has their scenes, but they are not compatible with Unity. But I have the metadata of this another 3D engine about everything on the scene, like: position, lights, models, light probes, physics,…
felipe
  • 1,212
  • 1
  • 15
  • 27
0
votes
1 answer

Unity Addressables assets not updated

I'm switching an AR Project that use assetbundles to Addressables but I have some questions. I have the main project (called A) that receive assets from remote server and the second project (called B) with inside the assets and the assetbundles…
Kafar
  • 29
  • 5
0
votes
0 answers

How to build addressables only with specific labels (Unity addressables)

I'm quite new in addressables I noticed that if set "Bundle mode: Pack together by label" option in Addressable Asset Groups, the Bundle files in ServerData/Android folder will be grouped by labels, but the problem is that it builds all Bundles that…
Vlagod
  • 1
  • 1
0
votes
1 answer

Unity Addressables Memory is not the same after unloading than before loading

I've written myself a helper class to handle the loading and unloading of addressables, but I can't determine if it is working correctly as I don't see the results I'm expecting (f.e. memory is not the same before loading when unloading, though it…
Charles Nough
  • 353
  • 1
  • 3
  • 15
0
votes
0 answers

Unity Addressable Loading bundle

My question is in the code below, I try different methods to load the object from the Addressable, I tried referencing the object using drag and drop and only by code, which is the Loadasset and give a key to it. My question is the Key…
aron kan
  • 72
  • 8
0
votes
1 answer

Getting "Assertion failed on expression" error when unloading scene in Unity?

Here are the errors I'm getting: Assertion failed on expression: 'offsetIndex != -1' Assertion failed on expression: 'offsetIndex != -1'UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool& I'm using SceneManager.UnloadSceneAsync then loading a…
Austin
  • 13
  • 1
  • 3
0
votes
2 answers

How to add new remote content to unity addressable without rebuilding and uploading app (android and IOS)

I have a lot of content in unity addressable. I want to add more new content. The problem I'm facing is that when I use to update content for addressable and upload it to remote. the app doesn't fetch from the remote. I have to make an android/IOS…
0
votes
1 answer

Unity Build and Run aab file - nothing happens

I am using unity addressables for on-demand packs and also using google instant play plugin to build an instant app. I am using the unity's Build Settings -> Build and Run with my device connected. I have developer debugging enabled and the device…
0
votes
1 answer

The type or namespace name 'AsyncOperationHandle<>' could not be found

Just got started trying to work with Addressables in unity, but I've been provided with the "namespace not found" exception, even though I have all the 'using' statements and the correct type from the unity documentation for Unity Addressables…
user17453356
0
votes
1 answer

Delivering downloadable content to Android application in Unity (loading with Addressables)

I have a rhythm game that I am almost finished working on but have hit a bit of a snag. We have an in-app store where users can purchase additional "song packs" for money. These packs contain song files (text asset), song banner images (png) and the…
Arbel
  • 425
  • 8
  • 26
0
votes
0 answers

Download an Unity Addressable bundle in background for iOS

TLDR: Is there a way to download the addressable bundle in background for iOS if the user starts the download and then goes to home screen or opens up another app? Details: I have a game that allows user to download additional content via…