Search Issue Tracker
Fixed
Votes
0
Found in
4.6.0b8
Issue ID
604180
Regression
No
CompareApproximately(dstRatio, srcRatio, 1.0f/32.0f) is thrown when setting texture type to Sprite
Steps to repro:
1. Open the attached project
2. Go to sprites folder and select "Bug_StencilInfo_bee_B' (or any other texture provided)
3. Change the texture type to Sprite (2D \ uGui)
4. Observe the error in the console:
CompareApproximately(dstRatio, srcRatio, 1.0f/32.0f)
UnityEditor.DockArea:OnGUI()
If you change texture's max size to more than 1024, the error is not thrown. (original texture size is 1868x9, when compressed 1024x5)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment