Search Issue Tracker

Active

Fixed in 6000.0.18f1

Votes

0

Found in

6000.0.10f1

7000.0.0a1

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

  1. Resolution Note (fix version 6000.0.18f1):

    Fixed issue with multi-atlas texture created at runtime.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.