Search Issue Tracker
Fixed
Fixed in 2021.3.29f1, 2022.3.6f1, 2023.1.5f1, 2023.2.0b1, 2023.3.0a1
Votes
0
Found in
2021.3.28f1
2022.2.21f1
2023.1.0b17
2023.2.0a16
2023.3.0a1
Issue ID
UUM-36238
Regression
Yes
"Prefab mismatch: The instance object in the scene is referencing a corresponding source object in the Prefab of a different type." thrown when applying added GameObject to a Prefab
How to reproduce:
1. Open the attached project "LearningUnityV2.0.zip"
2. Right mouse click on the "Barrier" Prefab in the Hierarchy window
3. Click 3D Object>Cube
4. Right mouse click on the newly created cube in the Hierarchy window
5. Click Added GameObject>Apply to Prefab 'Barrier'
Expected results: No errors thrown in the Console window
Actual results: "Prefab mismatch: The instance object in the scene is referencing a corresponding source object in the Prefab of a different type." thrown in the Console window
Reproducible with: 2022.3.0f1, 2023.1.0a15, 2023.1.0b17, 2023.2.0a17
Not reproducible with: 2020.3.48f1, 2021.3.25f1, 2023.1.0a14
Reproducible on: Windows 10
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "NullReferenceException" error is thrown when swapping between built-in and URP depending on assets loaded out of asset bundles
- Objects receive a black outline in Ray Traced Screen Space Reflections
- NullReferenceException Occurs When Baking APV with GPU Streaming Enabled
- Scene renders incorrectly when using RenderGraphUtils.AddCopyPass
- [URP] Searchable context menu instantly closes when attempting to open it
Add comment