Quantcast
Channel: Questions in topic: "crash"
Viewing all articles
Browse latest Browse all 2383

Debugging async methods crashes editor

$
0
0
When I am stepping through an asynchronous (async/ await) method in a component and return from the asynchronous method the Unity editor will crash consistently.`[UsedImplicitly] public class PartyTalesGameServices : MonoBehaviour { private ClientEnvironment _clientEnvironment; private async void Start() { var i = await GetInt(); } private async Task GetInt() { await Task.Delay(3000); return 3; } }` When I step into the test GetInt method and return The editor crashes

Viewing all articles
Browse latest Browse all 2383

Trending Articles



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