Corrupted Material File !



  • Hi,
    I am creating my AssetBundles and was surprised that unused files was added
    After some researches, I found that there files was referenced in some materials created with Shadero, but not really used
    In the .mat file, I have 2 bad properties :
    A sample :
    m_SavedProperties:
    serializedVersion: 3
    m_TexEnvs:
    - _BumpMap:
    m_Texture: {fileID: 0}
    m_Scale: {x: 1, y: 1}
    m_Offset: {x: 0, y: 0}
    - _DetailAlbedoMap:
    m_Texture: {fileID: 0}
    m_Scale: {x: 1, y: 1}
    m_Offset: {x: 0, y: 0}
    - _DetailMask:
    m_Texture: {fileID: 0}
    m_Scale: {x: 1, y: 1}
    m_Offset: {x: 0, y: 0}
    - _DetailNormalMap:
    m_Texture: {fileID: 0}
    m_Scale: {x: 1, y: 1}
    m_Offset: {x: 0, y: 0}
    - _EmissionMap:
    m_Texture: {fileID: 0}
    m_Scale: {x: 1, y: 1}
    m_Offset: {x: 0, y: 0}
    - _MainTex:
    m_Texture: {fileID: 2800000, guid: 30a8fd2b2dee8e54090ff5b729909db2, type: 3}
    m_Scale: {x: 1, y: 1}
    m_Offset: {x: 0, y: 0}
    - _MetallicGlossMap:
    m_Texture: {fileID: 0}
    m_Scale: {x: 1, y: 1}
    m_Offset: {x: 0, y: 0}
    - _NewTex_1:
    m_Texture: {fileID: 2800000, guid: be9eb3e6bfa6998499c33254f6e76d49, type: 3}
    m_Scale: {x: 1, y: 1}
    m_Offset: {x: 0, y: 0}
    - _OcclusionMap:
    m_Texture: {fileID: 0}
    m_Scale: {x: 1, y: 1}
    m_Offset: {x: 0, y: 0}
    - _ParallaxMap:
    m_Texture: {fileID: 0}
    m_Scale: {x: 1, y: 1}
    m_Offset: {x: 0, y: 0}
    - _SourceNewTex_1:
    m_Texture: {fileID: 2800000, guid: cedc1937169d54345978397a48bf925a, type: 3}
    m_Scale: {x: 1, y: 1}
    m_Offset: {x: 0, y: 0}

    I have a MainTex, it's ok, but the _NewTex_1 and _SourceNewTex_1 was added for testing when I have created the shader and removed.
    I have reopened the shadero projet (that not contains this 2 nodes), with the material in live preview, and try some changes, but the properties remain
    If I add a NewTexture Node, select a texture, and save, the properties is updated. If I delete this node, so the properties remains in the .mat file, with the last file id
    If I add 2 NewTextures in my project, so the _NewTex_1 is updated, but there is no _NewTex_2 created

    I think that an older release has created the properties, and not the current release. The update of this properties sound like a remaining "thing" (bug ??)

    How to correct my files now ? I have 4 or 5 bad materials. Manual edit ?
    Is the m_SavedProperties need to keep all this infos ?



  • It's a bug that still exists on the last release

    I create a new shader projet and material, I add a NewTexture, set a sprite, save, delete it, save. The properties remain !
    All my shader are corrupted :( !!!
    I always use a temp sprite to see the result, and delete it at end, as each shader is used for some textures.
    I also add New texture and/or New source, as the node requires one or 2, following the node type, and delete it at end

    Sad...



  • Hi,

    No answer ??



  • Hello Lord,

    we are still here, sorry to not answer you sooner, we are busy on the new version.

    It's strange issue, we will try to reproduce it.

    We will come back sooner



  • Hi, is this bug corrected ?



  • Hi, is this bug corrected ?


 

Looks like your connection to Vetasoft Assets was lost, please wait while we try to reconnect.