First at all, I know that this question is duplicate, but I have tried every solution of all the other "compiz/unity issue after upgrading 16.04 LTS" questions with no luck. I have been hours trying things and in the end I have switched to Gnome with metacity to be able to work a bit.
To be honest, I think I have the same problem that this question:
but I can't post a comment there and I can do a new question (weird, isn't it?). I have tried all the things Samvid tried except downgrading Mesa (I have not it installed) and still nothing.
That question remains unsolved and communication finished the 3rd of March, so I wonder if there is any other solution not documented there.
If you need any data of my computer, please ask it. I'll be happy to help.
Thanks in advance.
PS: I suspect that the solution to this bug 2/15/18 compiz update broke unity is what has broken my current version.
PS 20180313: Not sure if it is because I have applied the answer of N0rbert, but now i have tried (for sixth or seventh time) the "setsid unity" command in a terminal of a metacity session and after rebooting I have Unity and Compiz (with reset values) working again! Thanks a lot