Skip to main content

Questions tagged [async]

0 votes
0 answers
59 views

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 ...
Oozeer's user avatar
  • 101
1 vote
1 answer
305 views

I am upgrading my code from coroutines to using async-await and Awaitables on Unity 6. I have the following code of a spawner: ...
Erel Segal-Halevi's user avatar
1 vote
0 answers
255 views

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 ...
mtg's user avatar
  • 23
0 votes
1 answer
295 views

I've just created a WebGL build for my puzzle game in Unity. While the Windows version worked just fine, I encountered a bug on the web: it cannot load the next level when you collide with the goal. ...
Nghia Tran's user avatar
1 vote
0 answers
201 views

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....
Kevin's user avatar
  • 6,976
0 votes
0 answers
107 views

I'm creating a pause menu for my game and I have two scenes: a menu scene (Scene1) and a game scene (Scene2). I load them using the command 'SceneManager.LoadScene(1);' for the menu scene and '...
AshwinTheGammer's user avatar
1 vote
0 answers
835 views

I am loading scenes async using addressables like so ...
complex problem's user avatar
1 vote
1 answer
567 views

What are the pros/cons of using either C++20 std:async or C++/WinRT's asynchronous thread and messaging support? What would the code look like when implementing multithreaded game-loops that ...
elika kohen's user avatar
0 votes
0 answers
83 views

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 ...
arcadeperfect's user avatar
0 votes
3 answers
601 views

This is an interesting question I have, so I ask you to hear me out. No, I'm not just going to ask "how do I do this" and hope someone will give me code. I've been programming for a long ...
Rowan McAlpin's user avatar
0 votes
0 answers
1k views

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 ...
virtouso's user avatar
  • 2,680
0 votes
0 answers
1k views

I have the following C# code in Unity version 2022.2.0a12: ...
Corvus Ultima's user avatar
1 vote
1 answer
282 views

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 ...
stratos la's user avatar
2 votes
1 answer
2k views

I have a scene with lots of lightweight objects and one that takes anywhere between 10 and 45 seconds to load. At a high level, the Awake method does... Query database For each result do some (fairly ...
Basic's user avatar
  • 1,287
3 votes
2 answers
5k views

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 ...
Candid Moon _Max_'s user avatar

15 30 50 per page