{"repo":"landelare/ue5coro","free":true,"listed":false,"github":"https://github.com/landelare/ue5coro","clone":"git clone https://github.com/landelare/ue5coro.git","description":"A deeply integrated C++ coroutine plugin for Unreal Engine 4 and 5.","language":"C++","stars":1101,"topics":["coroutines","cpp","unreal-engine","async-await","cpp20","unreal-engine-4","unreal-engine-5"],"license":"BSD-3-Clause-Clear","category":"game-templates","readme_excerpt":"UE5Coro UE5Coro implements C++20 coroutine support for Unreal Engine 5 with a focus on gameplay logic, convenience, and providing seamless integration with the engine. There's built-in support for easy authoring of latent UFUNCTIONs. Change the return type of a latent UFUNCTION to make it a coroutine, and you get all the FPendingLatentAction boilerplate for free, with BP-safe multithreading support out of the box: This is a real, working example! Try putting it into an actor class. You can even destroy the actor while the coroutine is running. Latent coroutines will automatically track their target UObject, and clean up early if needed. Even the coroutine return type is hidden from BP to not disturb designers: Not interested in latent UFUNCTIONs? Not a problem. Raw C++ coroutines are also supported, with the exact same feature set. The backing implementation is selected at compile time; latent actions are only created if you actually use them. Change your return type to one of the coroutine types provided by this plugin, and complex asynchronous tasks that would be cumbersome to implement yourself become trivial one-liners that Just Work™, eliminating the need for callbacks and other handlers. Enjoying the convenience of LoadSynchronous, but not the drawbacks? UObject HardPtr = co await AsyncLoadObject(SoftPtr); lets you keep only the benefits (and your FPS). What about spreading a heavy computation across multiple ticks? Add a co await NextTick(); inside a loop, and you're a","default_branch":null,"files":null,"tree":[],"storefront":"/r/landelare","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/landelare/ue5coro/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}