Engine crashes when using NewObject<>()

I edited my original answer which might be more of the direction you want to go, but could you show me where you declare Inventory in your .h?