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

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

Resource folder resources loading

I want to know about multiple points: 1. When **Resource** folder data gets loaded in memory? 2. At scene loading time I want to load many resources via Resource.Load() then how to deal with loading...

View Article

SceneManager.LoadSceneAsync() problem on Andorid

Hi everyone, I have use thiss code to load a new Scene and display the progress to the users using UnityEngine; using UnityEngine.UI; using System.Collections; using UnityEngine.SceneManagement; public...

View Article

Do not work Application.LoadLevelAsync SceneManager.LoadSceneAsync if...

When I download the beta version of the application from Google Play. Do not work Application.LoadLevelAsync SceneManager.LoadSceneAsync if assemble project with split application binary for Google...

View Article


After loadlevelasync, will AsyncOperation be isDone at least one frame?

I am wondering, if I use SceneManager.LoadLevelAsync, and check for AsyncOperation.isDone, can I be sure that isDone will be true at least one frame before the current scene gameObjects are destroyed...

View Article

Async Scene Creation

I load scene anync. AsyncOperation asyncLevelLoader = SceneManager.LoadSceneAsync(name); asyncLevelLoader.allowSceneActivation = false; When scene Loaded I activate it:...

View Article


MissingReferenceException when using StartCoroutine() after reloading a scene

I have a coroutine in my script that restarts whenever the player presses the button but after reloading the scene in game causes an error: "MissingReferenceException: The object of type...

View Article

How do I get the name of the object being loaded up when I load a new scene...

How do I get the name of the object being loaded up when I load a new scene async? Like in the game Rust (runs with unity), when you load a server you can see in the loading screen the names of the...

View Article


Scene Loading: Extremely RAM usage and Long Scene Loading Time (4mins).

Hi guys, I am almost done with my project, but I am running into a major snag. When I try to use SceneManager.LoadSceneAsync("stageName") from an almost "EMPTY" (one script) game scene, it takes a...

View Article

Display loading/progress indicator from Start()?

I'm making a simulator which involves dispersing objects randomly over the NavMesh. I have code for getting random point on the mesh, and I am caching 200 - 400 such positions in Start(). However this,...

View Article

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
Browsing all 194 articles
Browse latest View live


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