Search Issue Tracker
Fixed
Fixed in 2021.3.44f1, 2022.3.45f1, 6000.0.15f1
Votes
2
Found in
2021.3.40f1
2022.3.38f1
6000.0.11f1
6000.1.0a7
6000.2.0a1
7000.0.0a1
Issue ID
UUM-76270
Regression
No
The Custom Function Nodes Body block doesn't have any controls to properly observe HLSL code, Graph Inspector breaks with large text when using the String type
*Steps to reproduce:*
# Create or Open a Project with the Shader Graph installed
# In the Project Browser create a Shadergraph and open it
# Create a "Custom Function" Node
# With it selected, in the Graph Inspectors Node Settings change "Type" to "String"
# In the "Body" block paste a large string or just enter a lot of text
# Observe the "Body" blocks bounding box
*Actual results:*
The "Body" block doesn't have a vertical or a horizontal scrollbar and the user is not able to properly navigate the HLSL code that is inputted, the only way to do so is selecting text and dragging the cursor
The "Body" blocks bounding box enlarges to the right
The Graph Inspector is not immediately updated, and no horizontal scrollbar appears, when the Graph Inspector is resized the horizontal scrollbar appears
*Expected results:* The Graph inspector should not change size, the "Body" text block should have a vertical and a horizontal scrollbars if the text lenght and height call for it
*Reproducible with versions:* 2021.3.40f1, 2022.3.38f1, 6000.0.11f1
*Tested on (OS):* Windows 10/11
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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note:
Postponing; will batch forward port in the future.
Resolution Note (fix version 2021.3.44f1):
This is a partial fix. Adding scrollbars to the Body field was not possible in this port because the TextField control does not support them in 2021.3. For long Body inputs, using the File input type is a workaround for a better editing experience.
The remainder of the bug concerning the Body field enlarging past its original bounds is fixed in this port.