Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2020.3.X, 2021.2.X
Votes
15
Found in
2020.2.7f1
2020.3
2021.1
2021.2
Issue ID
1319932
Regression
No
"Creating missing component" warnings are thrown continuously when selecting a Prefab
How to reproduce:
1. Open the attached project's "case_1319932-Project.zip" Scene labeled "SampleScene"
2. In the Project Window, select the "GameObject" Prefab
3. In the Inspector, under Component B, toggle the checkbox
4. Observe the Console Window
Expected result: No warnings are thrown
Actual result: "Creating missing B component for A in GameObject." warnings are thrown continuously
Reproducible with: 2020.3.1f1, 2021.1.0b12, 2021.2.0a9
Couldn't test with: 2018.4.33f1, 2019.4.22f1 (Converting GameObject into a Prefab doesn't add the missing required component)
Comments (15)
-
endasil_unity
Jun 06, 2021 16:32
I'm using 2020.3.11 and having this issue.
-
endasil_unity
Jun 06, 2021 16:31
I'm getting this issue too...
-
mariozhou
May 19, 2021 02:05
This also occurs in my project with Unity 2020.3.5f1
```
Creating missing GraphicRaycaster component for *** in ***.
UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()Creating missing GraphicRaycaster component for ViewCtrlRuleXXX in saishiGZ_saishi_ok.
UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()```
-
Hecking_Heck
Apr 15, 2021 10:59
I have the exact same error as SCHUBACCA :<
-
schuhbacca
Apr 01, 2021 19:14
Also having a similar issue in 2021.1.0f1.
I get these two messages and it recreates the components I keep deleting on my PlayerPrefab.
Creating missing CapsuleCollider component for PlayerController in Player_Prefab.
Creating missing Rigidbody component for PlayerController in Player_Prefab.I delete and things work fine. Then a while later when working on the prefab those warnings pop back up and it recreates those components.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0a11
Resolution Note (fix version 2021.2):
Fixed in 2021.2.9f1
Resolution Note (fix version 2020.3):
Fixed in: 2020.3.28f1