Hi, I’m saving a screenshot on disk and importing it as texture to be saved in a save object (couldn’t find a better way).
All good, except the code tries to import the file before it had a chance to come into existance on disk. How can I wait until it’s there?
I tried while loop, but it gets stuck in an infinite loop.
Or is there a better way of doing this? Seems like such a basic thing, maybe I’m over-complicating it?
Thanks.
Set Timer by Event/Function. Check the file, if not ready, call the timer again.
Thanks a lot. Do you know if there’s any way to store a screenshot in a texture variable, avoiding writing it to disk? Either blueprints or C++?
Well, UI doesn’t get captured with HighResShot either. Only Shot withUI, but that doesn’t let you set the resolution, and the images are quite big, around 5Mb.
Do you know if I can control the resolution with scene capture?