Skip to content

Loading bar in unreal

Create an Unreal loading bar with pure Python code
preview progressbar

task_iter = # a custom function that returns steps, if no iter use range
with unreal.ScopedSlowTask(nr_of_steps, "DESCRIPTION") as slow_task:  
    slow_task.make_dialog(True)  
    for x in task_iter():  
        if slow_task.should_cancel():  
            break  
        slow_task.enter_progress_frame(1, f"loaded {x}/{nr_of_steps}")  

references