make sure you had the correct itemid to its rawcodes.
Usually it would spawn and have the exact same effect as before. But things which are charged like the diffusal blade, if you -spawn the one with charges... maybe it would be empty because it's a recipe? I don't know but it just happens when that's the case with such items.