Search Issue Tracker
Fixed in 5.3.0
Votes
1
Found in
5.2.0f3
Issue ID
728524
Regression
Yes
ReadPixels get distorted input in Game View window
Steps to reproduce:
1. Download and open attached project "Color Picker Test.zip"
2. Play the scene "Debug"
3. Change aspect ratio to anything but "Free Aspect" and make sure that there are considerable amount of empty (black space) at sides
4. Click on any of the squares to set the color of the circle
5. Note that the wrong color is set
Notes:
1. This is only affected in editor Game View.
2. The squares seem to shift to the right top, so if the view is shorter than the window, the ReadPixels will get wrong input (the "correct" input seems to be shifted at the top right of the view).
3. Everything works as expected if the aspect ratio is set to "Free Aspect", this being a possible workaround as well.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Unrecognized identifier DECLARE_STACK_CB error is thrown when VirtualTexture Property is used with Custom RenderTexture target
- SpriteShapeController.OnWillRenderObject() is ~20 ms when using SpriteShapeController.BakeMesh() and never updating the spline
- Editor freezes briefly when "multi-selecting" TextMeshPro GameObjects In the Hierarchy window in Prefab Mode, if 5 or more Inspector windows are open
- OnEndDrag event not triggered when losing Editor focus during simultaneous Left and Right mouse drag
- Texture displays visual artifacts and has a broken aspect ratio when it is imported in RGB 48-bit format
Add comment