Question about staticloadobject

once I using “staticloadobject” to load asset from path in c++. But I found the object which is load by this method it will be destroy in 1 min. Is there a way to make this object always alive?

I tried to use smart pointer makeshareable but it was still not work.

tell why you want to do, what is the purpose?
Have you ever tried that create object in Game Instance and use it from there?

I have multiple items and every item has a icon. I will read a config file to get the path of the icon and then I use staticloadobject to load the texture

I tried to add objects to an global array but it’s not work