You might want to post the actual error. This tells me nothing as I know the UI2DSprite and NGUISettings both have the 'sprite2D' properties.