I have a level transition in my game, but after changing level one to the other, some materials are displaying as gray-white rectangles (missing material).
This only happens when changing from on level to another and I can see materials just fine if I start the specific level from the editor, but If I start level in one map and then switch to another, some materials will stop rendering, even if they were previously loaded in. They will also stop rendering in the editor and the only way to make them render again is either restarting the editor all together or changing the model’s position.
This problem occurs even in a packaged game.
Here’s a video comparing the loaded level with the one in-editor one
If you’re using a custom material for everything that is not loading properly (I.E. materials that are not from starter content) then just find every texture that is not loading, and open them, after that, there should be a button on the top of the texture editor that says “Reimport” just click that. (i had this exact problem)
Are you using a plugin for the materials or textures? or did you get them from somewhere else? Maybe try switching the materials with any random one to see if that works, if it does, it could be the materials or textures
If I change the floor material to the one that walls use (Walls never get corrupted for some reason) then it does get rendered, but almost everything else doesn’t
everything else, like every mesh in the level? do you have starter content in this project? If you do, then try changing it to one of the starter content materials
It seems to be material problem, since some materials (walls, typewriter, the bed, radio visible in the video) do render no matter what. I don’t have any starter content, but I have 1 texture from the marketplace which does get rendered properly too
Then, yes, there has to be something wrong with the material you are using.
Find a texture (or material) that is as close as possible to your old material, and if that renders, then you just might have to use that one. Also a texture or material that you like, of course
The materials all differ, some have transparency, some don’t. Some are copy-pasted, but with different texture and the original doesn’t render, but the copy does, but sure. 1st screenshot is a loading material, 2nd is non-loading material
Well, you might want to message a moderator, because I frankly don’t know how i have been talking to you this whole time and understanding everything, I am not an expert at this, but i will try to help you as much as I can, but right now, i have nothing
I tried asking over on reddit and discord and never get any meaningful replies either, I’ve only met 1 person who has the same problem. Might be some UE5.1 error
EDIT: I’ve reached the reply limit. I can’t reply for another day, but no. Putting non-working textures in working material doesn’t stop anything. It’s the specific materials that don’t work, no matter the texture