Quantcast
Channel: Questions in topic: "unloadunusedassets"
Browsing all 85 articles
Browse latest View live
↧

load/unload large scene help

I have a very large scene, extremely large. I was wondering if there is a way to split it up and only load sections of it at a time. Here is a picture to help illustrate my problem....

View Article


Out of memory loading between levels

Howdy Unity gurus!!! I get out of memory errors now and then just before loading scene "y" from secene "x". Scene"x" is moderate size, not tiny. Scene "y" only has two objects. One with a 1024 texture....

View Article


DX Crash, GFXDevice Crash

I am experiencing a crash consistently that prints to the unity logs the following information: HandleD3DDeviceLost HandleD3DDeviceLost: still lost Skipped rendering frame because GfxDevice is in...

View Article

Asset is not unloaded even if GameObject destroyed

I believe that this question was discussed many times, but still. Consider an example: We have some kind of singleton class which exists all the time. It has public GameObject MyGameObject; We load...

View Article

Call UnloadUnusedAssets after SetQualityLevel?

If I change quality settings will the old textures be cleared from memory straight away or should I use UnloadUnusedAssets?

View Article


Assets not unloading on scene change in Android (works on iOS)

So I've got a strange problem, I can't seem to unload assets between scenes in my app. On iOS everything is fine, but on Droid the memory usage just keeps going up and the profiler shows that the NGUI...

View Article

Unload Resources

Let's say i've a gameobject which has a compoment with a used resource. I set the gameObject to inactive, but later i'd like to set it to active I call Resources.UnloadUnusedAssets(); Does it delete...

View Article

Resources.UnloadUnusedAssets() doesn't always work. How can I find out why?

Hi, So I've hit that point in my Unity programming development where I've come to realise that assets don't get unloaded when you destroy everything that uses them, or clear all the references to them....

View Article


UnloadUnusedAssets

I have a script that load a 2048px texture from a Resources folder follow an index (FrameINT): #pragma strict var OBJ : GameObject; var TextName : String = ""; var FrameINT : int ; var FrameOLD : int;...

View Article


Does Resouces.UnloadUnusedAssets frees asset bundles unused resources?

I have game which uses resources as actively as asset bundles. Loading logics is quite primitive: try to load from resources, if not found, WWW.LoadFromCacheOrDownload. And I'm thinking about freeing...

View Article

Does UnloadUnusedAssets() unload non-active or occlud

Hello! Does Resources.UnloadUnusedAssets(); unload assets that are simply non-active and/or occluded? The docs don't mention that specifically, but I'd very much like to know. Thanks!

View Article

UnloadUnusedAssets - what exactly does "unused" mean

I have some problems understanding what exactly "unused" means for Resources.UnloadUnusedAssets. From the docs:> An asset is deemed to be unused if it isn't reached after walking the whole game...

View Article

Resources.Load have a bad performance

I'm trying to play a movie in Android by using SpriteRenderer because MovieTexture can't be used for Android. Basically, I convert the movie into images and load it as Sprite and assign it to a...

View Article


Memory crash when calling Resources.UnloadUnusedAssets on Android

I have a memory crash when calling Resources.UnloadUnusedAssets on Android (using Unity 5.1.1 but in previous versions as well). The app just closes without any error message. The game shows photo's...

View Article

Does Unloadunusedassets unload unused assets loaded from Assetbundles?

Or, do those assets behave inconsistently with assets loaded via Resources.load and will stick around in memory even if they are not referenced anywhere? Alternatively, is there any way to unload...

View Article


[AssetBundles] - Why is my assetbundle.unload not unloading assets and...

Hi all, I am looking for some urgent advice/help regarding asset bundle LoadFromCacheOrDownload. UnloadAssetBundle is called on a button click in the UI. loadedAssetBundle is a member variable of class...

View Article

UnloadUnusedAssets - Causing Loss of Used Assets

Hello, Has anyone heard of this happening? When I call 'UnloadUnusedAssets' my app gets odd affect of textures disappearing, or being replaced completely. The app is a Cartoon Comic book, each page is...

View Article


Issues with unloading textures and atlases

We seem to be having some issues with Unity not unloading textures (and other assets) that are no longer in use. During the development of a previous project in Unity 4.x, I created a tool that reports...

View Article

Profiling and clearing memory

I am currently profiling my game and trying to do some memory management. I have a lot of objects in my game that are memory pooled during the loading of the level. When I don't need objects they are...

View Article

Unloading a prefab using Resources.UnloadUnusedAssets.

When I try and unload a prefab loaded using the Resources.Load(), I get an error saying gameobjects cannot be unloaded using Resources.UnloadAsset(). So the other way to do it was destory the instances...

View Article
Browsing all 85 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>