Search Issue Tracker
Fixed in 2021.2.X
Votes
1
Found in
2020.2
2020.2.0f1
2021.1
2021.2
Issue ID
1300130
Regression
No
A non-descriptive error is thrown when building with a Texture that has it's rectangle out of bounds
How to reproduce:
1. Open the attached project ("TextureAtlasBugrepo.zip")
2. Build And Run
Expected results: A descriptive error is thrown informing which atlas or sprite is faulty.
Actual results: A non-descriptive error is thrown
Reproducible with: 2020.2.3f1, 2021.1.0b1, 2021.2.0a2
Could not test with: 2018.4.30f1, 2019.4.18f1 (Errors downgrading)
Notes:
1. In the Editor Warnings are logged for faulty textures :
"Example's rect lies (partially) outside of texture. Will not generate Sprite for this slice."
2. This error is usually thrown only the first time when building, to reproduce again delete the "Library" folder
3. This error is thrown when building both with IL2CPP and Mono
-
SmirkinMerkin
May 20, 2023 20:24
Any update on this?
I just had this issue in a new project using 2021.3.25f1 -
castor76
Feb 13, 2021 09:41
Any news on this?
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2021.2):
A fix for this issue will be available on Unity 2022.1.0a2 and above