Materials disappear when in editor

Materials disappear when in the editor, but they are fixed when in the game.