Search Issue Tracker
Fix In Review for 2020.2
Fixed in 2019.4, 2020.1
Votes
2
Found in
5.4.0p3
Issue ID
833456
Regression
No
Canvas.ForceUpdateCanvases() doesn't update canvas before Camera.Render() is called
Steps to reproduce:
1. Open attached project
2. Open scene "Scene"
3. In project tab click on "New Render Texture" and make sure that preview is enabled
4. Click on game view to make sure that it accepts keyboard keys
5. Press "2" and this will resize texture, call Canvas.ForceUpdateCanvases() and then Camera.Render()
6. Notice that render texture doesn't resize button
7. In scene view notice that canvas are resized
Additional steps:
8. Press "1" and notice that button isn't in the corner of render texture
9. In scene view notice that it should be in the corner
Reproduced with: 5.2.5f1, 5.3.6p6, 5.4.1p2, 5.5.0b5
-
Menion-Leah
Feb 21, 2019 17:14
Same issue here (2018.3.2f1).
Seems quite weird that no explanation is provided when a case is closed as "Won't fix"
-
illa3d
Jan 20, 2017 13:28
Experiencing the same issue. Unity 5.5.0p3.
Has anyone found a workaround?
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
- Shader error db grows on each build
- Android ARCore build fails with 2019.4 due to outdated Gradle
- [tvOS] Visual artifacts are present when Ambient Occlusion is enabled and Dynamic Resolution is reduced
- Texture Importer Inspector throws errors when a built-in texture inspector is overwritten in C#
- Invalid AABB error is thrown when moving a Particle with Velocity over Lifetime and Limit Velocity over Lifetime modules
Resolution Note (fix version 2020.2):
Canvas RectTransform size calculation now done for standalone renders as well. Partial fix: requires camera to be enabled during Camera.Render() call