Search Issue Tracker
Fixed in 3.1.4
Votes
1
Found in [Package]
2.0.3
Issue ID
1230120
Regression
No
IndexOutOfRangeException error is thrown when importing PSB files with 32-bit color using 2D PSD Importer
How to reproduce:
1. Create a new Unity project and import the 2D PSD Importer package
2. Download the user-supplied "error.psb" file
3. Import the file to your Unity project
Expected result: the .psb is imported successfully
Actual result: errors appear in the Console upon trying to import
Reproducible with:
1. 2.0.3 (Unity 2019.3.0a12)
2. 2.1.3 (Unity 2019.3.8f1)
3. 3.1.1 (Unity 2020.1.0b4)
4. 3.1.3 (Unity 2020.2.0a5)
Could not test with: 2017.4 (due to the missing package), 2018.4 (2D PSD Importer unavailable)
Notes:
1. Full errors are as follows:
1.1. IndexOutOfRangeException: Index was outside the bounds of the array.
PhotoshopFile.Compression.ZipPredict32Image.Unpredict (System.Byte[] ptrData, System.Byte[] ptrOutput) (at
Library/PackageCache/com.unity.2d.psdimporter@2.0.3/Editor/PSDPlugin/PsdFile/Compression/ZipPredict32Image.cs:175)
1.2. Asset import failed, "Assets/case_1230120-error 1.psb" > IndexOutOfRangeException: Index was outside the bounds of the array.
PhotoshopFile.Compression.ZipPredict32Image.Unpredict (System.Byte[] ptrData, System.Byte[] ptrOutput) (at
Library/PackageCache/com.unity.2d.psdimporter@2.0.3/Editor/PSDPlugin/PsdFile/Compression/ZipPredict32Image.cs:175)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Any small change in UI Builder Inspector refreshes Editor Inspector
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- Global Scenes are not included in the Build when building multiple Build Profiles at the same time
Resolution Note (fix version 3.1.4):
Fixed by Package Version: 2D PSD Importer 3.1.4 (2020.1)