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
- Variable is set to a different value from the selected enum value in the Editor dropdown
- TreeView Child display toggle styling becomes reversed when clicking and dragging it
- Null is returned when using FocusOutEvent.relatedTarget
- Unity_BaseInstanceID is always zero when rendering multiple meshes and instancing with the same buffer
- UI Document button's text does not resize relatively when size in percentage (%) is used
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