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
- Performance Markers Search window shows an empty entry in the list
- Enabling Deep Profiling in Performance Markers Search window breaks Inspector panel buttons when navigating through the marker items
- Dragging selector from selector row background shows preview but does not apply class in UI Builder
- An "InvalidOperationException" error is thrown when TryRemoveItem is used with rebuildTree set to false
- Build fails with IL2CPP error when building on Android platform in a specific project
Add comment