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
- Crash on PrepareDrawShadowsCommandStep1 when entering the Play Mode in a specific project
- Physics Layer Collision Matrix's Layer names, checkboxes and hover highlights become misaligned when the Editor's UI Scaling gets changed
- Light/shadow information on an edge of a Terrain tile creates a seam with an adjacent Terrain tile when baking a LightMap
- "Missing types referenced from component UniversalRenderPipelineGlobalSettings on game object UniversalRenderPipelineGlobalSettings..." warning is thrown after switching the Platform to tvOS
- “Metal: Error creating pipeline state (Universal Render Pipeline/2D/Sprite-Lit-Default): Vertex attribute BLENDINDICES0(5) of type uint4 cannot be read using MTLAttributeFormatFloat2 (null)“ when setting GPU Skinning to GPU after opening the project
Add comment