Search Issue Tracker

Fixed in 2018.2.X



Found in


Issue ID




TextureImporter does not import PNG Textures with a negative mipmap bias correctly

Asset - Importers


How to reproduce:
1.Open the repro project "TextureBias" in comment
-> there is only 1 texture file with it's meta file
-> Open the meta file with text editor and note that "mipBias" is -1
2.Select the texture in Unity and observe the Inspector with Debug mode
-> "Mip Bias" on Editor is 0

Expected result: "Mip Bias" on Editor is -1
Actual result: "Mip Bias" on Editor is 0
See attached image in comment.

Note: if "mipBias" is -2 in the meta file, in Editor it will correctly show "Mip Bias" -2

Reproduced in: 2018.2.0a5, 2018.1.0b11, 2017.3.2f1, 2017.2.2p1, 2017.1.3p2, 5.6.5p3

Notes: The texture metadata "Mipmap Importer Test Texture -1.png.meta" file correctly shows mipmap bias as "mipBias: -1". Yet once the texture is imported to Unity the negative bias gets clamped back to 0.

Verified in: 2018.2.0a7

Comments (38)

  1. mamahotimah803

    Feb 21, 2023 06:05

    wow amazing

  2. evtris

    Jan 05, 2023 03:29


  3. MAXBET268

    Dec 27, 2022 06:38

  4. apkloblog

    Dec 18, 2022 10:44

  5. apkloblog

    Dec 18, 2022 10:43

  6. jueunshin

    Dec 05, 2022 05:24

    thank you

  7. Farizaramadhani

    Dec 01, 2022 02:52

  8. fuzzylogicpath

    Aug 15, 2021 06:21

    Thanks for sharing.

  9. unity_E37A58BF331A352AB963

    Apr 06, 2021 11:53

    Wow! Such an articulative post it is! I am a fan of your writing. Being a new writer, it's always good to see inspiring posts like this. I am a management graduate and write for 12th pass students for various career options. I write for a good blog: I want to write about a lot of things out there, please guide me on how I can become a good blogger.

  10. nitic383

    Apr 06, 2021 11:50

    Hey, it's Smriti. Your article is a good one. I must say not everybody knows how to write blogs and make them look professional. Being a law student I always look for data points like charts, analysis in articles. Yours seems to give justice to the topic. My personal style includes a lot of graphs, numbers and informative videos. I write on
    www.successmantracom for law related exams.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.