Error while pasting ("Exception while calling NextTick callback")

I'm getting incomplete pastes with certain copied buildings... nothing fancy, huge, or complicated about the builds, but this error appears in server console, and the paste halts about mid-way through:

Exception while calling NextTick callback (InvalidCastException: Specified cast is not valid.) at Oxide.Plugins.CopyPaste.PasteLoop (Oxide.Plugins.CopyPaste+PasteData pasteData) [0x00ea1] in :0 at Oxide.Plugins.CopyPaste+c__AnonStorey5.<>m__0 () [0x00000] in :0 at Oxide.Core.OxideMod.OnFrame (System.Single delta) [0x00051] in :0

 

EDIT: the only thing I can think of that the two builds that aren't pasting correctly have in common is the use of Deluxe Christmas Lights. Other buildings that do not use this entity seem to be pasting fine. Just a theory though.

can confirm: went into the data file for one of the buildings having the issue and removed the reference to deluxe christmas lights (assets/prefabs/misc/xmas/poweredlights/xmas.advanced.lights.deployed.prefab), and it now pastes in fully and correctly. Is this something you can investigate so that pasting structures using that entity will work correctly?

Come to report the same issue. Receiving the same error unless I remove the reference to deluxe christmas lights.