Thanks for the reply cancel. I had tried to do so in both. Doing it in BeginPlay or PostInitializeComponents does indeed prevent the crash in the editor. But if I do it in BeginPlay, the material only assumes the color when I hit play. If I do it in PostInitializeComponents, it assumes the color in the editor. However, if I change the color in the code, it’s not reflected on the editor.