Textures missing on GridBlue, GridRed, and GridYellow materials in game view

I seem to have run into an issue when the game is running and I switch from the move action to one of the other actions, the GridSystemVisual turns pink as if the texture is missing.

The white material for the move action displays the material correctly. Also, if I go into the GridSystemVisualSingle prefab and manually drag the material onto it, it displays correctly.

Any and all help is much appreciated!

I should also mention the materials are all using URP/Lit shader and are identical in the inspector except for base map color, so Iā€™m not sure why only the white material is working.

Looks like I had a return null in the wrong spot on the GetGridVisualTypeMaterial function in the GridSystemVisualScript :slight_smile:

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms