ExType: TypeInitializationException
Failed to call hook 'cmdChatPaste' on plugin 'CopyPaste v3.6.4' (NullReferenceException: Object reference not set to an instance of an object) at System.Drawing.ComIStreamMarshaler+ManagedToNativeWrapper..cctor () [0x00049] in <79f40f891a3d483c80857db420c29324>:0
Calling 'cmdChatPaste' on 'CopyPaste v3.6.4' took 105ms
Only pastes half the object and screws up

Copy Paste
Copy and paste your buildings to save them or move them
Total Downloads: 21,412 - First Release: Apr 3, 2015 - Last Update: Jun 14, 2018
- 5/5, 83 likes
-
@miRror
Code:16:27 [Error] Failed to call hook 'TryPasteFromVector3' on plugin 'CopyPaste v3.6.4' (NullReferenceException: Object reference not set to an instance of an object) at System.Drawing.ComIStreamMarshaler+ManagedToNativeWrapper..cctor () [0x00049] in <79f40f891a3d483c80857db420c29324>:0
-
Code:
ExType: TypeInitializationException Failed to call hook 'cmdChatPasteBack' on plugin 'CopyPaste v3.6.4' (NullReferenceException: Object reference not set to an instance of an object) at System.Drawing.ComIStreamMarshaler+ManagedToNativeWrapper..cctor () [0x00049] in <79f40f891a3d483c80857db420c29324>:0
-
Also some buildings WILL paste, but their boxed inventories are all missing.
-
can confirm, only pastes a small portion of the building and at random heights as well.
-
This is probably because item IDs changed and all our saves are probably ruined..
-
All good after updating oxide and the plugin.
After today's update:
16:58 [Error] Error while compiling: CopyPaste.cs(227,73): error CS1503: Argument `#1' cannot convert `UnityEngine.Quaternion' expression to type `UnityEngine.Vector3' -
How to copy all the spawn points, event data, loot spawns placed in original building and paste it in exact same spot facing the same way identical to original copy?
-
-
If you are having a problem pasting your building, it's the sign data. Once I had removed that from the data file it pasted back in just fine.
-
Fixed with latest Oxide
-
So is the inventory issue fixed? I didn't notice all my TCs were empty and the pasted buildings decayed overnight
-
-
for me as well... building now fully pastes in w/ latest oxide (2.0.3952), but all boxes/storage/cupboards are empty and pasted locks no longer restrict access to their applicable doors/boxes/etc.
-
miRror updated Copy Paste with a new update entry:
3.6.5
-
(12:47:23) | ExType: TypeInitializationException
(12:47:23) | Failed to call hook 'cmdChatPasteBack' on plugin 'CopyPaste v3.6.5' (NullReferenceException: Object reference not set to an instance of an object)
at System.Drawing.ComIStreamMarshaler+ManagedToNativeWrapper..cctor () [0x00049] in <79f40f891a3d483c80857db420c29324>:0
(12:47:23) | Calling 'cmdChatPasteBack' on 'CopyPaste v3.6.5' took 179ms -
-
With CopyPaste v3.6.5 and Oxide.Rust 2.0.3954 my boxes are already empty
-
for me as well, latest rust client & server, latest oxide (2.0.3954)... pasted boxes/storage are all still empty.
-