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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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