Search Issue Tracker
Fixed in 5.5.0
Votes
1
Found in
5.4.1f1
Issue ID
833817
Regression
No
References are removed from prefab when rebuilding library > changing platform > instantiating and applying prefab
Reproduction steps:
1. Download the attached project.
2. Delete the Library folder.
3. Open the project.
4. Open "Assets/Resources/prefabs/views/Home" prefab with a text editor.
5. Look for "_text: {fileID:".
- It shows "_text: {fileID: 114000013435291000}".
5. Change the platform to iOS(or Android).
6. Open "Assets/Res/scenes/Root" scene.
7. Move "Home" prefab to "Canvas > ViewContainer" game object inside hierarchy.
8. Apply it in the inspector.
9. Open "Home" prefab with text editor again.
10. Look for "_text: {fileID:".
- It shows "_text: {fileID: 0}"
Reproduced with:
5.3.6p6
5.4.1p2
Note:
Editor crashes on 5.5.0b5 when changing platform and choosing anything in API update window(835381).
Comments (2)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
BAIZOR
May 06, 2019 10:12
Event not just references, String, Int32 fields too. And they always random fields.
Remove Library once and reopen project - it could be one field, other time it could be other ones.
BAIZOR
May 06, 2019 10:10
No, it's not fixed in Unity 2018.3.3-13, 2019.1.0, 2019.1.1
And referenced removed from ScriptableObject instances too.