greggman / unity-webgl-copy-and-paste

Support Copy and Paste in Unity WebGL
BSD 3-Clause "New" or "Revised" License
112 stars 20 forks source link

Not working on Unity 2021.3.3f1 #9

Open bitfreaks opened 2 years ago

bitfreaks commented 2 years ago

Hi Gregg, just wanted to drop a notice that plugin stops working on the latest Unity version.

Draco18s commented 2 years ago

@bitfreaks is this the error you get?

Assets/WebGLCopyAndPaste/Scripts/WebGLCopyAndPaste.cs(35,2): error CS1032: Cannot define/undefine preprocessor symbols after first token in file

If so, all you need to do is move that line above the three using lines.

2TheMooon commented 1 year ago

error CS1025: Single-line comment or end-of-line expected in this case