Hey
I’m not completely sure about the reason but it may be one of two things, or both.
- Spawn Actor from Class needs to know it is in an actual level it can spawn something in and in a FunctionLibrary you don’t have the context, and you can call a Function from the Library from any Blueprint even if it’s not a level or something that can spawn actors.
- FunctionLibrary can’t execute anything asynchronously, and spawning an actor requires waiting for it to be generated and then return the variable of the actor, so may be FunctionLibraries don’t like that.
You can call Spawn Actor from Class in a Macro Library instead