Search Issue Tracker

Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.

Postponed

Votes

12

Found in

2017.4.0f1

2018.3.0a1

2018.3.0f2

2019.1.0a1

Issue ID

1110225

Regression

No

NullReferenceException from GenerateTiledSprite when SpriteAtlas is not included in the build and Image Type is set to 'Tiled'

uGUI

-

How to reproduce:
1. Open user-submitted project (IssueRepeatedImageWithSpriteAtlas) and 'SampleScene' scene
2. Enter Play Mode

Expected result: no errors are displayed in the Console window
Actual result: NullReferenceException is displayed in the Console window

Reproducible with: 2017.4.18f1, 2018.3.1f1, 2019.1.0a13

Notes:
'Image Type' must be set to 'Tiled'
'Include in Build' option on the SpriteAtlas must be unchecked

  1. Response avatar

    Resolution Note (2019.2.X):

    As noted the ticket is low priority and they deemed we can close the case. Not sure why it was triggered as high priority.

Comments (4)

  1. 05cf152f6e32c7bb580f2e9411d0a878?d=mm

    joe_nk

    Jul 21, 2020 21:04

    I'm seeing this too in 2019.4.1f1. I'm a bit miffed as to why a common, easily reproducible crash has been considered low priority?

  2. Fd9c3caabc824843facbdad05723f5e9?d=mm

    jason_unity266

    Oct 21, 2019 21:22

    2019.2.6f1

  3. 00caed3d1b349c4c012ec4b2e07cbe1c?d=mm

    MikePage_Artrix

    Sep 09, 2019 00:36

    you can get around this by ensuring the atlas is loaded before the call to GenerateTiledSprite

  4. 00caed3d1b349c4c012ec4b2e07cbe1c?d=mm

    MikePage_Artrix

    Sep 04, 2019 05:09

    2019.2.2

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.