Ubuntu no system settings

I just got ubuntu 15.10 and every time I try to load up anything in system settings it doesnt show up.

I type unity-control-center into the terminal and this is what it says
(unity-control-center:24581): Gdk-ERROR **: The program 'unity-control-center' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
(Details: serial 168 error_code 2 request_code 154 (GLX) minor_code 24)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the GDK_SYNCHRONIZE environment
variable to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
Trace/breakpoint trap (core dumped)

Probably the best thing to do is reset Unity.