[flighting_su14] Material editor bug?

With the Scenery Editor open I shouldn’t get the Material Inspector like in the image attached
Infact, a material created with that editor is not working (upper right polygon with material applied, diagonal line across the poly)

One the left correct material, on the right wrong one (using latest beta iteration)

Edit: added material sample

1 Like

I’m confused. I’m no expert by any means, but I don’t understand what your question or problem is?

In the inspector, it looks to me that the Albedo texture for your brick material is on the left, and the comp (metallic level shown?) texture for the material is on the right. A material can consist of up to 3 textures, the Albedo, the Comp (R - Ambient Occlusion, G - Roughness, Blue - Metallic), and a Normal texture.

As far as the line you mention, I have no idea what that is. Maybe it’s your material stretched?

The fact you’re not seeing it could be due to a number of reasons. It could have something to do with the definition of the material, the tiling size you’re choosing, maybe FS thinks it’s transparent… An expert will have more reasons for you.

Personally, I have better luck applying materials with Aprons or Rectangular Polygons. Sometimes you have to move the material around for it to show up with the x y position and rotation sliders.

Try removing the COMP texture and see how it looks. If that solves it, there’s something wrong in the COMP file. The normals could be inverted.

@FlyingsCool
@vpilotfs

The material editor is “context related”
So with the scenery editor open I shoud
Expect this interface

While the one shown above in my post should be the Visual Effect one

Because the shown interface doesn’t provide
Surface type selection, the created material is unable to show

The comp used is 100% correct, you see the second screenshot? I have already created the material before :wink:

1 Like

As I noted, the way the question was worded I was very confused.
I don’t know what “on the left” or “on the right” meant. I thought you meant in the inspector.
So, be that as it may, I’ll shut up now.

Hello @here,

Indeed, we have identified a context bug with the material editor and are currently tracking it in our backlog.

Regards,
Boris

1 Like

Hi,

The scenery editor wasn’t setting the correct context in the MaterialEditor, it has been fixed.
But to be sure the editor use the correct context, it is now displayed in the material inspector window (and it can be changed)
image

Regards,
Xavier

1 Like

Ok cool!

is the fix going live in SU14 stable/upcoming beta or shoul be already in place?

actually on 1.35.18.0 and sdk 0.23

Hey @mamuDesign ,

The information you referred to is from an older release note of the 0.23 SDK.
The actual fix is scheduled to be shipped with the upcoming flighting updates.

Regards,
Boris

2 Likes

This is still happening for me. I created a material in the material lib first, then realized the mistake I had made - I need to open the scenery editor also. But was still having this issue after loading the scenery editor. So I deleted the material, and tried to add it with the scenery editor. Also seeing duplicate materials named “(my-package-name-here)”, without quotes. If I try to delete them, I get an error: “Cannot delete this Material, guid is invalid.”
Tried diagnostics, nothing happens. Clean unused textures doesn’t fix it. I even closed my project and made a new one, and nothing. If I close the sim and reload projects, it works. Running the latest version of the SDK.