Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
3.0.6
Issue ID
1345693
Regression
No
Text appears as white blocks when camera set to screen space camera with low plane distance
1. Add 3d object to the scene
2. Add a TMP object
3. Set camera to screen space camera and plane distance to 0.03 or less and near clipping plane =0.01
Expected result: text appears above the 3d object
Actual result: text appears as white blocks
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
- URP ShadowCaster2D is misplaced and distorted when used with rotated Perspective Camera
- UI mesh is drawn twice when two cameras are used
- The Scene view top menu bar disappears when any Draw Mode other than "Wireframe" is selected in the specific project with a corrupted Material
- TabView.tabClosed EventHandler passes the wrong tab index as parameter when closing a tab from oldest to newest order
- Rigidbodies clip through terrain and snap back up when Heightmap Resolution is bigger than the terrain size
Resolution Note:
This behavior is the result of the changes to the plane distance and clipping plane where this results in the Canvas scale being incredibly small where we end up in floating point precision / rounding territory when trying to update the SDF Scale.
The current precision is 0.0001f when checking for potential RectTransform dimension changes. When using this incredibly small Canvas scale, we end up with a scale smaller than 0.00005 which as stated above gets us into floating point precision limitations.
The solution is to adjust the scale of the scene and objects as to use a more reasonable scale overall.
See the following reply to the user on the forum. https://forum.unity.com/threads/text-showing-as-solid-blocks-in-screen-space-camera-mode.791520/#post-7271284