#Task in task pools panics randomly

2 messages · Page 1 of 1 (latest)

minor widget
#

I am writing a chunk loading system. I want to generate chunks proceduraly which can take time and must be done asynchroniously. For this purpose I need AsyncTaskPools. But when using theses they randomly panic if I poll them to check if they are finished. I do nothing in the Chunk creation function except pausing the thread for test purposes. I followed the example https://github.com/bevyengine/bevy/blob/main/examples/async_tasks/async_compute.rs to write my code.

Git hub question with the code and the error message: https://github.com/bevyengine/bevy/discussions/13072

GitHub

A refreshingly simple data-driven game engine built in Rust - bevyengine/bevy

GitHub

I am writing a chunk loading system. I want to generate chunks procedurally which can take time and must be done asynchronously. For this purpose I need AsyncTaskPools. But when using theses they r...

minor widget
#

Awnsered on git hub