Search Issue Tracker
Fixed
Fixed in 2022.3.51f1, 6000.0.25f1, 6000.1.0a2
Votes
0
Found in
2021.3.43f1
2022.3.44f1
6000.0.17f1
6000.1.0a1
Issue ID
UUM-78853
Regression
No
Errors “NullReferenceException:...“ and “Cannot modify Overlay.displayed during event of type EventType.Layout“ shown when entering the Play Mode with Self-Collision and Inter-Collision window focused
How to reproduce:
1. Open the “ClothIssueRepro“ project
2. Open the “SampleScene“
3. Open the “Plane2“ GameObject in the Inspector
4. Select the Self-Collision and Inter-Collision button in the Cloth inspector
5. Enter the Play Mode
6. Observe the Console window
Expected result: No errors shown
Actual result: Errors “NullReferenceException: Object reference not set to an instance of an object“ and “Cannot modify Overlay.displayed during event of type EventType.Layout“ shown
Reproducible with: 2021.3.43f1, 2022.3.44f1, 6000.0.17f1
Reproducible on: macOS 14.5 (Intel), Windows 10 Pro (22H2)
Not reproducible on: No other environments tested
Notes:
- Selecting some vertices, then entering the Play Mode does not fix the issue
- Only reproduces with selected Self-Collision and the Inter-Collision button in the Cloth inspector (nor reproducible with Edit cloth constraints)
- More information in the comments
- Reproducible on a fresh project
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Uninitialized variable warning appears in the Inspector of a custom shader when the variable is initialized
- "Failed creating toolbar element from ID..." error is thrown when resetting the Scene view Overlay layout while an Asset Transformer Toolbox overlay is active
- Entity ID for Font Assets is serialized twice which throws an error when using Debug Inspector
- Play Mode can be entered when disabling Adaptive Performance and pressing either the Play Mode button or the keyboard shortcut to enter Play Mode before recompilation leading to errors and warnings thrown
- Parent ListView element also becomes selected when inner ListView element is selected
Add comment