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

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

Code not executed after LoadSceneAsync in a Coroutine

I'm relatively new to Coroutines and Level Loading, so please forgive my presumably rookie mistake. I'm calling the following function using StartCoroutine: public IEnumerator LoadLevel(string...

View Article

How to load a chosen item while using LoadSceneAsync

I was thinking of a game where a character can buy different items and equip them, I know that if I want to load them in the level I can use playerPrefs on Start() , but since I wanna load the scene...

View Article


LoadSceneOnClicks.LoadAsynchronously(int)': not all code paths return a value

using UnityEngine; using System.Collections; using UnityEngine.SceneManagement; using UnityEngine.UI; public class LoadSceneOnClicks : MonoBehaviour { public Image loadingImage; public GameObject...

View Article


SteamVR_LoadLevel() freezes when done loading in builds only

So I implemented a fairly straightforward method replacing Unity's SceneManager. public void LoadLevel(string levelName) { //using async load in inspector GetComponent().levelName = levelName;...

View Article

LoadSceneAsync breaks lighting with Assertion failed (Update: Light probes...

I have a scene and on the first frame I load several other scenes additively. Everything works. However, if I wait a few moments, then load one of those scenes additively, my lighting breaks and my...

View Article

What is causing "Loading.LoadFileHeaders" to take too much time when entering...

Hi, in my project entering play mode takes over 1 minute and when I profile the editor I can see "Loading.LoadFileHeaders" takes too much time in the profiler but I can't see which objects are causing...

View Article

How works loadLevelAsync

Hello, i'm working on a Multiplayer Game and i've a question. If i'll use LoadLevelAsync to load levels, it will spawning players trough a script that is in the level loaded? Sorry for bad English and...

View Article


Next scene is loading in the Engine, but not in the Build! Help please

>>Hello, I'm making a 2d platformer game quite some time, and I don't have the problems with loading another scene in the build when I was working another scene.>>Right now I have 8 scenes...

View Article

Load music only when everything is loaded

I am creating a game which has a lot to do with syncing to the music. Is there any way I can make sure that the music does not load earlier than the level or vice-versa.

View Article


Holding SceneManager.LoadSceneAsync until a button has been pressed?

Hey guys, Im having trouble trying to figure out how to transition from a loading scene to my main scene after the press of a button. Right now i have a loading scene which contains a minigame. During...

View Article

GameManager Problem with loading scene

Hi, I'm a beginner in Unity and I want to make a loading scene for my game but I think my GameManager is awful. But when I load my scene the canvas of the loading scene doesn't appear. If you can help...

View Article


How to hide the black screen while loading scene / load level in the background

When I start my app, I get a temporary 8 seconds black screen right after the splash screen, and after that my heavy scene is loaded. To solve this and after reading other questions- I added an empty...

View Article

The script don't execute after scene reloading

I have this script which don't execute after reloading scene from a button but execute when doing the same thing from another button with the same line of code: using UnityEngine; using...

View Article

How to create a loading screen at the beginning? Load asynchronous not working

**Short version:** I'm making a 2D game for Android, I want a custom loading scene when the game starts (*Clash Royale* style) but no matter what, after the Unity splash screen, there is a 3-5 seconds...

View Article
Browsing all 194 articles
Browse latest View live


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