Search Issue Tracker
Fixed in 2020.3.X
Votes
0
Found in
2020.3
2020.3.33f1
Issue ID
1416307
Regression
No
[Texture] Null Referrence Exceptions when Packing a Sprite Atlas with size smaller than the smallest Sprite
Reproduction steps:
1. Open the attached project
2. In the Project window select the Sprite Atlas
3. In inspector switch the Max Texture Size to less than 1024
4. Pack Preview
Expected result: an error is thrown in console that indicates that the Sprite atlas needs to be at least 1024
Actual result: along with the size error, many MissingReferrenceException errors are thrown
Reproducible with: 2020.3.33f1
Not reproducible with: 2019.4.37f1, 2021.2.19f1, 2022.1.0b15, 2022.2.0a9
Tested on Windows 10
Notes:
1. Full error can be found in the report
2. The issue stops reproducing after a downgrade or an upgrade of the project and I was not able to reproduce the issue again by creating a new project. The project attached has the issue in it
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
- "Unrecognized block header in profiler data file, stopping deserialization" error is shown and no more profiler data is recorded when the Player is connected and profiler recording is enabled/disabled few times
- Shader error and warnings thrown when setting HDRP as an Active Target in Blank Shader Graph
- Visual Studio Code does not integrate with the project when the .slnx project is opened
- Shader Graph template titles blink and render incorrectly in “Create New Shader Graph Asset” window
- Profiler Captures List foldouts do not open when clicked on the foldout title
Resolution Note (fix version 2020.3):
Fix for this issue is available on Unity 2020.3.35f1 and above