C. Missing await before SceneManager.LoadSceneAsync call.
D. SceneManager.LoadSceneAsync does not exist in Unity.
Solution
Step 1: Check async call usage
SceneManager.LoadSceneAsync returns an AsyncOperation, but it is not awaited here.
Step 2: Understand effect of missing await
Without await, the method does not wait for scene loading to finish before logging.
Final Answer:
Missing await before SceneManager.LoadSceneAsync call. -> Option C
Quick Check:
Await async calls to wait properly = A [OK]
Hint: Always await async operations to wait for completion [OK]
Common Mistakes:
Forgetting to await async calls
Thinking async methods must return void
Assuming Debug.Log can't be used async
5. You want to load multiple game assets asynchronously in Unity and then start the game only after all are loaded. Which approach using async/await is best?
hard
A. Use multiple async methods for each asset, await them one by one sequentially.
B. Start all asset loading tasks without awaiting, then await Task.WhenAll to wait for all.
C. Load assets synchronously in Start method to avoid async complexity.
D. Use async void methods for each asset and rely on Debug.Log to check completion.