Search Issue Tracker
Active
Under Consideration for 6000.0.X, 6000.2.X, 6000.3.X, 6000.4.X
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)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Memory usage rises when switching scenes with GRD enabled and a loaded texture in URP
- [Quality Hackweek] Terrain Brush Size value is not serialized after deselecting the terrain when using the first instance of multiple Inspectors
- "NullReferenceException" is thrown when setting a long string in TMP with "Atlas Population Mode" set to "Dynamic" and "Multi Atlas Textures" enabled
- TextMeshPro text is misaligned when alignment is set via script
- A DX11 shader error is thrown when compiling shaders for platforms without DX11 support
Add comment