You will know when a prefab is broken when you see it's name and it's type rendered in red in the Scene Hierarchy Panel. It should look like this:
If thats the case then by following the next couple of steps you will be able to fix it no problem!
1. Enable "Advanced Mode"
-
Navigate to
Edit -> Application Settings -> Hazelnut
-
Enable "Advance Mode" if it wasn't on already.
2. Find the Prefab in the Asset Manager
-
Navigate to
View -> Asset Manager
-
Enable the "Allow Editing" option.
-
Search for your prefab by name. Careful name here means name on disk, i.e. Content Browser, the name in the Scene Hierarchy Panel may not necessarily be the same.
-
Copy the Prefab's Handle.
3. Modifying the root Prefab's ID.
-
Select the entity in the Scene Hierarchy Panel.
-
The topmost Component in the Entity Properties Panel, should be the prefab component.
-
Replace the Prefab ID with the Prefab's Handle that we copied in the last step.
-
Make sure to save the scene so you don't loose your changes.
-
That should fix your broken prefab reference!