Search Issue Tracker

Duplicate

Votes

0

Found in [Package]

4.3.1

6.0.6

8.0.2

9.0.0-pre.1

Issue ID

DANB-325

Regression

No

[2D] NullReferenceException is thrown when opening a PSB file via Sprite Editor

Package: 2D PSD Importer

-

How to reproduce:
1. Open the user’s attached “My project (49)” project
2. Select the "Assets -> test_psb" file in the Project Browser
3. Click the "Open Sprite Editor" button in the Inspector

Expected result: PSB file is successfully opened in the Sprite Editor with its contents displayed
Actual result: No PSB file content is displayed in the Sprite Editor with NullReferenceException thrown in the Console log

Reproducible with: 4.3.1 (2020.3.43f1), 6.0.7 (2021.3.16f1), 8.0.2 (2022.2.2f1), 9.0.0-pre.1 (2023.1.0a24)

Reproduced on: macOS 13.0 (Intel)

Thrown error:
NullReferenceException: Object reference not set to an instance of an object

  1. Resolution Note:

    Fixed after resolving DANB-326, it now states the error message:

    Failed to import file Assets/test.psb. Ex:Unable to create pack texture. Image size is too big to pack.

    https://issuetracker.unity3d.com/issues/2d-editor-becomes-unresponsive-when-editing-a-psb-file
    Duplicate of another internal issue: DANB-326: [2D] Editor becomes unresponsive when editing a PSB file

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.