Materials Randomly Get Wiped Out

I always have this problem in sketchup.
Sometimes I can solve it by exploding and creating new groups/materials within sketchup and importing again. But sometimes that’s not enough either. Another thing he decided was to create the material and add it to the Library User. But it’s pretty frustrating most of the time that it doesn’t work. I hope they solve this in the 2025 version