Is there a way to force a gameobject to activate before calling an intensive function?

Hi all, I’m currently working on a program that has some intensive functions e.g. synchronous asset bundle loading. Calling these functions hangs unity for a few seconds, so I’m trying to enable a “Please wait” image while the assets are being loaded, however no matter what I try the program will always hang before the image is enabled.

Any way around this?

Note: I can’t do the function asynchronously as the dependencies won’t allow for it

hey ; just enable the image first then call the function with a little delay ;

u can do it by using Invoke or Coroutines;