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)
Comments (1)
-
jalilebougrio
May 18, 2024 15:19
jjjjjjjjjjj
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
- PlayerPrefs get corrupted when a minimized fullscreen Player is closed through the Taskbar
- "To Debug, run app with -diag-job-temp-memory-leak-validation cmd line argument. This will output the callstacks of the leaked allocations." warning is printed when JobTempMemoryLeakValidation switch is enabled
- Main Thread stalling when loading Audio Source asset asynchronously while preloading another Audio Source asset
- Material artifacts occur in the Material Preview window when baked lighting is applied to scenes
- “ArgumentOutOfRangeException” after saving, reseting and re-add Default Tile Palette Tools to the list in Preferences window
Resolution Note (fix version 3.1.4):
Fixed by Package Version: 2D PSD Importer 3.1.4 (2020.1)