Search Issue Tracker
Fixed
Fixed in 6000.0.60f1, 6000.2.8f1, 6000.3.0b7, 6000.4.0a2
Votes
0
Found in
6000.0.58f1
6000.2.7f1
6000.3.0b4
6000.4.0a1
Issue ID
UUM-120500
Regression
Yes
"NullReferenceException" is thrown when setting a long string in TMP with "Atlas Population Mode" set to "Dynamic" and "Multi Atlas Textures" enabled
Reproduction steps:
1. Open the attached “IN-116521.zip” project
2. Open the “SampleScene”
3. Enter Play mode
4. Observe the Console and the Game view
Expected result: No errors and the long text is visible in the Game view
Actual result: “NullReferenceException: Object reference not set to an instance of an object” is thrown and the long text is not visible in the Game view
Reproducible with: 6000.0.29f1, 6000.0.58f1, 6000.2.7f1, 6000.3.0b4, 6000.4.0a1
Not reproducible with: 6000.0.28f1
Reproducible on: macOS 15.6.1 (M2 Max), Windows 11
Not reproducible on: no other environments tested
Notes:
- The issue reproduces when the font asset’s “Atlas Population Mode” is set to “Dynamic” and “Multi Atlas Textures” is enabled
- If Multi Atlas Textures is disabled and applied, then enabled again and applied, the issue no longer occurs. However, if the Library folder is deleted and the project is reopened, the issue reappears. This suggests that there may be a problem with the import results
- It’s been confirmed that the issue also reproduces on iOS (on our side) and Android (on the customer’s side)
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Resolution Note (fix version 6000.4.0a2):
Fixed potential NRE when Multi Atlas Texture is used and text geometry exceeds 65535 vertices
Resolution Note (fix version 6000.3.0b7):
Fixed potential NRE when Multi Atlas Texture is used and text geometry exceeds 65535 vertices
Resolution Note (fix version 6000.2.8f1):
Fixed potential NRE when Multi Atlas Texture is used and text geometry exceeds 65535 vertices
Resolution Note (fix version 6000.0.60f1):
Fixed potential NRE when Multi Atlas Texture is used and text geometry exceeds 65535 vertices