If you're using the Authoring Tool and have added custom CSS in the Project Setting, you could have an error in your CSS. Something as simple as a missing semi-colon, or curly brace can cause an Error when previewing.