Search Issue Tracker

Fixed in 2018.3.X

Fixed in 2019.1.X

Votes

51

Found in

2018.3.0b1

2018.3.0f2

2019.1.0a1

2019.2.0a1

Issue ID

1116476

Regression

Yes

Prefab's references are lost when modifying prefab

Scene Management

-

How to reproduce:
1. Open attached "PrefabReferenceLostRepro.zip" project
2. Go to Assets -> Scenes and open 'SampleScene'
3. Click on 'Spawner' and call 'Log' in the ContextMenu in the Inspector
4. Observe the Console
5. Go to Assets, open Enemy in Prefab Mode and edit it (e.g. change the position)
6. Repeat 3, 4 steps

Expected result: Console returns 'Enemy(Enemy)'
Actual result: Console returns 'null'

Reproducible: 2018.3.2f1, 2019.1.0a14, 2019.2.0a1
Not reproducible: 2017.3.0a1, 2017.4.18f1, 2018.3.0a11

Fixed in: 2018.3.6f1, 2019.1.0b4, 2019.2.0a6

Comments (49)

  1. RogueStargun

    Jan 18, 2024 07:33

    Currently experiencing this bug in 2022.3.4f1. It appears to have cropped up recently and does not occur consistently.
    Any time I edit a prefab, all references to that prefab go missing, as if the edited prefab is recreated with a new guid.
    I have no idea why this happens.

  2. Blazerker

    Jul 10, 2023 14:44

    Still an issue in 2022.2.x

  3. along1line

    Apr 30, 2022 18:11

    Still an issue in 2020.3.16f1

  4. weto4ka

    Dec 30, 2020 08:12

    Hey, I have the same problem in Unity 2020.1.14f1

  5. tomster616

    Dec 12, 2020 15:57

    I'm still having this issues too...

  6. zrocweb

    Nov 03, 2020 17:35

    Yes. Unity, please RE-OPEN this issue. Its still not resolved in all of the 2019 & 2020 versions and has routinely messed up my projects and prefabs to no avail.

  7. sc-mlb

    Oct 30, 2020 16:40

    This is a constant problem for us. We've needed to write a tool that reimports every prefab in the project periodically to keep from getting lots of NREs when running the game. This is not a reliable solution and we need to be confident that Unity handles prefabs correctly.

    We're seeing this behavior in 2019.3.13f1 and all the 2019.4 versions we've tried.

  8. William821

    Sep 21, 2020 19:03

    Nice post.

  9. Hosnkobf

    Apr 30, 2020 15:52

    Why is this marked as fixed? Who can I vote to reopen?

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.