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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment