Search Unity

Bug Imported PNG becomes artifact

Discussion in 'Linux' started by wonson, Aug 13, 2016.

  1. wonson

    wonson

    Joined:
    Apr 21, 2016
    Posts:
    5
    landscape_0001_g_bump.png
    The above png image is normally imported in Win and Mac Unity. But when it is imported to Linux Unity, it becomes the following:
    Screenshot from 2016-08-13 23-52-11.png
    And the material becomes pure white
     
  2. Tak

    Tak

    Joined:
    Mar 8, 2010
    Posts:
    1,001
    I don't see that by default here -what target platform and importer settings are you using?
     
  3. wonson

    wonson

    Joined:
    Apr 21, 2016
    Posts:
    5
    i can't tell, import settings show blank because the following error appears.

    ArgumentException: May only be called in OnPostProcessTexture
    UnityEditor.Modules.DefaultTextureImportSettingsExtension.ShowImportSettings (UnityEditor.Editor baseEditor, UnityEditor.TextureImportPlatformSettings platformSettings) (at /home/builduser/buildslave/unity/build/Editor/Mono/Modules/DefaultTextureImportSettingsExtension.cs:93)
    UnityEditor.TextureImporterInspector.ShowPlatformSpecificSettings () (at /home/builduser/buildslave/unity/build/Editor/Mono/ImportSettings/TextureImporterInspector.cs:1466)
    UnityEditor.TextureImporterInspector.OnInspectorGUI () (at /home/builduser/buildslave/unity/build/Editor/Mono/ImportSettings/TextureImporterInspector.cs:1310)
    UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor editor, Int32 editorIndex, Boolean rebuildOptimizedGUIBlock, System.Boolean& showImportedObjectBarNext, UnityEngine.Rect& importedObjectBarRect) (at /home/builduser/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1233)
    UnityEditor.DockArea:OnGUI()

    Unexpected top level layout group! Missing GUILayout.EndScrollView/EndVertical/EndHorizontal?
    UnityEditor.DockArea:OnGUI()
     
  4. wonson

    wonson

    Joined:
    Apr 21, 2016
    Posts:
    5
    I fix it by "git clone" again. Let close this thread for now. I will let you know if I have the problem again. thx.