When I try to render it only works if the object is selected (if nothing is selected it just shows all black) arghhh was working before aswel.