Search Issue Tracker

Active

Under Consideration for 2021.3.X, 2022.3.X, 6000.0.X

Votes

0

Found in

2021.3.43f1

2022.3.44f1

6000.0.17f1

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

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.