- Home /
Mixture of async methods and ECS
Hey guys, i hope you can help me. I'm working on a program, which receives a zip-data file, extracts it and processes the data. In the end, the data should be presented meshes and also be accessable in gameobject scripts.
The problem is that a sequientell workflow is blocking in Unity, that's why i'm working on a parallel workflow. The idea was to do it all in ECS, but the problem is that Jobs need those blittable data types, which is a lot of work to convert to. So i'm looking for a better way.
My idea was to use a mix of async methods at the beginnin of the programm and later on the ECS system to work on the RenderMesh-Components. Is this a clean way to do it? Or will i get into trouble when i mix async methods and the job system, especially when i execute this workflow several times?
Thanks for you help!
Best regards, Kevin
Your answer
