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).
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
- Select Preset "None" icon changes after switching tabs
- [Android] Crash when using xxHash3 and targeting the ARMv7 Architecture with IL2CPP Scripting Backend
- GameObject reference in a Script Component becomes missing when unpacking a variant of another Prefab variant
- Project Settings vertical separator position is not synchronized with the mouse position when dragging it horizontally
- Crash on PhysicsDebugDraw::SelectFiltering::Update when entering play mode with Physics Debug window docked and unfocused
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.