Search Issue Tracker
Fixed
Fixed in 2020.3.41f1, 2021.3.13f1, 2022.1.20f1, 2022.2.0b10, 2023.1.0a5
Votes
0
Found in
2020.3.34f1
2021.3.4f1
2022.1.4f1
2022.2.0a16
2023.1.0a1
Issue ID
UUM-4340
Regression
No
'NullReferenceException' is thrown on UI.Image.GenerateTiledSprite when Image Type is set to Tiled
Reproduction steps:
1. Open the attached 'Test_01' project
2. Open the 'SampleScene'
3. Enter Play mode
4. Observe the Console
Expected result: No errors are in the Console
Actual result: 'NullReferenceException: Object reference not set to an instance of an object' is thrown
Reproducible with: 2019.4.39f1, 2020.3.34f1, 2021.3.4f1, 2022.1.4f1, 2022.2.0a16
Reproduced on: macOS 11.6 (Intel)
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
- UI Builder can't set a background image to a sprite from a multi-sprite spritesheet in the Resources folder
- Light2D freeform does not render the internal part when rendered in certain shapes
- Using AddCopyPass causes an incorrect merging of passes.
- Negative Enum value is not pasted correctly when copying from another array
- Silent Crash when generating Lightmap UVs for a model with a large object scale
Resolution Note (fix version 2023.1.0a5):
Fixed in 2023.1.0a5
Resolution Note (fix version 2022.2.0b10):
Fixed in: 2022.2.0b10
Resolution Note (fix version 2022.1.20f1):
Fixed in: 2022.1.20f1
Resolution Note (fix version 2021.3.13f1):
Backport original fix. Summary, it fixes the NullReferenceException on Tiled image types when the sprite atlas being used is omitted from the build.
Resolution Note (fix version 2020.3.41f1):
Fixed in: 2020.3.41f1