Hi lucid, thank you for your great work here.
I might have a clue about this:
Unfortunately, not likely soon. I need to find out why it's happening, and if my suspicions are correct, it will be something that I need to spend a good while hunting down. It's on the todo list, but there's a lot of big things on the list before it, so I wouldn't call it soon, as I don't have an eta yet.
C2 uses Google Closure Compiler to minify scripts, so the variables and properties (with dot syntax, ex: Object.property) you use will be changed after the minify process. I think this is why your plugin doesn't work after minify.
This is also noted in the SDK documentation .
I had the same issue with my plugin before and changing from dot to bracket syntax (Object["property"]) solved it.
Hope this help.