Search Issue Tracker
Active
Under Consideration for 6000.6.X
Votes
0
Found in
6000.5.0a7
6000.6.0a1
Issue ID
UUM-134698
Regression
No
"InvalidOperationException" and "NullReferenceException" Errors are thrown when reopening Profiler Window with 2D module elements selected
Steps to reproduce:
- Create a new project using Universal 2D template
- In the Hierarchy, create a Sprite (e.g. 2D Object > Sprites > Triangle)
- Enter Play mode
- Open the Profiler window (Window > Analysis > Profiler)
- Scroll and select the 2D Profiler Module
- Select any frame and at the bottom select "Textures ( 1 texture, 1 sprites )"
- Close the Profiler window
- Reopen the Profiler window
- Observe the Console
Actual results: 3 "InvalidOperationException: Cannot modify VisualElement hierarchy during layout calculation" Errors and "NullReferenceException: Object reference not set to an instance of an object" Error are thrown
Expected results: No Errors
Reproducible with versions: 6000.5.0a7
Can’t test with versions: 6000.0.68f1, 6000.3.9f1, 6000.4.0b9 (2D Profiler module not available)
Tested on (OS): macOS 26.2
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
Add comment