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
- 'NullReferenceException' error is thrown when the Tutorials window is closed and the "Welcome Dialog" is pressed
- Mouse Postion can become max value or infinity when using touch input with Legacy Input Module
- Crash on RaiseException when creating a multiplayer room while toggling UI
- Performance Markers “Add Column” dropdown has a lot of empty space when opened
- Console Warning -- KeyboardIconAtlas sprite Input Outline goes beyond the boundary of the Sprite rect.
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