Search Issue Tracker
Fixed
Fixed in 2023.1.0b12, 2023.2.0a8
Votes
0
Found in
2023.1.0b3
2023.1.0b6
2023.2.0a5
Issue ID
UUM-28063
Regression
Yes
GameObject name does not scale and is not centered within icon
*What happened ?*
When you assign an Icon to a Game Object, it shows that icon and the object's name within the scene view. This helps with debugging and keeping track of objects.
In the affected versions of the editor, the name of the object is not centered within icon boundary. See below 'Actual Result' section for a screenshot demo.
This does not happen in : 2022.2.8f1 , 2021.3.20f1 , 2020.3.45f1
*Steps to Reproduce*
# Create an empty project, and add a GameObject to a scene.
# In the upper left of the Inspector panel of that object, assign an 'Icon' to that new object. Make sure to pick the 'capsule' style of icon in order to reproduce issue.
# Observe within the scene view, the icon is shown and the text is not centered. Repro should match the 'Actual Result' screenshot shown below.
*Expected Result*
The name of the object scales with the relative size of the icon, as the Scene camera is moved. The text is centered within the icon boundary.
_Screenshot taken from 2022.2.8f1_
*!image-2023-02-24-12-29-04-983.png|width=365,height=161!*
*Actual Result*
The text is not scaled to fill the boundaries of the icon, and the text is not centered.
_Screenshot taken from 2023.1.0b6_
{*}!image-2023-02-24-12-26-17-333.png|width=381,height=147!{*}T
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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Resolution Note (fix version 2023.2.0a8):
Fixed an issue with text used in Gizmos. It now has the correct size, position and clipping.
Resolution Note (fix version 2023.1.0b12):
Fixed an issue with text used in Gizmos. It now has the correct size, position and clipping.