Quantcast
Channel: Questions in topic: "loadlevelasync"
Browsing all 194 articles
Browse latest View live
↧

LoadSceneAsync and StartCoroutine still blocks main thread

Hi all, this has been a pet peeve since day one with Unity and HTCVive, when scenes load, the headset goes to its own loading screen because the unity application stops responding, I see it in almost...

View Article


Load level async

Hi, I've seen this video: https://www.youtube.com/watch?v=YMj2qPq9CP8& And I would like, instead of changing the scene showing a load bar pressing a ui button, was with a trigger. I have created...

View Article


using donotdestroy not working, with an object

As detailed, im using donotdestroy on an object(which exists for sure after checking), but it dosent move it to the next scene, i do not know what is the problem here some of the code:> GameObject...

View Article

How to load scenes Asynchronously?

I want to load my scenes asynchronously, I have 3 levels, when the player reaches some point the loading appears and waits till the next scene is done loading, this works only once (going from level 1...

View Article

Load all scenes in splash screen

I have a multiple scenes in my mobile 2D game, I want to load all my scenes in splash screen, so that the scene passing would be smooth. How can I do this ? If I do this, do I need to change...

View Article


One SceneManager.LoadSceneAsync across multiple scenes

Hey everyone, I'm loading a scene using SceneManager.LoadSceneAsync and it's working. Now, the scene that it's loading is huge, so I want to be able to quickly reload it if my character dies. Is there...

View Article

unity LoadSceneAsync works like LoadScene

So I have this code : AsyncOperation async; public void Start () { StartCoroutine (LoadingScreen ()); } IEnumerator LoadingScreen () { yield return new WaitForSeconds (1); async =...

View Article

Loading screen animation is getting stuck for a second randomly when using...

I'm loading a loading screen with LoadLevelAsync to load another level but during that time the animation for the loading screen is getting randomly stuck and resumes again is there any way to play the...

View Article


Move an object from start to end position depending on the progress of...

Hi, I'm using loadlevel.async to load my game from the start screen. Whilst the level is loading I would like an object to be set to active which moves from a set start to finish position - but does...

View Article


Load level async freezing animation for several seconds

Hi - I'm building a game for android. When the screen is swiped on the title screen, I'm using load level async. So whilst the next scene is loading - I move an object across the screen smoothly, and...

View Article

NullReferenceException after updating Unity

**Hey guys!** I just updated Unity and tried to play game in editor but it gives me this error: NullReferenceException: Object reference not set to an instance of an object UILoadScreen.Update () (at...

View Article

Trigger audio clip on load level async (only playing for a fraction of a second)

Hello, I want to play an audio clip once I set a level to load (using loadlevelasync), but am struggling to get this to work. I'm checking to see if a bool is set to true in the loadlevelasync script:...

View Article

Use loading scene to prepare game level ?

what I'm trying to do is load my "loading scene" when my "level scene" is preparing. But i can't do it. can anyone help me with this ? // Update is called once per frame public void play_game_button()...

View Article


Application stops with SceneManagement.LoadSceneAsync on some android devices

Hi all. I have used SceneManager.LoadSceneAsync function on my game(LoadSceneMode.Additive). But I received some e-mails that application won't start at Intro Scene(which is just scene, not a splash...

View Article

Execute script when scene is visible to player

Hi all When using scenemanager I am having differences between editor and device. I have a singleton game manager which sets up some logic and then loads next scene which is the menu scene. On that...

View Article


What does (not loaded) mean?

Hi, I use LoadSceneAsync to preload different scenes, but when this loading operation is triggered they appear in Hierarchy with their names followed by "(not loaded)". What does this mean exactly?...

View Article

SceneManager.LoadSceneAsync loaded scene takes too long to open

I'm trying to make sort of a progression bar of a scene I'm loading in the background and that when it's fully loaded open it. The moment the bar reaches 100% it opens the scene. The problem is that...

View Article


Scene lighting not being loaded when coming from another scene

Hi everyone, I'm working on a game which has a scene with a terrain, a directional light, and some other objects. When I start the game from this scene, everything is fine. However, the player can die,...

View Article

Render Canvas Before LoadScene OnClick

Hi everyone, I am working on a level loader script and have run into an issue here I can't seem to find any info on. Bottom line is I just want to activate a UI Canvas on a button click that also loads...

View Article

Load thousands of static colliders, or have hundreds of thousands at once?

In general, on a modern average PC, would loading in around a few thousand of static capsule colliders at a time cause a hiccup in the game, whether loaded by loadlevel.async or by resource folder? I...

View Article
Browsing all 194 articles
Browse latest View live


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