Search Issue Tracker

Fixed in 2019.2.X

Fixed in 2018.4.X

Votes

0

Found in

2018.4

Issue ID

1231227

Regression

No

Preset files for Assets with Platform Settings get modified when first selected

Asset - Importers

-

How to reproduce:
1. Create a new Unity project
2. Import any image into the Assets folder
3. Create a TextureImporter preset for the image
4. Select File > Save Project
5. Open the preset in a text editor and search for m_PlatformSettings.Array.size(its value is 1)
6. In the Editor select the saved TextureImporter preset
7. Select File > Save Project
8. Open the preset in a text editor again and search for m_PlatformSettings.Array.size

Expected result: the value remains unchanged
Actual result: the value has increased/preset contents are modified

Reproducible with: 2018.4.20f1, 2019.2.0a5
Not reproducible with: 2019.2.0a6, 2019.3.7f1, 2020.1.0b4, 2020.2.0a5
Could not test with: 2017.4.38f1(presets unavailable)

Notes:
Also tested and reproduced with VideoImporter preset

  1. Resolution Note (fix version 2019.2):

    Fixed in 2019.2.0a6

  2. Resolution Note (fix version 2018.4):

    Fixed in 2018.4.23f1

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.