TSubclassOf upward cast

It should work completely fine, since any TSubclassOf can be implicitly converted to UClass*. I just did a quick test and got no errors. In fact a quick look at the docs shows there is even a templated copy-constructor taking any TSubclassOf argument.

I’m guessing you just have a problem with your class declarations. Perhaps at the point you call the function one of the classes has only been forward declared or something?