Search Issue Tracker
Fixed
Fixed in 6000.1.0b2
Votes
0
Found in
2021.3.42f1
2022.3.41f1
6000.0.14f1
6000.1.0a7
7000.0.0a1
Issue ID
UUM-77761
Regression
No
"Could not load Prefab contents at path” error message is thrown when using PrefabUtility.LoadPrefabContents
How to reproduce:
1. Open the attached “BoatAttack.zip” project
2. Open the "Prefab Bug Test" Scene
3. Inspect the object "PrefabLoaderTest"
4. Enable "Do It" in the inspector
5. Observe the console
Expected result: No errors are shown
Actual result: “Could not load Prefab contents at path” error message is thrown
AND YET: Unity can load, edit, and save the prefb without errors. So is the prefab corrupted or not?
Reproducible in: 2021.3.42f1, 2022.3.41f1, 6000.0.14f1
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Note: The “Island Level” prefab has only one root GameObject, error shows that it has 3 root GameObjects.
Same is true for the MainMenuLevel prefab.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Memory leaks occur when Shader with more than 128 keywords is compiled
- Player built for Windows silently crashes when UI Prefab is instantiated and Render Feature "Render Objects" is active in PC_Renderer Asset
- Crash on CollectUsedSceneObjects when making any modifications and saving in a Scene with a specific GameObject Component enabled
- VFX Graph Properties Transform has a click animation when clicked on the “Transform” text but the drop down does not open
- "Cascade Shadow atlasing has failed" errors are spammed when two Directional Lights with the Shadow Map are enabled and there is a 3D GameObject in the scene
Add comment