Search Issue Tracker

Fixed

Fixed in 2022.3.53f1, 6000.0.27f1, 6000.1.0a4

Votes

2

Found in

2022.3.51f1

6000.0.24f1

6000.1.0a1

Issue ID

UUM-86554

Regression

No

“Missing Prefab” error appears in the Console window when re-importing the Sub Scene containing a Prefab during repeated entry into Play mode

--

-

How to reproduce:
1. Open the attached "IN-86234" project
2. Open the "SampleScene"
3. Enter Play mode
4. Locate “New Sub Scene” in the Hierarchy and close it using the “Sub Scene” Script inside the Inspector window
5. Re-import and re-open the Sub Scene from the Script inside the Inspector window
6. Exit Play mode
7. Observe the console window
8. Repeat steps 3 to 6 if necessary

Expected result: No errors appear in the console window
Actual result: Console displays a “Missing Prefab” and an “ArgumentException” error

Reproducible in: 1.2.4 (2022.3.51f1, 6000.0.24f1, 6000.1.0a1), 1.3.5 (2022.3.51f1, 6000.0.24f1, 6000.1.0a1)
Could not test with: 0.51.1-preview.21 (2021.3.45f1) ECS full release version unsupported in 2021.3 stream, which leads to project errors

Reproducible on: Windows 11
Not reproducible on: No other environments tested

Notes:

* Following these exact steps, the Console window only displays an ArgumentException error in Editor versions 2022.3.0f1 to 2022.3.39f1, 6000.0.24f1, 6000.1.0a1 using ECS 1.3.5 and 1.2.4
* In versions from 2022.3.40f1 to 2022.3.51f1, the Missing Prefab error appears along with the ArgumentException errors. The Missing Prefab error only appears once, where as the ArgumentException error often appears multiple times between each instance of entering and exiting Play mode.
* The Prefab error is observable in 2022.3.51f1 (7b55f4801a34), but not in 2022.3.51f1 (9f9d16c45e54), where only the ArgumentException error appears.
* In many cases the ArgumentException error appears first, and re-entering Play mode to repeat steps 4 to 6 then results in the Missing Prefab error.

  1. Resolution Note (fix version 2022.3.53f1):

    This will be fixed in an upcoming editor release.

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.