Canvas.scaleFactor not take into account
See original GitHub issueenv: Unity 2018.2.17f1
When using Screen space - Overlay
and UI scale Mode Scale with screen size
, Canvas.scaleFactor
should take into account inside UpdateMesh()
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
CanvasScaler.scaleFactor has no effect in code
My Canvas has rootCanvas different from itself. So AFAIK CanvasScaler wouldn't work on my Canvas. Do I need to remove CanvasScaler component?
Read more >Unity3D Canvas scaleFactor not working correctly
I have been working on the UI of a game I am making with in this part of the UI it generates a...
Read more >Canvas Scaler, Explained | Unity Tutorial - YouTube
Learn all about the Canvas Scaler! The Canvas Scaler comes by default whenever you make a Canvas in Unity, but many of us...
Read more >On Web, don't scale the canvas on scale factor changes
The documentation says about WindowEvent::ScaleFactorChanged::new_inner_size: By default, this will contain the size suggested by the OS, ...
Read more >WorldToScreenPoint not returning correct value, even after ...
WorldToScreenPoint() to convert, but I think that doesn't take into account the canvas scaling. So then I'm using camera.WorldToScreenPoint() / ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I found a way to scale well in most cases!
It scales well even if you change the following parameters:
The issue will be fixed in the next release:)