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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment