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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (fix version 3.1.4):
Fixed by Package Version: 2D PSD Importer 3.1.4 (2020.1)