Search Issue Tracker

Won't Fix

Votes

0

Found in

2022.2.0b3

2023.1.0a4

Issue ID

UUM-10409

Regression

No

NullReferenceException is often thrown when changing Prefab's Collider Layers fields' values in the Inspector

--

-

How to reproduce:
1. Open the user’s attached “editor-window-tests-master” project
2. Select the “Assets → TestObjects → Animation → TestAnimationObject” Prefab in the Project Browser
3. Select Layer type value in the fields under “Collider Layer Overrides” in the Inspector 10-15 times

Expected result: No error is thrown
Actual result: In 1 out of 5 cases, after selecting a Layer type, a field dropdown will become empty with “NullReferenceException: SerializedObject of SerializedProperty has been Disposed.” thrown in the Console log

Reproducible with: 2022.2.0b3, 2023.1.0a4
Couldn’t test with: 2020.3.37f1, 2021.3.7f1, 2022.1.12f1 (“Layer Overrides” section isn’t featured)

Reproduced on: macOS 12.3 (Intel)

  1. Resolution Note:

    Non-reproducible

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.