I have recently migrated my project from 5.1 to 5.3 and noticed an issue with materials. When using a skylight in my level, all of my nanite meshes are displaying random materials. Every time I make changes to my skylight or run the game, every nanite mesh in my level will display a new random material. Examples below:
Interestingly, if I delete the skylight the issue is fixed when I run the game, but not fixed in the viewport. If I want to fix the materials in the viewport, I need to select each piece of nanite geometry holding ‘shift’ for some reason. However, this is not a great workaround since I need skylights.
Any help is appreciated!
A few things I’ve already tried:
- Updating Nvidia drivers
- Recompiling all shaders
- Migrating my project to 5.2 and then to 5.3
Specs:
Intel Core i7-10700KF 3.80GHz
Nvidia RTX 3080
32 GB RAM
2 TB SSD
Windows 10
EDIT: Seems like this is probably related to this bug UE-116954 which seems like it’s been an issue since 5.0 Early Access… You can fix the issue by setting your skylight to ‘moveable’, but this would likely have performance costs, right?