This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

This seems to be a recent issue as I have done this before but I may be overlooking something.

Steps taken to reproduce the issue:

  1. Create a new mesh in my Mesh Library scene.
  2. Apply a material to the chosen mesh in both override and mesh itself.
  3. Convert to a Mesh Library.
  4. Create a GridMap in main scene and plot the tile in the editor (The material appears just fine in editor)
  5. Run the game and see that the material is gone and the mesh is white.

Also, when I reload the mesh library scene in the editor, the mesh is missing its material again.

What the tiles look like in-editor:
Editor View of plotted tiles

What the tiles look like in-game:

In-game View of plotted tiles

in Engine by (70 points)

1 Answer

0 votes
Best answer

I figured it out! So if anyone has issues with this in the future:

Only modify the material inside the mesh itself and make all child resources of that mesh and material unique. I'm not sure if this is a bug or the way things are meant to work, but it's my workaround for now.

by (70 points)
selected by
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.