Search Issue Tracker
Won't Fix
Votes
0
Found in
5.4.0b10
Issue ID
780176
Regression
No
OnRectTransformPositionChange has different number of calls than usual if ScrollRect component had some changes made before play
Steps to reproduce:
1. Open attached project
2. Open scene "test"
3. In hierarchy, expand "Canvas" and select "Scroll View"
4. Run scene and notice a number of callbacks printed, should be 78
5. Exit play mode and change Scroll Rect component of Scroll View. For example, add empty OnValueChanged event by clicking "+"
6. Run scene again and notice that this time number of callbacks is much lower - 40
7. Exit play mode
8. Enter play mode again
9. Notice that this time number of callbacks is back at 78 again
Note: happens doing other changes too: changing movement type, enabling inertia, etc... Editing Image component doesn't mess with number of callbacks
Reproduced with: 5.2.4f1, 5.3.4f1, 5.4.0b10
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Sprite Masks affect Sprite Renderers outside their range when a Light2D is present with specific Target Sorting Layers selected
- URP Lens Flare is rendered in the wrong position when Render Graph Compatibility Mode is enabled and Render Scaling is not 0
- Editor crashes on DrvPresentBuffers when loading RenderDoc while using OpenGLES 3.0 or OpenGLES 2.0 Graphics API
- [Test Runner] Incorrect name under Window > Panel after project restart
- [iOS] Crash when using fallback fonts created at runtime
Add comment