What if doing nothing with loaded resource?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By JulioYagami

What does happen if I just load a resource and do nothing with that?

:bust_in_silhouette: Reply From: jgodfrey

It won’t cause any specific issues that I’m aware of, but you’re unnecessarily wasting system resources (memory, i/o for loading, …).

So, it’s probably not a huge issue, but I wouldn’t do it knowingly…

:bust_in_silhouette: Reply From: Beechside

Loading or Preloading doesn’t put anything on the tree so is not a problem, other than for memory. However, it can help with responsiveness later, if you are sure that the scene is required at some point.

Unless my startup is prohibitively long, I prefer to preload commonly used resources but I don’t write huge games with significant memory requirements.