Search Issue Tracker
Won't Fix
Won't Fix in 2023.2.X
Votes
0
Found in
2022.2.5f1
2023.1.0b2
2023.2.0a2
Issue ID
UUM-27590
Regression
No
Painter2D sets the wrong vector value when drawing figures
Reproduction steps:
1. Open the attached project “DrawingBug“
2. Open the scene “Assets/Scenes/SampleScene”
3. Enter the Play Mode
4. Press and hold the left mouse button
5. Drag the cursor either way and release the button
Expected result: Vector is always placed regarding the mouse cursor position
Actual result: Sometimes for the one frame the vector of the drawn shape will be set to (0;0)
Reproducible with: 2022.2.5f1, 2023.1.0b2, 2023.2.0a2
Couldn't test with: 2020.3.18f1 (The name 'LineCap' does not exist in the current context), 2021.3.18f1 (The name 'LineCap' does not exist in the current context)
Reproducible on: Windows 11
Add comment
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 ConstraintProjectionTree::projectionTreeBuildStep when ConfigurableJoint uses JointProjectionMode.PositionAndRotation and connected Rigidbody switches from kinematic to non-kinematic
- ScriptableObject asset is accessed during the lookup of Build Profiles when opening the Build Profiles Window
- [Multiplayer TPS Sample] Grenade launcher explosion misses the Player when the Collider count exceeds HitColliderBuffer
- OS Notification Documentation is missing when following hyperlink in Notifications Settings in Hub
- Canvas Scaler sets local transforms (Position, Rotation, Scale) to 0 when Canvas is edited in Prefab Mode
Resolution Note:
After looking at the project, there is an actual LineTo() call originating from (0,0). This is probably caused by the delayed input logic. Using the Input.MouseButtonDown() API from the Update() method should fix it.
Resolution Note (2023.2.X):
After looking at the project, there is an actual LineTo() call originating from (0,0). This is probably caused by the delayed input logic. Using the Input.MouseButtonDown() API from the Update() method should fix it.