I've had the same error message, when I placed dark petals into the navy-gadget during The King of Winter and The Game is afoot chapters in adventure mode.
In every other chapter, the navy-gadget worked perfectly fine.
One time, I did managed to use it in Game is afoot, but then I re-equiped it, and the game crashed.
I did not use RoG.