Search Issue Tracker
Fixed in 6000.0.18f1
Fixed in 6000.0.X, 7000.0.0a10, future release
Votes
0
Found in
6000.0.10f1
Issue ID
UUM-75593
Regression
Yes
NullReferenceException and additional errors are thrown when Domain Reload is disabled and Dynamic Font in UI Toolkit is used
Reproduction steps:
1. Open the attached “UITK-DynamicFontTest.zip” project
2. Open the “Test” scene
3. Enter the Play mode
4. Exit the Play mode
5. Enter the Play mode again
6. Observe the Console
Expected result: No errors are visible in the Console
Actual result: “NullReferenceException: Object reference not set to an instance of an object” and “InvalidOperationException: Begin can only be called when there is no target set. Did you forget to call End?” errors are thrown in the Console
Reproducible with: 6000.0.0b12, 6000.0.10f1
Not reproducible with: 2021.3.40f1, 2022.3.37f1, 6000.0.0b11
Reproducible on: macOS 14.5 (M2), Windows 11
Not reproducible on: no other environment tested
Note:
- The "InvalidOperationException: Begin can only be called when there is no target set. Did you forget to call End?" error gets spammed even after exiting the Play mode
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (fix version 6000.0):
Fixed issue with multi-atlas texture created at runtime.