It looks like that in the constructor the components are not initialized yet so setting the material won’t work. Another solution is using PostInitializeComponents.
It looks like that in the constructor the components are not initialized yet so setting the material won’t work. Another solution is using PostInitializeComponents.