Engine crashes when using NewObject<>()

The weapon hasn’t a mesh yet, it’s a C++ class.
Also, the Inventory.Num() returns 1