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
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
- PolySpatial “Trying to set shader on a Material Variant.” error is printed in the console when entering Play Mode
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
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