TSoftClassPtr/TSoftObjectPtr Construction problem
I have system for loading assets/classes and letting other systems know that asset has been loaded. Problem is that when i use TSoftClassPtr or TSoftObjectPtr constructor as follow:
week pointer that is created is nullptr.
Same things happens for TSoftClassPtr construction. Now, when my loading system get load callback, i save all pointers so they are not deallocated. Hence assets are loaded in memory, yet the week pointer constructed this way is invalid. Sure, i can do
and be done with it but its extra cast() and im just curious why this is not working as it should(at least I think, it should). I'll be grateful for tips.
asked Jan 22 '18 at 07:10 PM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here