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)

Add comment

Log in to post comment