- Edited
Scenario
- Mesh is originally imported with some base materials. For example, this is a sample mesh from Kenney's car pack:
- Create a New Inherited Scene and override some of these surfaces with custom Materials. The materials are saved resources.
Problem
- Godot resets my material overrides when the mesh vertices are updated externally, for example, on Blender, but even worse, and this is the red flag: when the mesh is re-imported, for example, after cloning the saved project from the repository all overrides are lost - even although the material overrides were MADE IN GODOT AND WERE COMMITTED to the repository (i.e. the scenes and resource files were saved).
- If I override the Material directly instead of the surfaces, the same issue happens
Solution
How to solve this? Or how to avoid this, considering it's perfectly mandatory to be able to update meshes while keeping overrides.
This is not the 1st time, in truth, I've been facing this since I've started using Godot since 3.1 and made some Ludum Dare games with it, but I considered the situation "ok and acceptable" and I would always re-insert my materials.
Now I'm starting to place dozens of meshes and this is getting out of control, because it makes impossible to keep the integrity and consistency of the project.