Questions tagged [async]
The async tag has no summary.
21 questions
0
votes
0
answers
55
views
Controlling Rendering Order of Multiple Canvases in Additive Scenes with Screen Space - Overlay in Unity
Question:
In Unity, I have multiple additive scenes, each with its own camera and Canvas. The Canvases are set to Screen Space - Overlay and use their respective scene cameras. All Canvases are on the ...
1
vote
0
answers
252
views
Why does AsyncOperation.allowSceneActivation=false NOT stop my scene from loading?
I am trying to halt my level scenes from fully loading until I press a button to start the level but for some odd reason when I call LoadSceneAsync on my Additive ...
1
vote
0
answers
199
views
How does the Asynchronous Upload Pipeline actually work?
Unity has an Asynchronous Upload Pipeline which can upload qualifying textures and meshes to the GPU asynchronously over several frames, rather than uploading in one frame and stalling the main thread....
1
vote
0
answers
834
views
Scene loading finishes (90%) in 1 frame, but isn't isDone until 3 frames later
I am loading scenes async using addressables like so
...
0
votes
0
answers
83
views
Cancel a task only if it gets re-run
I have a slow proc gen function that runs when a user changes any parameters.
If a parameter is changed before it has completed, I want it to cancel the task and start a new one.
Currently I have it ...
0
votes
0
answers
1k
views
how to make pausable/resumable tasks using c#?
first of all im not using unity. it's a Signalr .Net Backend Program that runs turn-based multiplayer games.
I use c# async methods to make multiplayer scenarios. for example, the player has 10 ...
1
vote
1
answer
279
views
UI mask and elements not visible after Async scene change
i have an async loading scene system that redirects to a loading scene and then to the target scene. The function works properly although i found out that some UI elements dont work directly on scene ...
3
votes
2
answers
5k
views
Preload multiple scenes at the same time and activate them on demand in Unity. [Unity, async, simultaneous]
Preload scene in unity - this question tells us about how we can pre-load a scene in Unity and load it on demand. What it doesn't tell us - how do we pre-load multiple scenes at the same time and also ...
2
votes
2
answers
1k
views
Using Async Await in Unity
I am trying to make a reload mechanism in Unity, but the function is in a scriptable object. This means I cannot use Coroutine as it is in MonoBehaviour. I could think of solving with a simple timer ...
0
votes
1
answer
104
views
My script to play the intro scene the first time the player hits play from the main menu wont work
The script I am using determines if it is the players first time hitting the play button and if it is it will load the intro scene, but if they have played before it will take them strait to the game ...
-1
votes
2
answers
5k
views
Unity is single thread then why unity webgl says asset bundles are load in main thread
Got stuck in a performance issue in Unity WebGL that whenever my asset bundles are load, my unity game gets freeze for some seconds/minutes. I know that unity is not thread-safe and it is based on a ...